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

variables reordering/renaming

parent b457fdf9
...@@ -149,25 +149,23 @@ def writeLight(fname,data,date,meta=None): ...@@ -149,25 +149,23 @@ def writeLight(fname,data,date,meta=None):
('owiLat' , 'lat'), ('owiLat' , 'lat'),
('owiWindSpeed' , 'wind_speed'), ('owiWindSpeed' , 'wind_speed'),
('owiWindDirection' , 'wind_to_direction'), ('owiWindDirection' , 'wind_to_direction'),
('owiPreProcessing/wind_streaks_orientation' , 'wind_streaks_orientation'),
('owiPreProcessing/wind_streaks_orientation_stddev' , 'wind_streaks_orientation_stddev'),
# ('owiWindQuality' , 'quality_flag'), # ('owiWindQuality' , 'quality_flag'),
('owiMask' , 'mask_flag'), ('owiMask' , 'mask_flag'),
('owiPreProcessing/ND_2','nrcs_detrend_co'), ('owiWindFilter' , 'heterogeneity_mask'),
('owiPreProcessing/ND_2_cross' , 'nrcs_detrend_cr'),
# heterogeneity mask should be commented in the future, once sarwing v3.0 is stable
('owiPreProcessing/FilterBinary_1' , 'heterogeneity_co_h'), ('owiPreProcessing/FilterBinary_1' , 'heterogeneity_co_h'),
('owiPreProcessing/FilterBinary_2' , 'heterogeneity_co_m'), ('owiPreProcessing/FilterBinary_2' , 'heterogeneity_co_m'),
('owiPreProcessing/FilterBinary_3' , 'heterogeneity_co_l'), ('owiPreProcessing/FilterBinary_3' , 'heterogeneity_co_l'),
('owiPreProcessing/FilterBinary_1_cross' , 'heterogeneity_cr_h'), ('owiPreProcessing/FilterBinary_1_cross' , 'heterogeneity_cr_h'),
('owiPreProcessing/FilterBinary_2_cross' , 'heterogeneity_cr_m'), ('owiPreProcessing/FilterBinary_2_cross' , 'heterogeneity_cr_m'),
('owiPreProcessing/FilterBinary_3_cross' , 'heterogeneity_cr_l'), ('owiPreProcessing/FilterBinary_3_cross' , 'heterogeneity_cr_l'),
('owiPreProcessing/ND_2','nrcs_detrend_co'),
('owiWindFilter' , 'heterogeneity_mask'), ('owiPreProcessing/ND_2_cross' , 'nrcs_detrend_cross'),
('owiPreProcessing/wind_streaks_orientation_stddev' , 'wind_streaks_orientation_stddev'),
('owiPreProcessing/wind_streaks_orientation' , 'wind_streaks_orientation'),
('owiNrcs' , 'nrcs_co'), ('owiNrcs' , 'nrcs_co'),
('owiNrcs_cross' , 'nrcs_cr'), ('owiNrcs_cross' , 'nrcs_cross'),
('owiElevationAngle' , 'elevation_angle'),
('owiIncidenceAngle' , 'incidence_angle'), ('owiIncidenceAngle' , 'incidence_angle'),
('owiElevationAngle' , 'elevation_angle'),
]) ])
# global attrs (None mean no name translation ) # global attrs (None mean no name translation )
global_attrs = OrderedDict([ global_attrs = OrderedDict([
......
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