Search code examples
netcdfnetcdf4cdo-climatenco

Can i remap and compress a NETCDF at the same time?


I got a huge set of data and i need to remap it to a new size of pixel. But this operation generate a big file that fills my hard drive...

i'm using that:

cdo remapnn,r7432x13317 petcomp.nc FINAL.nc

So, can i compress and make this operation at the same time?


Solution

  • The following modification to your code should work:

    cdo -z zip -remapnn,r7432x13317 petcomp.nc FINAL.nc
    

    Read the CDO user guide to see other compression options if you need to get as small as possible.