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

Feature/new analysis endpoint #3348

Merged
merged 7 commits into from
Mar 26, 2018
Merged

Feature/new analysis endpoint #3348

merged 7 commits into from
Mar 26, 2018

Conversation

pjosh
Copy link
Contributor

@pjosh pjosh commented Mar 22, 2018

Overview

This PR changes the analysis url for the umd-loss-gain dataset to use the need endpoint that @01painadam made here: gfw-api/gfw-umd-forest-api#8
I've also added a new select to analyze admin2 regions.

Demo

admin2

Copy link
Contributor

@01painadam 01painadam left a comment

Choose a reason for hiding this comment

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

Looks good and work as before. Nice work!

Copy link
Contributor

@edbrett edbrett left a comment

Choose a reason for hiding this comment

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

I cannot get this to work :|. Am I missing any env stuff?

this.abortRequest(GET_REQUEST_COUNTRIES_LIST_ID);
this.currentRequest[GET_REQUEST_COUNTRIES_LIST_ID] = ds.request(requestConfig);
}.bind(this));
return new Promise(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make sure these are alphabetically sorted?

Copy link
Contributor

Choose a reason for hiding this comment

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

Currently Norway is first.

@@ -1,6 +1,6 @@
{
"name": "globalforestwatch",
"version": "3.0.1",
"version": "3.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure why this is here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know either 🤷‍♂️

Copy link
Contributor

Choose a reason for hiding this comment

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

1 and 0 swapped places because 1 was tired of being on the window seat?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

absolutely... there can be no other explanation

@edbrett
Copy link
Contributor

edbrett commented Mar 23, 2018

Additional comments:

  • When there is no analysis data (Check norway for example) we should give feedback
  • We are still missing the 2010 data in the analysis. Maybe you could discuss with JC how to handle this?

Copy link
Contributor

@edbrett edbrett left a comment

Choose a reason for hiding this comment

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

Thanks for the update. All looks smooth to me 🤠

@pjosh pjosh merged commit f78f18b into develop Mar 26, 2018
@pjosh pjosh deleted the feature/new-analysis-endpoint branch March 26, 2018 10:58
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.

None yet

4 participants