Skip to content

Commit

Permalink
missed unused product_type arg in download due to cherry pick from de…
Browse files Browse the repository at this point in the history
…v branch
  • Loading branch information
bnb32 committed May 2, 2024
1 parent d6f3288 commit 1decfff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sup3r/utilities/era_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ def __init__(self,

msg = ('Initialized EraDownloader with: '
f'year={self.year}, month={self.month}, area={self.area}, '
f'levels={self.levels}, variables={self.variables}')
f'levels={self.levels}, variables={self.variables}, '
f'product_type={self.product_type}')
logger.info(msg)

def get_hours(self):
Expand Down Expand Up @@ -332,7 +333,7 @@ def download_file(cls, variables, time_dict, area, out_file, level_type,
f'{out_file} with levels = {levels}.')
logger.info(msg)
entry = {
'product_type': 'reanalysis',
'product_type': product_type,
'format': 'netcdf',
'variable': variables,
'area': area}
Expand Down

0 comments on commit 1decfff

Please sign in to comment.