Commit d3ec975c authored by Carl Schreck's avatar Carl Schreck

Finalize tmin.

parent ab64cad9
......@@ -28,12 +28,12 @@ scaled_path = f'{base_path}{var_name.upper()}-198902-grd-scaled.nc'
levels = np.arange(-35, 15, 5)
# cmap = cm.get_cmap('bwr', lut=(len(levels) + 1))
cmap = 'RdBu_r'
cmap = 'BuPu_r'
cjs.tstamp('Here we go!')
for tif_name in ['SR_50M', 'MSR_50M', 'PRISMA_SR_50M', 'US_MSR']:
# for tif_name in ['US_MSR']:
# for tif_name in ['SR_50M', 'MSR_50M', 'PRISMA_SR_50M', 'US_MSR']:
for tif_name in ['US_MSR']:
fig, axes = plt.subplots(nrows=1, ncols=1, figsize=(6.4, 6.4),
subplot_kw={'projection': cjs.conus_projection, })
......@@ -51,7 +51,7 @@ for tif_name in ['SR_50M', 'MSR_50M', 'PRISMA_SR_50M', 'US_MSR']:
'pad': 0.05,
}
)
ax.set_title('c) Scaled data', loc='left')
# ax.set_title('c) Scaled data', loc='left')
ax.set_extent([-120.0, -100.0, 35.0, 45.0])
ax.outline_patch.set_visible(True)
ax.set_anchor('N')
......@@ -60,7 +60,7 @@ for tif_name in ['SR_50M', 'MSR_50M', 'PRISMA_SR_50M', 'US_MSR']:
cjs.tstamp('Drawing figure')
plt.tight_layout()
plt.savefig(f'figures/{tif_name}.png', dpi=300)
plt.savefig(f'figures/{var_name}_steps.png', dpi=300)
plt.show()
cjs.tstamp('Thank you, come again.')
......
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