get.run.id.Rd
Provides a consistent method of naming runs; for use in model input files and indices
get.run.id(run.type, index, trait = NULL, pft.name = NULL, site.id = NULL)
character, can be any character; currently 'SA' is used for sensitivity analysis, 'ENS' for ensemble run.
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
name of trait being sampled (for sensitivity analysis)
name of PFT (value from pfts.names field in database)
optional site id .This is could be necessary for multisite write=false ensembles.
id representing a model run
get.run.id('ENS', left.pad.zeros(1, 5))
#> [1] "ENS-00001"
get.run.id('SA', round(qnorm(-3),3), trait = 'Vcmax')
#> Warning: NaNs produced
#> [1] "SA-Vcmax-NaN"