cdo_distgrid | R Documentation |
This operator distributes a dataset into smaller pieces. Each output file contains a different region of the horizontal source grid. 2D Lon/Lat grids can be split into nx*ny pieces, where a target grid region contains a structured longitude/latitude box of the source grid. Data on an unstructured grid is split into nx pieces. The output files will be named <obase><xxx><suffix> where suffix is the filename extension derived from the file format. xxx will have five digits with the number of the target region.
cdo_distgrid(ifile, nx = NULL, ny = NULL, obase = NULL)
ifile |
String with the path to the input file. |
nx |
INTEGER - Number of regions in x direction, or number of pieces for unstructured grids |
ny |
INTEGER - Number of regions in y direction [default: 1] |
obase |
String with the basename of the output files. |
Operators that output one or more files return a character vector to the output files.
Operators that output an indefinite number of files return a string with the basename of the files.
Operatos that don't return filenames return a character vector with the string output.
This operator needs to open all output files simultaneously. The maximum number of open files depends on the operating system!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.