Commit df44e22e authored by Carl Schreck's avatar Carl Schreck

Switched to 1, 7, 14 days and clobber reanalysis.

parent 3af9a884
......@@ -33,7 +33,7 @@ days_in_month = calendar.monthrange(year, month)[1]
clobber = False
var_names = ['z500', 'prcp', 'tavg']
delta_days = [1, 5]
delta_days = [1, 7, 14]
cjs.tstamp('Here we go!')
for var_name in var_names:
......@@ -45,7 +45,7 @@ for var_name in var_names:
ftp_path = (
f'ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis.dailyavgs/'
f'pressure/{file_name}')
download_err = cjs.download_file(ftp_path, in_path, clobber=False)
download_err = cjs.download_file(ftp_path, in_path, clobber=True)
else:
file_type = 'scaled'
file_name = f'{var_name}-{year}{month:02}-grd-{file_type}.nc'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment