Skip to content

Commit

Permalink
fix(sun): 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 f29fb1b commit 65403b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pollination/honeybee_radiance/sun.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CreateSunMtx(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'
)

output_type = Inputs.str(
Expand All @@ -52,7 +52,7 @@ class CreateSunMtx(Function):

@command
def generate_sun_mtx(self):
return 'honeybee-radiance sunpath radiance sky.wea --name sunpath '\
return 'honeybee-radiance sunpath radiance sky.epw --name sunpath '\
'--{{self.output_type}} --north {{self.north}}'

sunpath = Outputs.file(description='Output sunpath matrix.', path='sunpath.mtx')
Expand Down

0 comments on commit 65403b6

Please sign in to comment.