Closed vbartolino closed 7 years ago
Hi Valerio. What is the first year and step in the model? If the first timestep (as defined for the whole simulation) is not included in the timevariable file then you'll get that error. For example, if the first year and step for the simulation is 1990, step 1 then you can create a dummy entry in the timevariable file of
1990 1 0 ; dummy entry not used 1991 1 16.25 ; spawning first calculated on this step ...
Thanks James! This solves the issue :)
The intention here is to include the effect of some external variable in the SR relationship. If I replace the parameter
mu
of the Ricker model in the spawnfile with a timeVariable like below I get the error:Error in timevariable - nothing specified for first timestep of the simulation
spawnfile:
TimeVariable file: