View source: R/LPJmLMetaData_as.R
| as_list | R Documentation |
Function to coerce (convert) an LPJmLMetaData object into a
list.
as_list(x)
x |
An LPJmLMetaData object |
A list
## Not run:
vegc_meta <- read_meta(filename = "./vegc.bin.json")
# Returns one dimensional array with timeseries for cells `27410:27415`
as_list(vegc_meta)
# $sim_name
# [1] "lu_cf"
#
# $source
# [1] "LPJmL C Version 5.3.001"
#
# $variable
# [1] "vegc"
#
# $descr
# [1] "vegetation carbon"
#
# $unit
# [1] "gC/m2"
#
# $nbands
# [1] 1
#
# ...
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.