read_meta | R Documentation |
Reads a meta JSON file or the header of a binary LPJmL input or output file.
read_meta(filename, ...)
filename |
Character string representing path (if different from current working directory) and filename. |
... |
Additional arguments passed to |
An LPJmLMetaData
object.
## Not run:
meta <- read_meta(filename = "mpft_npp.bin.json")
meta$sim_name
# [1] "LPJmL Run"
meta$firstcell
# [1] 27410
meta$band_names[1]
# [1] "tropical broadleaved evergreen tree"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.