Commit 088e0fac authored by Jared Rennie's avatar Jared Rennie
Browse files

small cleanup

parent bfc50912
#!/usr/bin/python
# Written by Jared Rennie, NCICS
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
......@@ -44,6 +47,7 @@ maxLon = -73
start=time.time()
# Read in Arguments
# DATA SOURCE: https://mrms.ncep.noaa.gov/data/2D/MergedReflectivityQComposite/
if len(sys.argv) < 2:
sys.exit("USAGE: <INFILE>")
file = sys.argv[1]
......@@ -64,7 +68,6 @@ current_hour= "%02i:%02i" % (current_date.hour,current_date.minute)
# Read in Data
inData=xr.load_dataset(in_directory+'/'+file,engine='cfgrib')
sys.exit()
lats=inData.latitude.values
lons=inData.longitude.values-360
vals=inData.unknown.values
......
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