Description Usage Arguments Value
View source: R/nc4_relevents.R
Make the grid-like data to table-like data. For example, an nc data has four dimensions, longitude, latitude, height and time. Then it transfrom the data into a three dimensions data, with grid, height and time as dimensions. If the original data is a three dimension data (x, y and time) then it would turn it to a table, each row is a time step while each column is a grid.
1 2 |
arr |
The array of the data to be transform. |
dimxy |
Which dimensions are the x and y. Default c(1, 2), which means the first and second dimensions are x and y. |
x |
Coordinates of the x dimension. |
y |
Coordinates of the y dimension. |
mask |
An matrix with the same dim of x and y, marking which the grids to be transform (NA means not be transform). |
xy |
A series of coordinates of the grid cells to be transform. |
An list, including the array tranformed, and the corresponding coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.