Skip to content
Snippets Groups Projects
Commit b5685e0d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 76eb0d6a
No related branches found
No related tags found
No related merge requests found
...@@ -238,7 +238,7 @@ def make_icing_image(h5f, probs, ice_lons, ice_lats, clvrx_str_time, satellite, ...@@ -238,7 +238,7 @@ def make_icing_image(h5f, probs, ice_lons, ice_lats, clvrx_str_time, satellite,
if bg_image is not None: if bg_image is not None:
ax.imshow(bg_image, origin='upper', extent=(xmin, xmax, ymin, ymax), cmap='Greys', transform=geos) ax.imshow(bg_image, origin='upper', extent=(xmin, xmax, ymin, ymax), cmap='Greys', transform=geos)
if probs is not None: if probs is not None:
ax.imshow(probs, cmap='Blues', origin='upper', extent=(xmin, xmax, ymin, ymax), vmin=0.52, vmax=1.0, transform=geos) ax.imshow(probs, cmap='Blues', origin='upper', extent=(xmin, xmax, ymin, ymax), vmin=0.55, vmax=1.0, transform=geos)
ax.coastlines(resolution='50m', color='green', linewidth=1.50) ax.coastlines(resolution='50m', color='green', linewidth=1.50)
# ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25) # ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25)
...@@ -247,7 +247,7 @@ def make_icing_image(h5f, probs, ice_lons, ice_lats, clvrx_str_time, satellite, ...@@ -247,7 +247,7 @@ def make_icing_image(h5f, probs, ice_lons, ice_lats, clvrx_str_time, satellite,
if ice_lats_vld is not None: if ice_lats_vld is not None:
ax.scatter(ice_lons_vld, ice_lats_vld, s=180.0, marker='o', color='red', transform=ccrs.PlateCarree()) ax.scatter(ice_lons_vld, ice_lats_vld, s=180.0, marker='o', color='red', transform=ccrs.PlateCarree())
title = satellite+', '+clvrx_str_time+' >50% Probability Icing' title = satellite+', '+clvrx_str_time+' >55% Probability Icing'
plt.title(title, loc='left', fontweight='bold', fontsize=24) plt.title(title, loc='left', fontweight='bold', fontsize=24)
ImageDirAndName = os.path.join(homedir, imagename+'_'+clvrx_str_time) ImageDirAndName = os.path.join(homedir, imagename+'_'+clvrx_str_time)
fig.savefig(ImageDirAndName) fig.savefig(ImageDirAndName)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment