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

refactor

parent 486b6104
No related branches found
No related tags found
No related merge requests found
...@@ -207,11 +207,14 @@ def plot_image2(image, cmap='Greys'): ...@@ -207,11 +207,14 @@ def plot_image2(image, cmap='Greys'):
#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 # Full Disk
exmp_file = '/Users/tomrink/data/OR_ABI-L1b-RadF-M6C16_G16_s20212521800223_e20212521809542_c20212521809596.nc' exmp_file = '/Users/tomrink/data/OR_ABI-L1b-RadF-M6C16_G16_s20212521800223_e20212521809542_c20212521809596.nc'
exmp_name = 'Rad'
# exmp_file = '/Users/tomrink/data/H08/HS_H08_20200601_0330_B01_FLDK.nc'
# exmp_name = 'RAD'
def plot_image3(image, cmap='Greys'): def plot_image3(image, cmap='Greys'):
exmpl_ds = xr.open_dataset(exmp_file) exmpl_ds = xr.open_dataset(exmp_file)
mdat = exmpl_ds.metpy.parse_cf('Rad') mdat = exmpl_ds.metpy.parse_cf(exmp_name)
geos = mdat.metpy.cartopy_crs geos = mdat.metpy.cartopy_crs
x = mdat.x x = mdat.x
y = mdat.y y = mdat.y
......
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