Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move assign_unknowns higher up #81

Merged
merged 5 commits into from
Jan 29, 2025
Merged

Move assign_unknowns higher up #81

merged 5 commits into from
Jan 29, 2025

Conversation

andybeet
Copy link
Member

@andybeet andybeet commented Nov 22, 2024

Updates

  • Moved the assign_unknowns function higher up the order of operations in get_comland_data. Now operates on raw data then allows user to aggregate by fleet/area AFTER unknowns are "imputed". Rather than allowing the user to aggregate data then assign unknowns based on aggregated data. This makes more sense and reduces the need to change arguments in unkVar and knStrata to match aggregation choice.

  • Changed get_comdisc_data.r function to work with change in aggregate_area flags (applyProps)

  • check_argument_validation function changes based on above

NOTE: All SOE indicators have been calculated based on this change (comdat,bennet) - minimal differences. Haven't looked to see if this resolves the shellfish issue seen in the 2024 report (missing AREA/EPU being assigned to wrong EPU)

@andybeet andybeet requested a review from sgaichas November 22, 2024 16:19
@andybeet
Copy link
Member Author

@sgaichas No rush on this

@andybeet andybeet merged commit c99e722 into dev Jan 29, 2025
2 checks passed
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.

1 participant