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

snapshot...

parent a40578d2
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,10 @@ class AMVFiles:
def get_meta_dict(self):
return self.meta_dict
def filter(self):
def get_qc_params(self):
return self.qc_params
def filter(self, qc_param):
pass
......@@ -95,9 +98,10 @@ class Framework(AMVFiles):
'Line': (None, 'i4'), 'pressure': ('hPa', 'f4'), 'wind_speed': ('m s-1', 'f4'),
#'wind_direction': ('degrees', 'f4'), 'BestFitPresLvl': ('hPa', 'f4')}
'wind_direction': ('degrees', 'f4')}
qc_param = 'QI'
super().__init__(files_path, file_time_span, '*WINDS_AMV_EN-'+band+'*.nc', band=band, elem_name=elem_name, params=params,
line_name=line_name, lat_name=lat_name, lon_name=lon_name, out_params=out_params, meta_dict=meta_dict)
line_name=line_name, lat_name=lat_name, lon_name=lon_name, out_params=out_params, meta_dict=meta_dict, qc_params=qc_param)
def get_navigation(self):
return GEOSNavigation(sub_lon=-75.0)
......@@ -112,6 +116,10 @@ class Framework(AMVFiles):
return dto
def filter(self, qc_param):
good = qc_param > 50
return good
class FrameworkCloudHeight(AMVFiles):
def __init__(self, files_path, file_time_span):
......
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