From 1decfff631fe435df973f1fab6d6fa2ceac0372f Mon Sep 17 00:00:00 2001 From: bnb32 Date: Thu, 2 May 2024 14:18:49 -0600 Subject: [PATCH] missed unused product_type arg in download due to cherry pick from dev branch --- sup3r/utilities/era_downloader.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sup3r/utilities/era_downloader.py b/sup3r/utilities/era_downloader.py index 8606ac769..d45af2231 100644 --- a/sup3r/utilities/era_downloader.py +++ b/sup3r/utilities/era_downloader.py @@ -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): @@ -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}