![]() Select only data of the northern hemisphere (sub-region): cdo -sellonlatbox,-180,180,0,90.format YYY-MM-DD) you can use the select operator: cdo -select,date=date1,date2.,dateN select only the 3rd time step cdo -seltimestep,3 or select 3 timesteps cdo -seltimestep,1,13,25 or select a time range from 1 to 12 cdo -seltimestep,1/12 If you have a list of dates (e.g. Select variables from file: select variable tas cdo -selname,tas select variables u10 and v10 cdo -selname,u10,v10.With the '-f' switch, you can choose a new file type: cdo -f grb -copy tsurf.nc bCombine this with the '-z' options for changing to a higher compression ration: cdo -f grb -z szip tsurf.nc b File conversion with different file types: Copying whole data sets can be easily done with the copy operator.Display Information about the underlying grid: griddes does the following: cdo -griddes tsurf.nc.Display number of timesteps of a file cdo -ntime.Display variables of a file cdo -showname.TypeĪnd with ncdump from the NCO's all metadata and data contents can be displayed. With the 'cdo info' command you can see the timesteps, levels, minimum, maximum, averages and missing values. Stored, what the grid looks like, and not to forget to see which global, variable and dimension attributes are The best way to get full information about the operators is to read the document ]įirst, before you start to work with your data you should have a closer look at it to know which variables are To get more information about an operator cdo -h To display all command line options of cdo, type cdo -hĪnd to get an overview of all operators with a short description, type cdo -operators The NetCDF attributes should follow the GDT, COARDS or CF Conventions. These dimensions should only be used by the horizontal and vertical grid and the time. NetCDF datasets are only supported for the classic data model and arrays up to 4 dimensions. That means all time steps need to have the same variables, and within a time step each variable may occur only once. There are some limitations for GRIB and NetCDF datasets.Ī GRIB dataset has to be consistent, similar to NetCDF. The local MPI-MET data formats SERVICE, EXTRA and IEG are also supported. The Climate Data Interface is used for the fast and file format independent access to GRIB and NetCDF datasets. ![]() CDO was developed to have the same set of processing functions for GRIB and NetCDF datasets in one package. ![]() The operators include simple statistical and arithmetic functions, data selection and subsampling tools, and spatial interpolation. ![]() The Climate Data Operators (CDO) software is a collection of many operators for standard processing of climate and forecast model data.
0 Comments
Leave a Reply. |