Commit d3bfa573 authored by ARCHER's avatar ARCHER 💬
Browse files

restored FilterBinary_* for sarwing v2

parent 5b58eada
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division
from builtins import str
from builtins import range
......@@ -154,12 +154,14 @@ def writeLight(fname,data,date,meta=None):
('owiMask' , 'mask_flag'),
('owiPreProcessing/ND_2','nrcs_detrend_co'),
('owiPreProcessing/ND_2_cross' , 'nrcs_detrend_cr'),
# ('owiPreProcessing/FilterBinary_1' , 'heterogeneity_co_h'),
# ('owiPreProcessing/FilterBinary_2' , 'heterogeneity_co_m'),
# ('owiPreProcessing/FilterBinary_3' , 'heterogeneity_co_l'),
# ('owiPreProcessing/FilterBinary_1_cross' , 'heterogeneity_cr_h'),
# ('owiPreProcessing/FilterBinary_2_cross' , 'heterogeneity_cr_m'),
# ('owiPreProcessing/FilterBinary_3_cross' , 'heterogeneity_cr_l'),
# heterogeneity mask should be commented in the future, once sarwing v3.0 is stable
('owiPreProcessing/FilterBinary_1' , 'heterogeneity_co_h'),
('owiPreProcessing/FilterBinary_2' , 'heterogeneity_co_m'),
('owiPreProcessing/FilterBinary_3' , 'heterogeneity_co_l'),
('owiPreProcessing/FilterBinary_1_cross' , 'heterogeneity_cr_h'),
('owiPreProcessing/FilterBinary_2_cross' , 'heterogeneity_cr_m'),
('owiPreProcessing/FilterBinary_3_cross' , 'heterogeneity_cr_l'),
('owiWindFilter' , 'heterogeneity_mask'),
('owiPreProcessing/wind_streaks_orientation_stddev' , 'wind_streaks_orientation_stddev'),
('owiPreProcessing/wind_streaks_orientation' , 'wind_streaks_orientation'),
......@@ -193,7 +195,7 @@ def writeLight(fname,data,date,meta=None):
}
# missing input will be forced to NaN/not implemented
meta_not_implemented = {
'wind_streaks_orientation_stddev' : None
#'wind_streaks_orientation_stddev' : None
}
x,y = data['owiLon'].T.shape
nc=netCDF4.Dataset(fname, 'w', format='NETCDF4')
......
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