[[IT memo]]

* Memo for CDO (Climate Data Operators) [#a7abd6aa]

#contents

** General Tips [#df49ef87]
- grib to nc
 $ cdo -f nc copy file.grb file.nc
- splitting the file
 $ cdo splitsel,X,Y,Z infile suffix
this operator will produce files named as '''suffix'''001.nc, '''suffix'''002.nc, ... Each file contains X time slices. Y is starting time step. The first slice is Y=0 (default). Z is interval step. Z=0 (default) is continuous.
this operator will produce files named as '''suffix'''000.nc, '''suffix'''001.nc, ... Each file contains X time slices. Y is starting time step. The first slice is Y=0 (default). Z is interval step. Z=0 (default) is continuous.