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

FLAG-1210: replace carto query with precalculated table for soil organic widget #4909

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

wri7tno
Copy link
Collaborator

@wri7tno wri7tno commented Jan 5, 2025

Overview

Brief description of what this PR does, and why it is needed.

Demo

If applicable: screenshots, gifs, etc.

Notes

If applicable: ancilary topics, caveats, alternative strategies that didn't work out, etc.

Testing

  • Include any steps to verify the features this PR introduces.
  • If this fixes a bug, include bug reproduction steps.

Copy link
Collaborator

@willian-viana willian-viana left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -2747,6 +2749,55 @@ export const getBiomassStock = (params) => {
}));
};

export const getSoilOrganicCarbon = (params) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason to remove this method from the climate.js file to add it here? 

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that file was using carto, but I can move it to that file if we want to clean up this one

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

although it follows the very same logic all other functions in this file do, like using the sql queries at the top of the file and whatnot

@wri7tno wri7tno merged commit 2f50b2e into develop Feb 3, 2025
3 checks passed
@wri7tno wri7tno temporarily deployed to gfw-staging-pr-4909 February 3, 2025 16:45 Inactive
@wri7tno wri7tno deleted the feat/FLAG-1210 branch February 3, 2025 16:45
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