grid_to_df | R Documentation |
Reads a NetCDF file into a data frame with longitude and latitude information
grid_to_df(arr, grid = NA, dropna = TRUE, timedim = NA)
arr |
A 2D or 3D array |
grid |
A character string specifying the grid |
dropna |
A boolean specifying wether rows where the data variable is NA should
be dropped. Recommended to be set to |
timedim |
An integer specifying which dimension represents time for 3D arrays. |
A data frame with columns lon
and lat
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.