Commit a5c34893 authored by Carl Schreck's avatar Carl Schreck

Post-running for March report

parent b0e88e61
......@@ -16,9 +16,9 @@ import numpy as np
# These are some parameters that could be useful to have up top
year = 2020
month = 2
first_day = 22
last_day = 29
month = 3
first_day = 24
last_day = 31
clobber = False
time_range = slice(f'{year}-{month:02}-{first_day:02}',
......
......@@ -15,7 +15,7 @@ import cjs # '~carl/lib/python'
cjs.tstamp('Here we go!')
# These are some parameters that could be useful to have up top
month = 1
month = 3
year = 2020
days_in_month = calendar.monthrange(year, month)[1]
time_range = slice(f'{year}-{month}-01', f'{year}-{month}-{days_in_month}')
......
......@@ -16,9 +16,9 @@ from datetime import datetime
# These are some parameters that could be useful to have up top
year = 2020
month = 2
first_day = 22
last_day = 29
month = 3
first_day = 24
last_day = 31
clobber = False
time_range = slice(f'{year}-{month:02}-{first_day:02}',
......
......@@ -104,8 +104,8 @@ for delta_days in [1, 5]:
cjs.tstamp('Save figure')
plt.tight_layout()
os.makedirs(f'figures/tave-anom/', exist_ok=True)
plt.savefig(f'figures/tave-anom/tave-anom_{delta_days}-{year}'
os.makedirs(f'figures/tave-anom-{delta_days}/', exist_ok=True)
plt.savefig(f'figures/tave-anom-{delta_days}/tave-anom_{delta_days}-{year}'
f'-{month:02}{first_day:02}'
f'-{month:02}{last_day:02}.png', dpi=100)
# plt.show()
......
......@@ -18,9 +18,9 @@ from datetime import datetime
# These are some parameters that could be useful to have up top
year = 2020
month = 2
first_day = 22
last_day = 29
month = 3
first_day = 1
last_day = 31
clobber = False
time_range = slice(f'{year}-{month:02}-{first_day:02}',
......
......@@ -131,8 +131,8 @@ for delta_days in [1, 5]:
cjs.tstamp('Save figure')
# plt.tight_layout()
os.makedirs(f'figures/hgt500-{region}/', exist_ok=True)
plt.savefig(f'figures/hgt500-{region}/'
os.makedirs(f'figures/hgt500-{region}-{delta_days}/', exist_ok=True)
plt.savefig(f'figures/hgt500-{region}-{delta_days}/'
f'hgt500-{region}_{delta_days}-{year}-{month:02}{first_day:02}'
f'-{month:02}{last_day:02}.png', dpi=100)
# plt.show()
......
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