Commit 84d8392b authored by ARCHER's avatar ARCHER

remove/add land_flag/mask_flag. Renamed _light to _sw.

parent e988bf9d
......@@ -151,7 +151,7 @@ def writeLight(fname,data,date,meta=None):
('owiWindSpeed' , 'wind_speed'),
('owiWindDirection' , 'wind_to_direction'),
('owiWindQuality' , 'quality_flag'),
('owiLandFlag' , 'land_flag'),
('owiMask' , 'mask_flag'),
('owiPreProcessing/ND_2','nrcs_detrend_co'),
('owiPreProcessing/ND_2_cross' , 'nrcs_detrend_cr'),
('owiPreProcessing/FilterBinary_1' , 'heterogeneity_co_h'),
......@@ -383,7 +383,7 @@ def L2CtoLight(path, resolution=None):
else:
addPath = "post_processing/nclight"
newPath = os.path.join(base, addPath)
newNcFile = os.path.splitext(os.path.basename(p))[0] + "_light.nc"
newNcFile = os.path.splitext(os.path.basename(p))[0] + "_sw.nc"
if resolution:
newNcFile = newNcFile.replace("-cc-", "-cm-")
filenameSplit = newNcFile.split("-")
......
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