nmfs-fish-tools / SSMSE

Management Strategy Evaluation (MSE) using Stock Synthesis (SS3)
https://nmfs-fish-tools.github.io/SSMSE
MIT License
18 stars 11 forks source link

Not easy to modify cod OM as a user #22

Closed k-doering-NOAA closed 3 years ago

k-doering-NOAA commented 4 years ago

While working on addressing #18, I learned that it is not intuitive on how to change the default cod model (part of package external data) to make new scenarios. For example, just trying to increase the M value lead to many problems (M needed to be changed in both control and par, or changed in control and the model needs to be run with no estimation; ultimately that M scenario is too high and crashed the population, so is probably not a realistic OM).

I think we could add functionality into SSMSE to make this process easier for users:

Probably some other ideas will be obvious as we spend more time trying to use the SSMSE code with more OMs.

k-doering-NOAA commented 4 years ago

@nathanvaughan-NOAA suggests changing the iter_list argument for run_SSMSE from a list of vectors to a vector. E.g.,

iter_list = list(1:5, 1:5), # run with 5 iterations each

to

iter_list = c(5,5) # run with 5 iterations each

Pros: makes input simpler; cons: SSMSE will need to do a bit more gymastics to find what to name folders (probably just look for the highest numbered folder in the path it is looking at).

k-doering-NOAA commented 4 years ago

@nathanvaughan-NOAA I was thinking about working on this issue (starting with your suggestion to change the iter_list argument, which I am thinking to change to iter_vec). Would this be ok to do without your changes merged into master from your dev branch? Or should I wait until you merge in so there are less conflicts?

k-doering-NOAA commented 3 years ago

the .ss_new model files are used for the OM, but the original files are used for an EM. I think this makes sense, but needs to be documented

k-doering-NOAA commented 3 years ago

I think this is sufficiently dealt with now.