Added by Luyi Hunter about 7 years ago
Hi,
I used the following command to delete the leap day in my .nc files
cdo delete,month=2,day=29 infile.nc outfile.nc
However, the outfile (2.06G) is significantly larger than infile (940M).
Any insight on this?
Thanks!
Seems that your input file contains compressed NetCDF4 data. CDO needs to decompress those data but it will never compress a file automatically. Use the CDO option -z zip to compress the result:
cdo -z zip delete,month=2,day=29 infile.nc outfile.nc