separate annual timeseries from spr series; improve mean_age reporting#609
Conversation
SS_write_report.tpl
Outdated
| SS2out << "#_NOTE:_Y/R_unit_is_Dead_Biomass" << endl; | ||
| SS2out << "#_NOTE:_gentime_is_mean_age_of_female_spawners_weighted_by_reproductive_value-at-age_(fec(g))" << endl; | ||
|
|
||
| SS2out << "Yr Era Bio_all_eq Bio_Smry_eq SSB_unfished_eq SSBfished_eq SSBfished/R SPR Y/R GenTime" << endl; |
There was a problem hiding this comment.
Is there a reason for the change from YPR to Y/R? It seems like YPR is used most other places.
There was a problem hiding this comment.
True, but I was striving for consistency with SSB/R. Looked at other instances and agrtee with you, so will change back.
SS_write_report.tpl
Outdated
| SS2out << "#_NOTE: F_report_basis: " << F_reporting << " # " << F_report_label << endl; | ||
| SS2out << "#_NOTE: SPR_report_basis: " << SPR_reporting << " # " << SPR_report_label << endl; | ||
| SS2out << "year Era Bio_all_an Bio_Smry_an Num_Smry_an SSB recruits sel_catch_B_an dead_catch_B_an retain_catch_B_an sel_catch_N_an dead_catch_N_an retain_catch_N_an" << | ||
| " dead_catch_B/bio_smry sum_fleet_F F=Z-M M mn_age_SSB mn_age_smry mn_age_catch SPR_std Depletion_std F_std" << endl; |
There was a problem hiding this comment.
Is sum_fleet_F the same as Tot_Exploit?
There was a problem hiding this comment.
different. But that raises topic, which I m considering:
a. should I add a note to describe every cryptic column header?
b. what is preferred format of such notes:
- before or after the table
- special code to denote that the next line will be start of a table
- text uses spaces, or spaces all filled with a character like "_"
There was a problem hiding this comment.
I think it would help. I think before the table perhaps but I'll let @iantaylor-NOAA chime in here. R doesn't love spaces in text or special characters other than "_" or "." so I would avoid those 2 things when it comes to easy compatibility with r4ss.
Is Tot_Exploit under a different column header or is it no longer reported? It's used in r4ss in the get_SIS_info() which is why I am asking.
There was a problem hiding this comment.
Tot_Exploit got renamed to: dead_catch_B/bio_smry.
I can switch back to Tot_Exploit and put dead_catch_B/bio_smry into a note.
Delimiters: I already was using _ and will continue to do so.
Probably useful to look through the report file and describe all the different formats for notes that exist already. I am especially interested in making it easy for r4ss to know that a line of text is a string of headers.
There was a problem hiding this comment.
Okay, great. It's fine the way it is, I just was trying to figure out what it had become.
iantaylor-NOAA
left a comment
There was a problem hiding this comment.
Looks good. I think having a separate table of annual quantities will be really useful for assessment reports in the future.
One question: the columns labeled SPR_std and F_std in the new table were called SPR_report and F_report in the old table. It looks like the new names match the code, but if there's not a compelling reason for the change, I would switch back to the old names which I think are better aligned with "SPR_report_basis" and "F_report_basis" as well as requiring fewer changes in the r4ss code.
|
@iantaylor-NOAA - regarding F_report vs. F_std. They refer to the same quantity and both terms are used in various places through the report file, with more for F_std. I will consolidate all usage to F_std which is the name of the array. The term's history is that it is the F quantity for which the standard deviation (std) is produced and reported. |
|
Makes sense, thank you. Easy enough to adapt. |
resolves #607
Information is in the issue.
The annual_time_series table has been separated from the SPR_series table such that only per-recruit values are in the SPR table.
update and check the mean age values
add more notes on each table
Testing can be done with any model.
needs work with r4ss