A dedicated data class for an LPJmL input or output grid.
LPJmLGridData serves the spatial reference for any LPJmLData objects and
matches its spatial dimensions ("cell" or "lon", "lat") when attached as an
grid attribute to it.\
LPJmLGridData holds the information which longitude and latitude correspond
to each cell center assuming WGS84 as the coordinate reference system or
the corresponding cell index when the data comes with longitude and latitude
dimension.
As in LPJmLData the data array can be accessed via $data,
the meta data via $meta.
lpjmlkit::LPJmLData -> LPJmLGridData
Inherited methods
lpjmlkit::LPJmLData$.__set_data__()lpjmlkit::LPJmLData$.__set_grid__()lpjmlkit::LPJmLData$as_array()lpjmlkit::LPJmLData$as_raster()lpjmlkit::LPJmLData$as_terra()lpjmlkit::LPJmLData$as_tibble()lpjmlkit::LPJmLData$dim()lpjmlkit::LPJmLData$dimnames()lpjmlkit::LPJmLData$length()lpjmlkit::LPJmLData$subset()lpjmlkit::LPJmLData$summary()lpjmlkit::LPJmLData$transform()
add_grid()! Not allowed to add a grid to an LPJmLGridData object.
...See add_grid().
plot()! No plot function available for LPJmLGridData object. Use
as_raster() or as_terra() (and plot()) to visualize the grid.
...See plot().
new()!Internal method only to be used for package development!
LPJmLGridData$new(lpjml_data)