Skip to contents

This module splits infile into pieces. The output files will be named <obase><xxx><suffix> where suffix is the filename extension derived from the file format. xxx and the contents of the output files depends on the chosen operator. params is a comma-separated list of processing parameters.

Usage

cdo_splitcode(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splitgrid(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splitlevel(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splitname(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splitparam(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splittabnum(ifile, swap = NULL, uuid = NULL, obase = NULL)

cdo_splitzaxis(ifile, swap = NULL, uuid = NULL, obase = NULL)

Arguments

ifile

String with the path to the input file.

swap

STRING - Swap the position of obase and xxx in the output filename

uuid

STRING - Add a UUID as global attribute <attname> to each output file

obase

String with the basename of the output files.

Details

splitcode    Split code numbers
             Splits a dataset into pieces, one for each different code number.
             xxx will have three digits with the code number.
splitparam   Split parameter identifiers
             Splits a dataset into pieces, one for each different parameter identifier.
             xxx will be a string with the parameter identifier.
splitname    Split variable names
             Splits a dataset into pieces, one for each variable name.
             xxx will be a string with the variable name.
splitlevel   Split levels
             Splits a dataset into pieces, one for each different level.
             xxx will have six digits with the level.
splitgrid    Split grids
             Splits a dataset into pieces, one for each different grid.
             xxx will have two digits with the grid number.
splitzaxis   Split z-axes
             Splits a dataset into pieces, one for each different z-axis.
             xxx will have two digits with the z-axis number.
splittabnum  Split parameter table numbers
             Splits a dataset into pieces, one for each GRIB1 parameter table number.
             xxx will have three digits with the GRIB1 parameter table number.

Note

Operators of this module need to open all output files simultaneously. The maximum number of open files depends on the operating system!