Title: | PEcAn package for integration of the CABLE model |
---|---|
Description: | This module provides functions to link the (CABLE) to PEcAn. |
Authors: | Kaitlin Ragosta |
Maintainer: | Tony Gardella <[email protected]> |
License: | BSD_3_clause + file LICENSE |
Version: | 1.7.3.9000 |
Built: | 2024-12-17 17:26:35 UTC |
Source: | https://github.com/PecanProject/pecan |
Converts a met CF file to a model specific met file. The input files are calld <in.path>/<in.prefix>.YYYY.cf
met2model.CABLE(in.path, in.prefix, outfolder, overwrite = FALSE)
met2model.CABLE(in.path, in.prefix, outfolder, overwrite = FALSE)
in.path |
path on disk where CF file lives |
in.prefix |
prefix for each file |
outfolder |
location where model specific output is written. |
OK if everything was succesful.
Rob Kooper
Convert CABLE output into the NACP Intercomparison format (ALMA using netCDF)
model2netcdf.CABLE(outdir, sitelat, sitelon, start_date, end_date)
model2netcdf.CABLE(outdir, sitelat, sitelon, start_date, end_date)
outdir |
Location of model output |
sitelat |
Latitude of the site |
sitelon |
Longitude of the site |
start_date |
Start time of the simulation |
end_date |
End time of the simulation |
Rob Kooper
Read restart files from model.
read_restart.CABLE(outdir, runid, stop.time, settings, var.names, params)
read_restart.CABLE(outdir, runid, stop.time, settings, var.names, params)
outdir |
Output directory |
runid |
Run ID |
stop.time |
Year that is being read |
settings |
PEcAn settings object |
var.names |
Variable names to be extracted |
params |
Any parameters required for state calculations |
Forecast numeric matrix
Alexey Shiklomanov
Write restart files for model
write_restart.CABLE(outdir, runid, start.time, stop.time, settings, new.state)
write_restart.CABLE(outdir, runid, start.time, stop.time, settings, new.state)
start.time |
Time of current assimilation step |
stop.time |
Time of next assimilation step |
new.state |
Analysis state matrix returned by |
Alexey Shiklomanov
Writes a CABLE config file.
write.config.CABLE(defaults, trait.values, settings, run.id)
write.config.CABLE(defaults, trait.values, settings, run.id)
defaults |
list of defaults to process |
settings |
list of settings from pecan settings file |
run.id |
id of run |
trait.samples |
vector of samples for a given trait |
Requires a pft xml object, a list of trait values for a single model run, and the name of the file to create
configuration file for CABLE for given run
Rob Kooper, Kaitlin Ragosta