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

Calculate impacts for all stands within Project Areas #2063

Merged
merged 11 commits into from
Jan 8, 2025
Merged

Conversation

roquebetioljr
Copy link
Contributor

@roquebetioljr roquebetioljr commented Jan 6, 2025

  • Calculate impacts for all stands within Project Areas, even when no action was applied to stands.
  • Filtering stands with applied actions to calculate the Project Area Treatment Result in order to keep current implementation.
  • Calculate baseline metrics for Flame Length and Rate of Spread metrics instead of calculating its impacts.
  • Some refactoring on repetitive queries to retrieve Stands.

@roquebetioljr roquebetioljr changed the title [WIP] Calculate impacts for all stands within Project Areas Calculate impacts for all stands within Project Areas Jan 7, 2025
@roquebetioljr roquebetioljr marked this pull request as ready for review January 7, 2025 14:25
@@ -402,107 +398,6 @@ def test_calculate_delta(self):
)


class AsyncGetOrCalculatePersistImpactsTestCase(TransactionTestCase):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just moved to test_tasks.py file as the tested method is under the task file.

Copy link
Contributor

@george-silva george-silva left a comment

Choose a reason for hiding this comment

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

LGTM. Let's test and see if this impacts other stuff.

@roquebetioljr roquebetioljr enabled auto-merge (rebase) January 8, 2025 17:20
@roquebetioljr roquebetioljr merged commit 4f95a2b into main Jan 8, 2025
6 checks passed
@roquebetioljr roquebetioljr deleted the plan-1906 branch January 8, 2025 17:28
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.

2 participants