createMultiSiteSettings
now names each site’s block of settings$run
as site.[siteid]
for easier subsetting (was settings.[n]
).write.settings
will now return the formatted XML as a string (and not write to any file) when called with outputfile = NULL
, for consistency with XML::saveXML
and for convenience when debugging.createMultiSiteSettings
argument siteIds
now accepts data frames as well as the previously accepted numeric or character vectors. The data frame should have one site per row, uniquely identified by a mandatory id
column. All columns of each row will become fields of the resulting settings$run$site
block.setEnsemblePaths
inserts paths to your ensemble inputs (met, poolinitcond, etc) into every site’s inputs
block according to the filename pattern specified in a template string.