The init function currently only takes function init(p,v,d) but does not have the time dimension, which could provide useful information to things like the MimiRFFSPs component which needs start_year and end_year to run properly, and these are currently Parameters that will not automatically update with set_dimension! applied to a model.
In addition, make sure that the dimensions or d object includes both the keys and values (names and integers) for indices to give richer information to the component functions.
The
initfunction currently only takesfunction init(p,v,d)but does not have the time dimension, which could provide useful information to things like theMimiRFFSPscomponent which needsstart_yearandend_yearto run properly, and these are currentlyParametersthat will not automatically update withset_dimension!applied to a model.In addition, make sure that the dimensions or
dobject includes both the keys and values (names and integers) for indices to give richer information to the component functions.