Skip to content

Commit

Permalink
fix(sky): Add option for epw input
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Nov 28, 2023
1 parent 65403b6 commit 8cbb41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pollination/honeybee_radiance/sky.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ class CreateSkyMatrix(Function):
)

wea = Inputs.file(
description='Path to a wea file.', extensions=['wea'], path='sky.wea'
description='Path to a wea file.', extensions=['wea', 'epw'], path='sky.epw'
)

@command
def generate_sky_matrix(self):
return 'honeybee-radiance sky mtx sky.wea --name sky --north {{self.north}} ' \
return 'honeybee-radiance sky mtx sky.epw --name sky --north {{self.north}} ' \
'--sky-type {{self.sky_type}} --{{self.cumulative}} ' \
'--{{self.sun_up_hours}} --{{self.output_type}} ' \
'--output-format {{self.output_format}} --sky-density {{self.sky_density}}'
Expand Down

0 comments on commit 8cbb41a

Please sign in to comment.