Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature]: add discard body weights to wtatage.ss

オープン
#575 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Rick-Methot-NOAA がすでに取り組んでいます。

2024年2月27日 から。

評価

この issue はまだ評価されていません。

説明

discard & retention duplicate wishlist
Describe the solution you would like.

need for this came up in the North Sea sole 2024 assessment with Iago and Max
probably redundant issue to #81

Describe alternatives you have considered

make discard a separate fleet.
Propose doing this by re-purposing the existing field for "birthseason" to partition. It seems highly unlikely that an empirical wtatage model would ever use birthseason (aka settlement event). That is a feature designed by age-length models that are looking at details of seasonal growth.
Currently, SS3 reads values for:
#Yr Seas Sex Bio_Pattern BirthSeas Fleet
but the sex, Bio_pattern and birthseason fields combined into "g" index for the working array. So, effectively only sex is operational:

      gg = tempvec(3);
      gp = tempvec(4);
      birthseas = tempvec(5);
      g = (gg - 1) * N_GP * nseas + (gp - 1) * nseas + birthseas; //  note  cannot handle platoons
Wt_Age_t(t, f, g, a )  is working array

PROBLEM:
expected discard does not directly refer to wt_age_t, it gets discard from total catch - retained catch biomass
else if (catchunits(f) == 1) // biomass units for retained and discarded catch
{ exp_disc(f, j) = catch_fleet(t, f, 1) - catch_fleet(t, f, 3); // discard in biomass

So I see that implementing this feature would require major changes and testing with current discard models

Statistical validity, if applicable

provides flexibility to more accurately mimic the real world situation

Describe if this is needed for a management application

yes. North Sea sole

Additional context

No response

主要言語
C++
スター
46
フォーク
19
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nmfs-ost/ss3-source-code のほかの issue

nmfs-ost/ss3-source-code の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。