View source: R/Format-Inferno_FireMIP.R
openFireMIPOutputFile_Inferno | R Documentation |
Opens a .nc file from the Inferno FireMIP output and sorts out the meta-data and dimensions and all that messy stuff. Returns a data.table, because it is intended to be called by getField(), but of course the data.table could be used directly if you wish
openFireMIPOutputFile_Inferno(
run,
quantity,
sta.info,
file.name,
verbose = TRUE
)
run |
A Source object to define the run we want to open. |
quantity |
A Quantity object to define which variable we want to look up |
verbose |
Logical, if TRUE spew forth a lot of info. |
first.year |
The first year we want to read (numeric) |
last.year |
The last year we want to read (numeric) |
spatial.extent |
The spatial extent we want to read (as defined by as raster::extent or an object that can be cast to a raster::extent) |
A list containaing a data.table and an STAInfo object
Matthew Forrest matthew.forrest@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.