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

reenable automatic fillvalue handling

parent d1346755
...@@ -235,11 +235,6 @@ def writeLight(fname,data,date,meta=None): ...@@ -235,11 +235,6 @@ def writeLight(fname,data,date,meta=None):
out_name = names_mapping[in_name] out_name = names_mapping[in_name]
if in_name in data: if in_name in data:
value = data[in_name].T value = data[in_name].T
try:
fill_value=meta[in_name]['_FillValue']
if fill_value is None:
fill_value=False
except:
fill_value = data[in_name].fill_value fill_value = data[in_name].fill_value
# transpose dims for correct netcdf ordering # transpose dims for correct netcdf ordering
dtype = value.dtype dtype = value.dtype
......
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