View source: R/cdtExtractData_ncdf.R
extract_netcdf_file | R Documentation |
Function to extract data over a set of points from one netCDF file.
extract_netcdf_file(
ncdf_data = list(file = "", varid = "z", ilon = 1, ilat = 2),
crd_points = list(type = "cdtStnData", file = "", sep = ",", na.strings = "-99"),
out_file = NULL
)
ncdf_data |
named list, providing the input netCDF file to extract.
|
crd_points |
named list, providing the coordinates over which the data will be extracted.
|
out_file |
character, full path to the file in which the extracted data will be saved.
Default |
If out_file is NULL
, returns a data.frame with columns id
, lon
, lat
and value
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.