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

reenable automatic fillvalue handling

parent d1346755
...@@ -235,12 +235,7 @@ def writeLight(fname,data,date,meta=None): ...@@ -235,12 +235,7 @@ 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 = data[in_name].fill_value
if fill_value is None:
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
if dtype in translate_dtype: if dtype in translate_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