Description Usage Arguments Details Value
This function removes grid cells with missing data, NA values for all
timesteps, from being processed by trainTP
. This enables fldgen
to work with output that has NAs in it.
1 | drop_NAs(griddata)
|
griddata |
output from |
The parts of the griddata structure that are affected are:
Missing grid cells are removed
Entries corresponding to missing grid cells are removed.
The following items are added, only if there were missing grid cells to drop.
Number of columns in the original matrix, before missing values were dropped.
Column ids in the original matrix, for the grid cells that were not dropped.
Matrix of latitude and longitude for each grid cell. This is distinct from the lat and lon entries, which gives the latitude coordinate extracted from the original netCDF file.
#'
A new griddata structure, with missing grid cells removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.