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

minor

parent 437f8030
No related branches found
No related tags found
No related merge requests found
...@@ -231,14 +231,14 @@ def make_icing_image(clvrx_file, ice_lons, ice_lats, ice_lons_vld=None, ice_lats ...@@ -231,14 +231,14 @@ def make_icing_image(clvrx_file, ice_lons, ice_lats, ice_lons_vld=None, ice_lats
x = mdat.x x = mdat.x
y = mdat.y y = mdat.y
fig = plt.figure(figsize=(15, 24)) fig = plt.figure(figsize=(48, 30))
ax = fig.add_subplot(1, 1, 1, projection=geos) ax = fig.add_subplot(1, 1, 1, projection=geos)
ax.imshow(image, origin='upper', extent=(x.min(), x.max(), y.min(), y.max()), cmap='Greys', transform=geos) ax.imshow(image, origin='upper', extent=(x.min(), x.max(), y.min(), y.max()), cmap='Greys', transform=geos)
ax.coastlines(resolution='50m', color='black', linewidth=0.25) ax.coastlines(resolution='50m', color='black', linewidth=0.25)
ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25) ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25)
ax.scatter(ice_lons, ice_lats, s=0.6, marker='o', color='orange', transform=ccrs.PlateCarree()) ax.scatter(ice_lons, ice_lats, s=10.0, marker='o', color='blue', transform=ccrs.PlateCarree())
if ice_lats_vld is not None: if ice_lats_vld is not None:
ax.scatter(ice_lons_vld, ice_lats_vld, s=20.0, marker='o', color='blue', transform=ccrs.PlateCarree()) ax.scatter(ice_lons_vld, ice_lats_vld, s=20.0, marker='o', color='blue', transform=ccrs.PlateCarree())
plt.title('GOES-16, 2019-04-30_14:26Z >60% Probability Icing', loc='left', fontweight='bold', fontsize=15) plt.title('GOES-16, 2019-04-30_18:26Z >60% Probability Icing', loc='left', fontweight='bold', fontsize=15)
ImageDirAndName = os.path.join('/Users/tomrink', filename) ImageDirAndName = os.path.join('/Users/tomrink', filename)
fig.savefig(ImageDirAndName) fig.savefig(ImageDirAndName)
\ No newline at end of file
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