You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warnstream <<"plus group mean size is carried forward and NOT being updated for time-varying growth for sex: "<< sx(g) <<". Suggest setting Linf_decay = -997, or to a pos. value that approximates Z in the initial year for the plus group";
750
751
write_message (WARN, 0);
751
752
}
752
753
}
753
754
else // Linf_decay == -997 or a positive Linf_decay is used in initial year growth
754
755
{
755
-
if (do_once ==1&& timevary_MG_firstyr == y && g == 1)
756
+
if (do_once ==999&& timevary_MG_firstyr == y && g == 1)
756
757
{
757
758
warnstream <<"plus group mean size is updated in years with time-vary growth beginning in: "<< y <<"; can turn this off with Linf_decay = -998";
Ave_Size(t, subseas, g, a) = pow(temp, inv_Richards);
878
877
}
879
878
} // done ageloop
@@ -923,16 +922,14 @@ FUNCTION void get_growth3(const int y, const int t, const int s, const int subse
923
922
// NOTE: there is no seasonal interpolation, age-specific K uses calendar age, not real age. Maybe someday....
924
923
elseif (lin_grow(g, ALK_idx, a) == -1.0) // first time point beyond AFIX; lin_grow will stay at -1 for all remaining subseas of this season
925
924
{
926
-
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * VBK_seas(s) * seasdur(s) * (real_age(g, ALK_idx, a) - AFIX) ) - 1.0) * Cohort_Growth(y, a);
925
+
Ave_Size(t, subseas, g, a) = Cohort_Lmin(gp, y, a) + (Cohort_Lmin(gp, y, a) - L_inf(gp)) * (mfexp(VBK(gp, a) * sumseas_yr * VBK_seas(s) * (real_age(g, ALK_idx, a) - AFIX) ) - 1.0) * Cohort_Growth(y, a);
Copy file name to clipboardExpand all lines: SS_write_ssnew.tpl
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1908,10 +1908,12 @@ FUNCTION void write_nucontrol()
1908
1908
{
1909
1909
report4 << AFIX <<" #_Age(post-settlement) for L1 (aka Amin); first growth parameter is size at this age; linear growth below this"<< endl
1910
1910
<< AFIX2 <<" #_Age(post-settlement) for L2 (aka Amax); 999 to treat as Linf"<< endl
1911
-
<< Linf_decay <<" #_exponential decay for growth within plus group and control for time-varying plus group size "
1912
-
<<" (value should approx initial Z; -999 replicates 3.24 (Z=0.2); -998 or -997 to not allow growth within plus group)"<< endl
1913
-
<<" #_ -998 also disables time-varying changes in plus group; -997 allows updating time-varying plus group"<< endl
1914
-
<<" #_ best option is to provide a value for initial Z"<< endl;
1911
+
<< Linf_decay <<" #_exponential decay for growth within plus group and control for time-varying plus group size "<< endl
1912
+
<<"#_only important when growth does not get near Linf by maxage"<< endl
1913
+
<<"#_value should approx initial Z; or use a code: -999 replicates 3.24 (with Z=0.2 and numbers weighted updating in years with time-varying growth)"<< endl
1914
+
<<"#_-998 ignores growth within plus group in initial year and disables time-varying changes in plus group mean size"<< endl
1915
+
<<"#_-997 ignores growth within plus group in initial year and enables updating time-varying plus group"<< endl
1916
+
<<"#"<< endl;
1915
1917
1916
1918
report4 <<"0 #_placeholder for future growth feature"<< endl;
0 commit comments