returns an id representing a model run

get.run.id(run.type, index, trait = NULL, pft.name = NULL)

Arguments

run.type

character, can be any character; currently 'SA' is used for sensitivity analysis, 'ENS' for ensemble run.

index

unique index for different runs, e.g. integer counting members of an ensemble or a quantile used to which a trait has been perturbed for sensitivity analysis

trait

name of trait being sampled (for sensitivity analysis)

pft.name

name of PFT (value from pfts.names field in database)

Value

id representing a model run

Details

Provides a consistent method of naming runs; for use in model input files and indices

Examples

# NOT RUN {
get.run.id('ENS', left.pad.zeros(1, 5))
get.run.id('SA', round(qnorm(-3),3), trait = 'Vcmax')
# }