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

force NETCDF4 output format

parent 9df5c1eb
......@@ -401,7 +401,7 @@ def nclight2gridded(filein,fileout):
ds_gd.rio.set_spatial_dims('x','y', inplace=True)
ds_gd.rio.write_crs(crs, inplace=True)
ds_gd.to_netcdf(fileout,format='NETCDF4_CLASSIC')
ds_gd.to_netcdf(fileout,format='NETCDF4')
def getAttribute(fname, attr):
try:
......
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