honeybee-radiance-postprocess 0.4.481__py2.py3-none-any.whl → 0.4.483__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.
@@ -348,21 +348,22 @@ def breeam_daylight_assessment_4b(
348
348
  except AttributeError as e:
349
349
  raise ImportError('honeybee_energy library must be installed to use '
350
350
  'breeam_daylight_assessment method. {}'.format(e))
351
- if program_type_id not in program_type_metrics:
352
- program_type_id = 'BREEAM::Office_buildings::Occupied_spaces'
353
- grid_program_types[s_grid.identifier] = program_type_id
351
+ if program_type_id in program_type_metrics:
352
+ grid_program_types[s_grid.identifier] = program_type_id
354
353
 
355
354
  if not grid_areas:
356
355
  grid_areas = {grid_info['full_id']: None for grid_info in grids_info}
357
356
 
358
357
  type_summary = {}
359
358
  for grid_info in grids_info:
360
- program_type = grid_program_types[grid_info['full_id']]
359
+ program_type = grid_program_types.get(grid_info['full_id'], None)
360
+ if program_type is None:
361
+ continue
361
362
  if program_type not in type_summary:
362
363
  type_summary[program_type] = {}
363
364
  type_summary[program_type][grid_info['full_id']] = []
364
365
 
365
- array = results._array_from_states(grid_info)
366
+ array = results._array_from_states(grid_info, zero_array=True)
366
367
  # calculate average along axis 0 (average for each hour)
367
368
  avg_ill = array.mean(axis=0)
368
369
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.481
3
+ Version: 0.4.483
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.136
16
+ Requires-Dist: honeybee-radiance==1.66.137
17
17
  Requires-Dist: numpy>=1.21.6
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)
@@ -14,7 +14,7 @@ honeybee_radiance_postprocess/type_hints.py,sha256=4R0kZgacQrqzoh8Tq7f8MVzUDzynV
14
14
  honeybee_radiance_postprocess/util.py,sha256=uxqop4TsUMp8l8iLQf784NJINprHCgj00GZHvTth1C0,5603
15
15
  honeybee_radiance_postprocess/vis_metadata.py,sha256=7ywIgdiuNKcctxifhpy7-Q2oaSX2ngQBeA0Kh7q1Gg0,1780
16
16
  honeybee_radiance_postprocess/breeam/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
17
- honeybee_radiance_postprocess/breeam/breeam.py,sha256=GKLnQl00ysGN0XcbnsyzpwW5HUDbR6YEISvMTxF_qeI,17111
17
+ honeybee_radiance_postprocess/breeam/breeam.py,sha256=CqHfyeA8m-ZSO22DQcKu2TK9lEeyBP7hX639rDYUW4g,17118
18
18
  honeybee_radiance_postprocess/cli/__init__.py,sha256=_mYHnIOpH0qJ4QK56SB3qUT2Duuts2GR2U_0t_uE-2s,958
19
19
  honeybee_radiance_postprocess/cli/abnt.py,sha256=RmEjhxdEK6Uks3S10rQs6n8cup9qv036qRwh_wj1taA,15705
20
20
  honeybee_radiance_postprocess/cli/breeam.py,sha256=kBe36uCLcbk-y-hmZwKXquG-wVeFJbU9bEGv2x3bgm4,1442
@@ -42,9 +42,9 @@ honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=5zwrr4MNeHUebb
42
42
  honeybee_radiance_postprocess/results/results.py,sha256=ABb_S8kDPruhGkDsfREXMg6K0p8FRhAZ3QIRUZCQPAI,54888
43
43
  honeybee_radiance_postprocess/well/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
44
44
  honeybee_radiance_postprocess/well/well.py,sha256=Troym2sdGMYyzW2MGuflCFr737eUWrDP6Pc-zju7LiA,21071
45
- honeybee_radiance_postprocess-0.4.481.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
- honeybee_radiance_postprocess-0.4.481.dist-info/METADATA,sha256=m7BD3s0J-LHVOCY-GDU7xJlvSDoKcBiz2QHOlzPTVX8,2240
47
- honeybee_radiance_postprocess-0.4.481.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
- honeybee_radiance_postprocess-0.4.481.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
- honeybee_radiance_postprocess-0.4.481.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
- honeybee_radiance_postprocess-0.4.481.dist-info/RECORD,,
45
+ honeybee_radiance_postprocess-0.4.483.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
+ honeybee_radiance_postprocess-0.4.483.dist-info/METADATA,sha256=WqVxtIDJDw1n0Qbpr33kFjUtPnBFj1zGr9qda0shr0g,2240
47
+ honeybee_radiance_postprocess-0.4.483.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
+ honeybee_radiance_postprocess-0.4.483.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
+ honeybee_radiance_postprocess-0.4.483.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
+ honeybee_radiance_postprocess-0.4.483.dist-info/RECORD,,