openLPJOutputFile_FireMIP | R Documentation |
openLPJOutputFile
returns a data.table object given a string defining a vegetation quantity
from the run (eg. "lai", to read the file "lai.out") and Source
object which defines where the run is on disk and the offsets to apply
openLPJOutputFile_FireMIP(
run,
quant,
layers = NULL,
target.sta,
file.name = file.name,
verbose = FALSE,
soil_water_capacities = "none",
...
)
run |
A |
quant |
A Quantity to define what output file from the LPJ-GUESS run to open. |
layers |
A character string (or a vector of character strings) specifying which layer columns are to be read. NULL (default) means read all. |
file.name |
Character string holding the name of the file. This can be left blank, in which case the file name is just taken to be "<quant@id>.out" (also "<quant@id>.out.gz") |
verbose |
A logical, set to true to give progress/debug information |
first.year |
The first year (as a numeric) of the data to be return |
last.year |
The last year (as a numeric) of the data to be return |
Note that the files can be gzipped on UNIX systems, but this might fail on windows systems.
a data.table (with the correct tear offset and lon-lat offsets applied)
Matthew Forrest matthew.forrest@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.