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,
write = FALSE
)
list of settings for the pft whose traits to retrieve. See details
type of model that is used, this is used to distinguish between different pfts with the same name.
location where previous results are found
database connection
list of trait names to retrieve
set this to true to force an update, auto will check to see if an update is needed.
(Logical) If `TRUE` updated posteriors will be written to BETYdb. Defaults to FALSE.
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!