Skip to content

minor fix to allow either INPFC or ks statification#497

Merged
brandynlucca merged 1 commit into
echostack-org:mainfrom
rebeccathomas-NOAA:fix_stratum_general_in_inversion_TS_code
May 21, 2026
Merged

minor fix to allow either INPFC or ks statification#497
brandynlucca merged 1 commit into
echostack-org:mainfrom
rebeccathomas-NOAA:fix_stratum_general_in_inversion_TS_code

Conversation

@rebeccathomas-NOAA
Copy link
Copy Markdown
Collaborator

One line fix to allow both strata instead of just ks


# Aggregate by stratum
self.sigma_bs_strata = df_length_counts.groupby(["stratum_ks"])[
self.sigma_bs_strata = df_length_counts.groupby(self.model_params["stratify_by"])[
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lala

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello !


# Aggregate by stratum
self.sigma_bs_strata = df_length_counts.groupby(["stratum_ks"])[
self.sigma_bs_strata = df_length_counts.groupby(self.model_params["stratify_by"])[
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

little comment - hi!


# Aggregate by stratum
self.sigma_bs_strata = df_length_counts.groupby(["stratum_ks"])[
self.sigma_bs_strata = df_length_counts.groupby(self.model_params["stratify_by"])[
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi

@brandynlucca brandynlucca merged commit 190cae8 into echostack-org:main May 21, 2026
8 checks passed
@rebeccathomas-NOAA rebeccathomas-NOAA deleted the fix_stratum_general_in_inversion_TS_code branch May 21, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants