-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecated r4ss function causing errors #190
Comments
Thanks @MOshima-PIFSC, I did a quick search of the codebase and there are a lot of calls to I'm not sure immediately if SSMSE should accommodate both I plan on working on this tomorrow, but let me know if you have something time critical! |
Just to be clear, I do not think that SSmse is referencing the deprecated r4ss function |
related to #140 |
Thanks @kellijohnson-NOAA - you are right that this SSMSE function (copied from ss3sim) is what is being called. This predated the @MOshima-PIFSC, just to check, you using SS3.30.18 to run SSMSE? That is the default wrapped into SSMSE. If your model files have been run previously with a newer version of SS3, it's possible that could also cause issues. |
Ah @kellijohnson-NOAA I see that you're right, its using the SSMSE function, my bad. And @k-doering-NOAA I didn't specify the ss version to use but I believe it's using 3.30.21 (that's what is in the directory with my files and what's printed at the top of the report file). |
@MOshima-PIFSC could you try re-running your OM and EM files with SS3.30.18 and then putting it into SSMSE? SSMSE should run 3.30.18 by default in the simulations (you should see a message telling you which version of SSMSE is being used when you call Like Kelli mentioned, there have been some file name changes that SSMSE hasn't been modified to accommodate. Instead, we recommend sticking with 3.30.18, if possible. Let me know if there is a reason a newer version of SS3 is needed. If you are still having the issue, could you post or email me your example so I can try to reproduce the problem? |
@k-doering-NOAA, I re-ran the OM using ss 3.30.18 and then tried |
@MOshima-PIFSC thanks for confirming! I'm closing this out for now, but please reopen if the DM weighting removal is a deal-breaker and getting SSMSE working with a newer version of SS3 is necessary. Thanks! |
SSMSE/R/develop_OMs.R
Line 99 in 0c3dc28
I was trying to run the
develop_OMs()
function but got an error that said "data.ss_new was not created during the model run...". When I looked into the code I noticed that the function is still calling the deprecated r4ss functionrun_ss_model()
instead ofrun()
. When I userun(dir = file.path(run_SSMSE_dir, "OM_SR_BH_steep_1"), extras = "-maxfn 0 -phase 50 -nohess")
it runs without giving an error. I believe this should be a pretty simple fix to update the function and arguments to run SS.Thanks!
The text was updated successfully, but these errors were encountered: