cdo_selindexbox | R Documentation |
Selects grid cells inside a lon/lat or index box.
cdo_selindexbox(
ifile,
lon1 = NULL,
lon2 = NULL,
lat1 = NULL,
lat2 = NULL,
idx1 = NULL,
idx2 = NULL,
idy1 = NULL,
idy2 = NULL,
ofile = NULL
)
cdo_sellonlatbox(
ifile,
lon1 = NULL,
lon2 = NULL,
lat1 = NULL,
lat2 = NULL,
idx1 = NULL,
idx2 = NULL,
idy1 = NULL,
idy2 = NULL,
ofile = NULL
)
ifile |
String with the path to the input file. |
lon1 |
FLOAT - Western longitude in degrees |
lon2 |
FLOAT - Eastern longitude in degrees |
lat1 |
FLOAT - Southern or northern latitude in degrees |
lat2 |
FLOAT - Northern or southern latitude in degrees |
idx1 |
INTEGER - Index of first longitude (1 - nlon) |
idx2 |
INTEGER - Index of last longitude (1 - nlon) |
idy1 |
INTEGER - Index of first latitude (1 - nlat) |
idy2 |
INTEGER - Index of last latitude (1 - nlat) |
ofile |
String with the path to the output file. |
sellonlatbox Select a longitude/latitude box Selects grid cells inside a lon/lat box. The user must specify the longitude and latitude of the edges of the box. Only those grid cells are considered whose grid center lies within the lon/lat box. For rotated lon/lat grids the parameters must be specified in rotated coordinates. selindexbox Select an index box Selects grid cells within an index box. The user must specify the indices of the edges of the box. The index of the left edge can be greater then the one of the right edge. Use negative indexing to start from the end. The input grid must be a regular lon/lat or a 2D curvilinear grid.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.