Description Usage Arguments Value Author(s) Examples
View source: R/selbox.selindexbox.netcdf.cdo.R
selbox.selindexbox.netcdf.cdo
selects a single grid
cell series from a NetCDF file using cdo selindebox. Stores the series
as both RData and NetCDF file if desired. No calendar adjustment.
1 2 | selbox.selindexbox.netcdf.cdo(x, y, file.org, varname, workdir,
save.series = FALSE, file.netcdf, file.rdata)
|
x |
X-Index (longitude) of grid cell to select. |
y |
Y-Index (latitude) of grid cell to select. |
file.org |
Full filename of NetCDF file (including directory). |
varname |
NetCDF variable name. |
workdir |
Path of NetCDF file. |
save.series |
Logical indicating whether result series should be saved in a file. |
file.netcdf |
Full filename of result NetCDF file (including directory). |
file.rdata |
Full filename of result RData file (including directory). |
Extracted time series (vector).
Iris Feigenwinter (MeteoSwiss)
1 2 3 4 5 6 | ## Not run:
# Select precipitation series for grid cell x=10 and y=20 and save series
# as NetCDF and RData
selbox.selindexbox.netcdf.cdo(10,20,infile,'pr',workdir,TRUE,out.netcdf,out.rdata)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.