honeybee-radiance-postprocess 0.4.485__tar.gz → 0.4.486__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.
Files changed (60) hide show
  1. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/PKG-INFO +1 -1
  2. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/ies/lm.py +8 -1
  3. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/results/results.py +7 -1
  4. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/PKG-INFO +1 -1
  5. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/CODE_OF_CONDUCT.md +0 -0
  6. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/CONTRIBUTING.md +0 -0
  7. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/LICENSE +0 -0
  8. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/MANIFEST.in +0 -0
  9. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/README.md +0 -0
  10. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/dev-requirements.txt +0 -0
  11. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/__init__.py +0 -0
  12. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/__main__.py +0 -0
  13. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/annual.py +0 -0
  14. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/annualdaylight.py +0 -0
  15. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/annualirradiance.py +0 -0
  16. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/breeam/__init__.py +0 -0
  17. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/breeam/breeam.py +0 -0
  18. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/__init__.py +0 -0
  19. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/abnt.py +0 -0
  20. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/breeam.py +0 -0
  21. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/datacollection.py +0 -0
  22. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/grid.py +0 -0
  23. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/leed.py +0 -0
  24. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/merge.py +0 -0
  25. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/mtxop.py +0 -0
  26. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/postprocess.py +0 -0
  27. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/schedule.py +0 -0
  28. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/translate.py +0 -0
  29. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/two_phase.py +0 -0
  30. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/util.py +0 -0
  31. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/viewfactor.py +0 -0
  32. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/cli/well.py +0 -0
  33. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/data_type.py +0 -0
  34. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/dynamic.py +0 -0
  35. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/electriclight.py +0 -0
  36. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/en17037.py +0 -0
  37. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/helper.py +0 -0
  38. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/ies/__init__.py +0 -0
  39. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/ies/lm_schedule.py +0 -0
  40. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/leed/__init__.py +0 -0
  41. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/leed/leed.py +0 -0
  42. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/leed/leed_schedule.py +0 -0
  43. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/metrics.py +0 -0
  44. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/reader.py +0 -0
  45. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/results/__init__.py +0 -0
  46. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/results/annual_daylight.py +0 -0
  47. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/results/annual_irradiance.py +0 -0
  48. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/type_hints.py +0 -0
  49. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/util.py +0 -0
  50. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/vis_metadata.py +0 -0
  51. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/well/__init__.py +0 -0
  52. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess/well/well.py +0 -0
  53. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/SOURCES.txt +0 -0
  54. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/dependency_links.txt +0 -0
  55. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/entry_points.txt +0 -0
  56. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/requires.txt +0 -0
  57. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/honeybee_radiance_postprocess.egg-info/top_level.txt +0 -0
  58. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/requirements.txt +0 -0
  59. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/setup.cfg +0 -0
  60. {honeybee_radiance_postprocess-0.4.485 → honeybee_radiance_postprocess-0.4.486}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.485
3
+ Version: 0.4.486
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
@@ -109,6 +109,8 @@ def dynamic_schedule_direct_illuminance(
109
109
  shd_trans_dict = {}
110
110
 
111
111
  for grid_info in grids_info:
112
+ grid_states_schedule = defaultdict(list)
113
+
112
114
  grid_count = grid_info['count']
113
115
  light_paths = []
114
116
  for lp in grid_info['light_path']:
@@ -178,11 +180,16 @@ def dynamic_schedule_direct_illuminance(
178
180
  max_indices = array_combinations_filter.argmax(axis=0)
179
181
  # select the combination for each hour
180
182
  combinations = [combinations[idx] for idx in max_indices]
183
+
181
184
  # merge the combinations of dicts
182
185
  for combination in combinations:
183
186
  for light_path, value in combination.items():
184
187
  if light_path != '__static_apertures__':
185
- states_schedule[light_path].append(value)
188
+ grid_states_schedule[light_path].append(value)
189
+
190
+ for key, value in grid_states_schedule.items():
191
+ if key not in states_schedule:
192
+ states_schedule[key] = value
186
193
 
187
194
  occupancy_hoys = schedule_to_hoys(schedule, results.sun_up_hours)
188
195
 
@@ -1357,7 +1357,13 @@ class Results(_ResultsFolder):
1357
1357
  break
1358
1358
  else:
1359
1359
  raise Exception(f'Grid info with full_id "{grid_info}" not found.')
1360
- light_paths = [elem for lp in grid_info['light_path'] for elem in lp]
1360
+ light_paths = []
1361
+ for lp in grid_info['light_path']:
1362
+ for _lp in lp:
1363
+ if _lp == '__static_apertures__' and len(lp) > 1:
1364
+ pass
1365
+ else:
1366
+ light_paths.append(_lp)
1361
1367
 
1362
1368
  return light_paths
1363
1369
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.485
3
+ Version: 0.4.486
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