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

Implementation of the productivity faowocat support #13

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Samweli
Copy link

@Samweli Samweli commented Jan 25, 2025

@mvmaltitz
Copy link

@azvoleff Please could you provide feedback on this PR

@azvoleff
Copy link
Contributor

azvoleff commented Feb 6, 2025

This looks like the right place for the substantive FAO-WOCAT code, and the right way to wrap it to produce a Trends.Earth readable output. The best approach would likely be to take Cesar's Javascript code and start with just a direct copy/paste into this script. The method names between the Javascript and Python Earth Engine APIs is similar enough that fixing syntax errors, list generation, etc., is usually all that is needed to adapt the actual algorithm code itself.

Once that is done then we'll need a new script added within the gee/ folder of the main trends.earth repository to upload to our trends.earth API. That script should access the functions defined within this repository to actually process the data and return the output to a user who submits a job to our API.

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.

Add support for FAO-WOCAT in trends algorithms
3 participants