nmfs-ost / ss3-doc

Source code for the Stock Synthesis manual and other documentation
https://nmfs-ost.github.io/ss3-website/
Creative Commons Zero v1.0 Universal
4 stars 2 forks source link

FMethod 4 feature #266

Open e-perl-NOAA opened 3 hours ago

e-perl-NOAA commented 3 hours ago

From conversation in the SS3 Forum:

In FMethod 4, end the list of fleets with -9998, rather than -9999. Then after reading the N tuning loops, proceed to read the F details just as in F method 2.

*(ad_comm::global_datafile) >> F_Tune;
        echoinput << "hybrid tuning loops as read: " << F_Tune << endl;
        if (ender == -9998)  // flag to trigger reading F_detail for f x t specific F values
        {
          echoinput << "# now read List of fleet-time specific F related values to read; enter -Yr to fill remaining years&seasons; -999 for phase or catch_se keeps base value for the run" << endl;
          echoinput << "#Fleet Yr Seas F_value catch_se phase" << endl;

You also need to add -9999 1 1 1 1 1 to the end of the detailed setup and you don't need to specify how many rows of detailed inputs to read before (different from F method 2).

Rick-Methot-NOAA commented 3 hours ago

Add to beginning: In order to invoke reading of F details when using FMethod 4, end the list .....