Description Usage Arguments Value
View source: R/single_calibration.R
Calibrate Hector to a single CMIP6 ESM.
1 2 3 4 |
cmip6_runs |
A vector of the cmip6 scenario names to use to create Hector cores |
esm_data |
A data frame of ESM data for a single model that contains the following columns, year, model, variable, experiment. |
normalize |
A list of center and the scale values to use to noramlize the Hector and ESM output data. |
initial_param |
A named vector of inital paramters to be optimized over. |
cmip_range |
Default set to NULL and the make_minim_function will only look at the error between esm_data and Hector data. But if cmip_range is set to a dataframe containing columns (variable, year, sig, lower, and upper) then the minimize function will also minimize the value returned by the -log of the mesa function. |
param_penalty |
Default is set to NULL but can be set to a function that will return a tibble of experiment / variable / value to penalize the mean squared error for "unreal" paramter values. |
maxit |
The max number of itterations for optim, default set to 500. |
n_parallel |
The max number of cores to parallize the runs over, unless sepcified will use the number of cores detected by |
showMessages |
Default set to FALSE, will supress Hector error messages. |
intermediateOutput |
Default set to FALSE, but if set to TRUE will return the MSE for each variable / experiment / ensemble memeber instead over the over all MSE. |
An object returned by optim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.