get.trait.data.pft.Rd
Get trait data from the database for a single pft
get.trait.data.pft(pft, modeltype, dbfiles, dbcon, trait.names, forceupdate = FALSE)
pft | list of settings for the pft whos traits to retrieve. See details |
---|---|
modeltype | type of model that is used, this is used to distinguish between different pfts with the same name. |
dbfiles | location where previous results are found |
dbcon | database connection |
trait.names | list of trait names to retrieve |
forceupdate | set this to true to force an update, auto will check to see if an update is needed. |
updated pft with posteriorid
pft
should be a list containing at least `name` and `outdir`, and optionally `posteriorid` and `constants`. BEWARE: All existing files in outir
will be deleted!