honeybee-radiance-postprocess 0.4.486__py2.py3-none-any.whl → 0.4.488__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.
@@ -128,13 +128,13 @@ def dynamic_schedule_direct_illuminance(
128
128
 
129
129
  if len(light_paths) > 6:
130
130
  if use_states:
131
- states_schedule, fail_to_comply = states_schedule_descending(
131
+ grid_states_schedule, fail_to_comply = states_schedule_descending(
132
132
  results, grid_info, light_paths, occ_mask,
133
- states_schedule, fail_to_comply)
133
+ grid_states_schedule, fail_to_comply)
134
134
  else:
135
- states_schedule, fail_to_comply = shd_trans_schedule_descending(
135
+ grid_states_schedule, fail_to_comply = shd_trans_schedule_descending(
136
136
  results, grid_info, light_paths, shade_transmittances, occ_mask,
137
- states_schedule, fail_to_comply)
137
+ grid_states_schedule, fail_to_comply)
138
138
  else:
139
139
  if use_states:
140
140
  combinations = results._get_state_combinations(grid_info)
@@ -339,6 +339,7 @@ def leed_states_schedule(
339
339
  shd_trans_dict = {}
340
340
 
341
341
  for grid_info in grids_info:
342
+ grid_states_schedule = defaultdict(list)
342
343
  grid_count = grid_info['count']
343
344
  light_paths = []
344
345
  for lp in grid_info['light_path']:
@@ -356,13 +357,13 @@ def leed_states_schedule(
356
357
 
357
358
  if len(light_paths) > 6:
358
359
  if use_states:
359
- states_schedule, fail_to_comply = states_schedule_descending(
360
+ grid_states_schedule, fail_to_comply = states_schedule_descending(
360
361
  results, grid_info, light_paths, occ_mask,
361
- states_schedule, fail_to_comply)
362
+ grid_states_schedule, fail_to_comply)
362
363
  else:
363
- states_schedule, fail_to_comply = shd_trans_schedule_descending(
364
+ grid_states_schedule, fail_to_comply = shd_trans_schedule_descending(
364
365
  results, grid_info, light_paths, shade_transmittances, occ_mask,
365
- states_schedule, fail_to_comply)
366
+ grid_states_schedule, fail_to_comply)
366
367
  else:
367
368
  if use_states:
368
369
  combinations = results._get_state_combinations(grid_info)
@@ -412,7 +413,11 @@ def leed_states_schedule(
412
413
  for combination in combinations:
413
414
  for light_path, value in combination.items():
414
415
  if light_path != '__static_apertures__':
415
- states_schedule[light_path].append(value)
416
+ grid_states_schedule[light_path].append(value)
417
+
418
+ for key, value in grid_states_schedule.items():
419
+ if key not in states_schedule:
420
+ states_schedule[key] = value
416
421
 
417
422
  occupancy_hoys = schedule_to_hoys(schedule, results.sun_up_hours)
418
423
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.486
3
+ Version: 0.4.488
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.138
16
+ Requires-Dist: honeybee-radiance==1.66.139
17
17
  Requires-Dist: numpy<2.0.0
18
18
 
19
19
  [![Build Status](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions/workflows/ci.yaml/badge.svg)](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
@@ -31,10 +31,10 @@ honeybee_radiance_postprocess/cli/util.py,sha256=Be9cGmYhcV2W37ma6SgQPCWCpWLLLlr
31
31
  honeybee_radiance_postprocess/cli/viewfactor.py,sha256=kU36YRzLya5PReYREjTfw3zOcWKHYZjVlVclyuR7Cqk,5245
32
32
  honeybee_radiance_postprocess/cli/well.py,sha256=A4i5scnWWOOwZFfC9vg8bUV2lOOJfbOb-HP8zCZy_ic,1888
33
33
  honeybee_radiance_postprocess/ies/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
34
- honeybee_radiance_postprocess/ies/lm.py,sha256=20o_W2b9PPAQBoENUSO1qyOAxE5sLsrshtxdprEmRE8,9350
34
+ honeybee_radiance_postprocess/ies/lm.py,sha256=6f1LDiAWGEX7IvU8OavGC6POlXpgpYp_QFBCHhowo0s,9370
35
35
  honeybee_radiance_postprocess/ies/lm_schedule.py,sha256=ci58GXq2PntJ4yNUdI_x4UCRmq6KrLes-u7GeboX058,9954
36
36
  honeybee_radiance_postprocess/leed/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
37
- honeybee_radiance_postprocess/leed/leed.py,sha256=od7ooRncPypk1eeCvVKx4IPaCMCDJEtE1FlcbsQJlcs,34021
37
+ honeybee_radiance_postprocess/leed/leed.py,sha256=Md7ASfnNq6enxJpaBzLmglTv7Zg9q7pPo8r9RHKRoCU,34240
38
38
  honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=s3by1sv1DtOlCawvaMvnIDvEo5D8ATEJvWQ_rEeJIHg,9956
39
39
  honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
40
40
  honeybee_radiance_postprocess/results/annual_daylight.py,sha256=11d4J1iIuITKuoWyWa-2_2WdrHYBULC0YP-mWBWi4JQ,34724
@@ -42,9 +42,9 @@ honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=5zwrr4MNeHUebb
42
42
  honeybee_radiance_postprocess/results/results.py,sha256=8wpxu6HBnrJXRoTkI7ucNuzhVmNKw1Z2zPP6wzk7ULQ,55236
43
43
  honeybee_radiance_postprocess/well/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
44
44
  honeybee_radiance_postprocess/well/well.py,sha256=94NHsv_iYAyjWPZ40RzVqORl4D3IjVAUcKTiq3bEt_M,21206
45
- honeybee_radiance_postprocess-0.4.486.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
- honeybee_radiance_postprocess-0.4.486.dist-info/METADATA,sha256=SQ4bD8GuGAXNufIMUKvTrcEJBfd3UNunO2Nnqq9kIv0,2238
47
- honeybee_radiance_postprocess-0.4.486.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
- honeybee_radiance_postprocess-0.4.486.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
- honeybee_radiance_postprocess-0.4.486.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
- honeybee_radiance_postprocess-0.4.486.dist-info/RECORD,,
45
+ honeybee_radiance_postprocess-0.4.488.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
+ honeybee_radiance_postprocess-0.4.488.dist-info/METADATA,sha256=QkmfRtI138XCDr7vh-OizX95GcvPdd-F5H8WlHsCv94,2238
47
+ honeybee_radiance_postprocess-0.4.488.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
+ honeybee_radiance_postprocess-0.4.488.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
+ honeybee_radiance_postprocess-0.4.488.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
+ honeybee_radiance_postprocess-0.4.488.dist-info/RECORD,,