honeybee-radiance-postprocess 0.4.547__py2.py3-none-any.whl → 0.4.548__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- honeybee_radiance_postprocess/leed/leed.py +2 -2
- honeybee_radiance_postprocess/results/results.py +1 -10
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/METADATA +1 -1
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/RECORD +8 -8
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/LICENSE +0 -0
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/WHEEL +0 -0
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/entry_points.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547.dist-info → honeybee_radiance_postprocess-0.4.548.dist-info}/top_level.txt +0 -0
@@ -426,9 +426,9 @@ def leed_states_schedule(
|
|
426
426
|
states_schedule[key] = value
|
427
427
|
else:
|
428
428
|
if use_states:
|
429
|
-
merged_array = np.logical_or(states_schedule[key], value).astype(int)
|
429
|
+
merged_array = np.logical_or(np.array(states_schedule[key]), np.array(value)).astype(int)
|
430
430
|
else:
|
431
|
-
merged_array = np.minimum(states_schedule[key], value)
|
431
|
+
merged_array = np.minimum(np.array(states_schedule[key]), np.array(value))
|
432
432
|
states_schedule[key] = merged_array
|
433
433
|
|
434
434
|
occupancy_hoys = schedule_to_hoys(schedule, results.sun_up_hours)
|
@@ -85,16 +85,7 @@ class _ResultsFolder(object):
|
|
85
85
|
assert isinstance(grid_info, dict), \
|
86
86
|
'Object in grids information must be a dictionary. ' \
|
87
87
|
f'Got object of type {type(grid_info)}.'
|
88
|
-
if 'light_path'
|
89
|
-
_grid_info = []
|
90
|
-
for light_path in grid_info['light_path']:
|
91
|
-
if Path(self.folder, light_path[0]).exists():
|
92
|
-
_grid_info.append((light_path))
|
93
|
-
grid_info['light_path'] = _grid_info
|
94
|
-
if not grid_info['light_path']:
|
95
|
-
# if light path is empty
|
96
|
-
grid_info['light_path'] = [['__static_apertures__']]
|
97
|
-
else:
|
88
|
+
if not grid_info.get('light_path', None):
|
98
89
|
# if light path key is nonexistent
|
99
90
|
grid_info['light_path'] = [['__static_apertures__']]
|
100
91
|
self._grids_info = grids_info
|
@@ -34,17 +34,17 @@ honeybee_radiance_postprocess/ies/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBu
|
|
34
34
|
honeybee_radiance_postprocess/ies/lm.py,sha256=6oT4XzWwr6njKRBjY0xL9TzBqQUAeQLwzen57BHOp4E,9746
|
35
35
|
honeybee_radiance_postprocess/ies/lm_schedule.py,sha256=nZlORbRQvPiA8VeRfh7ML8cMAYUxmHOgsNCxAHuOr18,10042
|
36
36
|
honeybee_radiance_postprocess/leed/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
|
37
|
-
honeybee_radiance_postprocess/leed/leed.py,sha256=
|
37
|
+
honeybee_radiance_postprocess/leed/leed.py,sha256=yGaUP_wR-BjEQgPmKUZCOuSVvITkiiIiCbEu2pYlSJw,35907
|
38
38
|
honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=8NUISE6RbENK1IgMA5cC2-UorrvwwQi1rKPPZr0KNZE,10279
|
39
39
|
honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
|
40
40
|
honeybee_radiance_postprocess/results/annual_daylight.py,sha256=NsAhcM3y-ereTnI3yWX_3C7IXxRH-uulDulndu2aYV4,34629
|
41
41
|
honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=nA1VubesNDtRxgXpHSZxFMV67XxUntIHIu5H9qtDBSk,8483
|
42
|
-
honeybee_radiance_postprocess/results/results.py,sha256
|
42
|
+
honeybee_radiance_postprocess/results/results.py,sha256=vzvM_W8hV0fMzprVjBaS8p-KataYHBt1oZDfKqRY5hY,56608
|
43
43
|
honeybee_radiance_postprocess/well/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
|
44
44
|
honeybee_radiance_postprocess/well/well.py,sha256=KO0BOs4-P_PnsGFfasoz1xgaNac4zqOQ9JqTjmMapuU,22598
|
45
|
-
honeybee_radiance_postprocess-0.4.
|
46
|
-
honeybee_radiance_postprocess-0.4.
|
47
|
-
honeybee_radiance_postprocess-0.4.
|
48
|
-
honeybee_radiance_postprocess-0.4.
|
49
|
-
honeybee_radiance_postprocess-0.4.
|
50
|
-
honeybee_radiance_postprocess-0.4.
|
45
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
46
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/METADATA,sha256=Kv6RPyh_HQTbflN1GKdAEoR5OkZluRxyVIVzFD9Q9F8,2238
|
47
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
48
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
|
49
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
|
50
|
+
honeybee_radiance_postprocess-0.4.548.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|