fillGrid | R Documentation |
fill with NA missing dates in grids and station datasets
fillGrid(grid, tz = "", lonLim = c(-180, 180), latLim = c(-90, 90))
grid |
grid or station data. The lonLim and latLim arguments are only valid for gridded data. |
tz |
Optional. Time zone. See Details in |
lonLim |
Optional. A vector with the minimum and maximum longitude boundaries to be filled with NAs. Default to lonLim = c(-180,180). |
latLim |
Optional. A vector with the minimum and maximum latitude boundaries to be filled with NAs. Default to latLim = c(-90,90). |
A grid filled with NAs in the previously missing date positions and/or in the latitude-longitude domain indicated.
J. BaƱo-Medina
require(climate4R.datasets)
require(visualizeR)
grid <- get(data("NCEP_Iberia_psl"))
spatialPlot(climatology(grid), backdrop.theme = "coastline")
grid <- fillGrid(grid, tz = NULL, lonLim = c(-180,180), latLim = c(-90,90))
spatialPlot(climatology(grid), backdrop.theme = "coastline")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.