honeybee-radiance-postprocess 0.4.539__py2.py3-none-any.whl → 0.4.541__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/results/results.py +18 -3
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/METADATA +2 -2
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/RECORD +7 -7
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/LICENSE +0 -0
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/WHEEL +0 -0
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/entry_points.txt +0 -0
- {honeybee_radiance_postprocess-0.4.539.dist-info → honeybee_radiance_postprocess-0.4.541.dist-info}/top_level.txt +0 -0
@@ -1073,11 +1073,26 @@ class Results(_ResultsFolder):
|
|
1073
1073
|
|
1074
1074
|
return array
|
1075
1075
|
|
1076
|
-
def _clear_cached_arrays(self):
|
1076
|
+
def _clear_cached_arrays(self, res_type: str = None):
|
1077
1077
|
"""Clear the cached arrays.
|
1078
1078
|
|
1079
|
-
This method will simply set the arrays property to an empty dictionary
|
1080
|
-
|
1079
|
+
This method will simply set the arrays property to an empty dictionary,
|
1080
|
+
unless the res_type is selected in which case only 'total' or 'direct'
|
1081
|
+
arrays will be deleted.
|
1082
|
+
|
1083
|
+
Args:
|
1084
|
+
res_type: Which type of results to clear. This can be either
|
1085
|
+
'total' or 'direct'.
|
1086
|
+
"""
|
1087
|
+
if res_type is not None:
|
1088
|
+
assert res_type in ('total', 'direct')
|
1089
|
+
arrays = self.arrays
|
1090
|
+
for grid_id in arrays:
|
1091
|
+
for light_path in arrays[grid_id]:
|
1092
|
+
for state in arrays[grid_id][light_path]:
|
1093
|
+
del arrays[grid_id][light_path][state][res_type]
|
1094
|
+
else:
|
1095
|
+
self.arrays.clear()
|
1081
1096
|
|
1082
1097
|
def _state_identifier(
|
1083
1098
|
self, grid_id: str, light_path: str, state: int = 0) -> Union[str, None]:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: honeybee-radiance-postprocess
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.541
|
4
4
|
Summary: Postprocessing of Radiance results and matrices
|
5
5
|
Home-page: https://github.com/ladybug-tools/honeybee-radiance-postprocess
|
6
6
|
Author: Ladybug Tools
|
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
14
14
|
Description-Content-Type: text/markdown
|
15
15
|
License-File: LICENSE
|
16
|
-
Requires-Dist: honeybee-radiance==1.66.
|
16
|
+
Requires-Dist: honeybee-radiance==1.66.180
|
17
17
|
Requires-Dist: numpy<2.0.0
|
18
18
|
|
19
19
|
[](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
|
@@ -39,12 +39,12 @@ honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=s3by1sv1DtOlCawvaMvnI
|
|
39
39
|
honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
|
40
40
|
honeybee_radiance_postprocess/results/annual_daylight.py,sha256=2-udjr0pD5HFP_ro08mnFWYik_YsbQEM46FURmhOUOs,34821
|
41
41
|
honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=nDkz8VFiiC8Vbw-ZRoaKSfW1WZ9EdE125iUWcAxjhJk,8395
|
42
|
-
honeybee_radiance_postprocess/results/results.py,sha256=
|
42
|
+
honeybee_radiance_postprocess/results/results.py,sha256=Ibh_UugX1Sn4H20eHcuI72dbXGrBTGE6iPuC3CgAIOQ,56470
|
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.541.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
46
|
+
honeybee_radiance_postprocess-0.4.541.dist-info/METADATA,sha256=1e_whFwmCXXz8iFrTa_CrHndMI_qG37qoQ6TJde8nXk,2238
|
47
|
+
honeybee_radiance_postprocess-0.4.541.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
48
|
+
honeybee_radiance_postprocess-0.4.541.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
|
49
|
+
honeybee_radiance_postprocess-0.4.541.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
|
50
|
+
honeybee_radiance_postprocess-0.4.541.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|