Description Usage Arguments Value
View source: R/extract3DGridData.R
Extract 3D grid data over a set of points.
1 | extract_3DGridData(grid_coords, grid_data, points, levels, padxyz, fun_sp)
|
grid_coords |
A named list containing the coordinates of the grid data, with names "lon", "lat", "alt" |
grid_data |
A named list containing the gridded data, the 3d array data are flatten to a vector. The names of list are the names of the data. |
points |
A data frame of the points to extract. Data frame with column names "id", "longitude" and "latitude" |
levels |
A vector of the index of altitudes to be extracted in integer, or -1 to extract all available altitude |
padxyz |
A vector of the padding to use in number of pixels, in order "lon", "lat", "alt" |
fun_sp |
Character, function to be used for the padding. Options: "mean", "median", "max", "min" |
A named list
List of matrix of the extracted data over the set of points.
The row represents the set of points and the column for the levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.