From 007711c9d90a9795c0f69caabe8bb233d65d332c Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 10 Sep 2021 09:39:29 -0500 Subject: [PATCH] snapshot... --- modules/util/plot.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/util/plot.py b/modules/util/plot.py index c7856f1c..2a72fbb2 100644 --- a/modules/util/plot.py +++ b/modules/util/plot.py @@ -204,7 +204,9 @@ def plot_image2(image, cmap='Greys'): # Example GOES file to retrieve GEOS parameters in MetPy form (CONUS) -exmp_file = '/Users/tomrink/data/OR_ABI-L1b-RadC-M6C14_G16_s20193140811215_e20193140813588_c20193140814070.nc' +#exmp_file = '/Users/tomrink/data/OR_ABI-L1b-RadC-M6C14_G16_s20193140811215_e20193140813588_c20193140814070.nc' +# Full Disk +exmp_file = '/Users/tomrink/data/OR_ABI-L1b-RadF-M6C16_G16_s20212521800223_e20212521809542_c20212521809596.nc' def plot_image3(image, cmap='Greys'): @@ -239,8 +241,8 @@ def make_icing_image(clvrx_file, ice_lons, ice_lats, ice_lons_vld=None, ice_lats ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25) ax.scatter(ice_lons, ice_lats, s=10.0, marker='o', color='blue', transform=ccrs.PlateCarree()) if ice_lats_vld is not None: - ax.scatter(ice_lons_vld, ice_lats_vld, s=20.0, marker='o', color='red', transform=ccrs.PlateCarree()) - plt.title('GOES-16, 2019-04-30_18:26Z >60% Probability Icing', loc='left', fontweight='bold', fontsize=15) + ax.scatter(ice_lons_vld, ice_lats_vld, s=20.0, facecolors='none', marker='o', edgecolor='red', transform=ccrs.PlateCarree()) + plt.title('GOES-16, 2019-09-09_17:26Z >60% Probability Icing', loc='left', fontweight='bold', fontsize=15) ImageDirAndName = os.path.join('/Users/tomrink', filename) fig.savefig(ImageDirAndName) -- GitLab