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

snapshot...

parent ed7000de
Branches
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ class OPS(AMVFiles):
return dto
class NOAA_txt(AMVFiles):
class AMV_Intercompare(AMVFiles):
def __init__(self, files_path, file_time_span, band='14'):
elem_name = None
line_name = None
......@@ -496,7 +496,6 @@ class NOAA_txt(AMVFiles):
lat_name = 'lat'
press_name = 'PW'
# params = ['pressure', 'wind_speed', 'wind_direction']
params = ['BOX','SRCH','SPD','DIR','PW','LLCM','SPDG','DIRG','TBALB','MAXC','TRKM','PERR','HAMD','QINF','QIWF','QIC']
out_params = ['Lon', 'Lat', 'Element', 'Line'] + params
meta_dict = {'Lon': ('degrees east', 'f4'), 'Lat': ('degrees north', 'f4'), 'Element': (None, 'i4'), 'Line': (None, 'i4'),
......@@ -555,8 +554,8 @@ class CarrStereo(AMVFiles):
def get_datasource(files_path, source, file_time_span=10, band='14'):
if source == 'OPS':
return OPS(files_path, file_time_span, band=band)
elif source == 'NOAA_TXT':
return NOAA_txt(files_path, file_time_span, band=band)
elif source == 'AMV_TXT':
return AMV_Intercompare(files_path, file_time_span, band=band)
elif source == 'FMWK':
return Framework(files_path, file_time_span, band=band)
elif source == 'CARR':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment