honeybee-radiance-postprocess 0.4.583__tar.gz → 0.4.585__tar.gz
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-0.4.583 → honeybee_radiance_postprocess-0.4.585}/PKG-INFO +2 -2
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/postprocess.py +15 -3
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/util.py +3 -7
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess.egg-info/PKG-INFO +2 -2
- honeybee_radiance_postprocess-0.4.585/honeybee_radiance_postprocess.egg-info/requires.txt +2 -0
- honeybee_radiance_postprocess-0.4.585/requirements.txt +2 -0
- honeybee_radiance_postprocess-0.4.583/honeybee_radiance_postprocess.egg-info/requires.txt +0 -2
- honeybee_radiance_postprocess-0.4.583/requirements.txt +0 -2
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/CODE_OF_CONDUCT.md +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/CONTRIBUTING.md +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/LICENSE +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/MANIFEST.in +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/README.md +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/dev-requirements.txt +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/__main__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/annual.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/annualdaylight.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/annualirradiance.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/breeam/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/breeam/breeam.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/abnt.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/breeam.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/datacollection.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/grid.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/leed.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/merge.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/mtxop.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/translate.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/two_phase.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/util.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/viewfactor.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/cli/well.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/data_type.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/dynamic.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/electriclight.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/en17037.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/helper.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/ies/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/ies/lm.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/ies/lm_schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/leed/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/leed/leed.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/leed/leed_schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/metrics.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/reader.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/results/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/results/annual_daylight.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/results/annual_irradiance.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/results/results.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/type_hints.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/vis_metadata.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/well/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess/well/well.py +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess.egg-info/SOURCES.txt +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess.egg-info/dependency_links.txt +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess.egg-info/entry_points.txt +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/honeybee_radiance_postprocess.egg-info/top_level.txt +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/setup.cfg +0 -0
- {honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: honeybee-radiance-postprocess
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.585
|
|
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
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: honeybee-radiance==1.66.
|
|
19
|
+
Requires-Dist: honeybee-radiance==1.66.216
|
|
20
20
|
Requires-Dist: numpy<2.0.0
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
|
@@ -14,8 +14,7 @@ except ImportError:
|
|
|
14
14
|
|
|
15
15
|
from ladybug.location import Location
|
|
16
16
|
from ladybug.wea import Wea
|
|
17
|
-
from honeybee_radiance_postprocess.results
|
|
18
|
-
from honeybee_radiance_postprocess.results.annual_irradiance import AnnualIrradiance
|
|
17
|
+
from honeybee_radiance_postprocess.results import AnnualDaylight, AnnualIrradiance
|
|
19
18
|
from honeybee_radiance_postprocess.metrics import da_array2d, cda_array2d, \
|
|
20
19
|
udi_array2d, udi_lower_array2d, udi_upper_array2d
|
|
21
20
|
from honeybee_radiance_postprocess.reader import binary_to_array
|
|
@@ -564,7 +563,20 @@ def annual_statistics(
|
|
|
564
563
|
|
|
565
564
|
axis = 1 if sensor is True else 0
|
|
566
565
|
|
|
567
|
-
|
|
566
|
+
study_info_file = Path(folder).joinpath('study_info.json')
|
|
567
|
+
if study_info_file.exists():
|
|
568
|
+
with open(study_info_file) as file:
|
|
569
|
+
study_info = json.load(file)
|
|
570
|
+
study_type = study_info.get('study_type', 'annual-daylight')
|
|
571
|
+
else:
|
|
572
|
+
study_type = 'annual-daylight'
|
|
573
|
+
|
|
574
|
+
if study_type == 'annual-daylight':
|
|
575
|
+
results = AnnualDaylight(folder)
|
|
576
|
+
elif study_type == 'annual-irradiance':
|
|
577
|
+
results = AnnualIrradiance(folder)
|
|
578
|
+
else:
|
|
579
|
+
raise ValueError(f'Unknown study type: {study_type}.')
|
|
568
580
|
results.annual_statistics_to_folder(
|
|
569
581
|
sub_folder, hoys=hoys, states=states, grids_filter=grids_filter,
|
|
570
582
|
res_type=res_type, axis=axis)
|
|
@@ -86,14 +86,10 @@ def filter_array2d(array: np.ndarray, mask: np.ndarray) -> np.ndarray:
|
|
|
86
86
|
Returns:
|
|
87
87
|
A filtered NumPy array.
|
|
88
88
|
"""
|
|
89
|
-
if
|
|
90
|
-
array_filter = np.apply_along_axis(
|
|
91
|
-
filter_array, 1, array, mask=mask)
|
|
92
|
-
else:
|
|
89
|
+
if mask is not None:
|
|
93
90
|
mask = np.asarray(mask).astype(bool)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return array_filter
|
|
91
|
+
array = array[:, mask]
|
|
92
|
+
return array
|
|
97
93
|
|
|
98
94
|
|
|
99
95
|
def filter_array(array: np.ndarray, mask: np.ndarray) -> np.ndarray:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: honeybee-radiance-postprocess
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.585
|
|
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
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: honeybee-radiance==1.66.
|
|
19
|
+
Requires-Dist: honeybee-radiance==1.66.216
|
|
20
20
|
Requires-Dist: numpy<2.0.0
|
|
21
21
|
Dynamic: author
|
|
22
22
|
Dynamic: author-email
|
{honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/CODE_OF_CONDUCT.md
RENAMED
|
File without changes
|
{honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/CONTRIBUTING.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{honeybee_radiance_postprocess-0.4.583 → honeybee_radiance_postprocess-0.4.585}/dev-requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|