Commit d212cfc6 authored by ARCHER's avatar ARCHER

fixed bad indent

parent 6ab9cb08
......@@ -200,8 +200,8 @@ def writeLight(fname,data,date,meta=None):
fill_value=data[in_name].fill_value
except:
fill_value=None
# transpose dims for correct netcdf ordering
ncvar = nc.createVariable(out_name,value.dtype,dimensions=('time','Y','X'),fill_value=fill_value)
# transpose dims for correct netcdf ordering
ncvar = nc.createVariable(out_name,value.dtype,dimensions=('time','Y','X'),fill_value=fill_value)
try:
......@@ -215,6 +215,7 @@ def writeLight(fname,data,date,meta=None):
logger.warning('skipping missing var %s' % in_name)
if in_name not in ['owiLon','owiLat']:
ncvar.coordinates="time lat lon"
ncvar[::]=value.T
#ncvar.grid_mapping = "crs"
......
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