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

Create maps future change #50

Merged
merged 12 commits into from
Mar 31, 2022
Merged

Create maps future change #50

merged 12 commits into from
Mar 31, 2022

Conversation

geek-yang
Copy link
Member

@geek-yang geek-yang commented Mar 23, 2022

@Peter9192
Copy link
Member

@geek-yang is this ready? If so, can you mark it ready for review, and request a review?

@geek-yang geek-yang marked this pull request as ready for review March 25, 2022 16:45
@geek-yang
Copy link
Member Author

This PR is ready for review. Since there are too many maps, to make it easier for review, I created another tab called "future change" and this allows you to check those maps. Note that this tab will be nested in the "past performance" one as planned. We will handle it when addressing issue #43.

The sonarcloud complain is due to the duplication of tabs. We can ignore it for now.

@geek-yang
Copy link
Member Author

The notebook used to generate all these maps is this. Since there are many exceptional cases (that's why there are many if statement in the code) in past performance and future change and they are therefore separated in this notebook.

@geek-yang geek-yang requested a review from bvreede March 28, 2022 08:38
@bvreede
Copy link
Member

bvreede commented Mar 29, 2022

I don't know if this works, but this is the URL that directly refers to the PR review sans .png files.

Copy link
Member

@bvreede bvreede 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 to me :)

components/cpm/Performance.vue Outdated Show resolved Hide resolved
components/cpm/Performance.vue Outdated Show resolved Hide resolved
components/cpm/Performance.vue Outdated Show resolved Hide resolved
@Peter9192
Copy link
Member

Reviewed live yesterday, will wait for new changes.

@sonarcloud
Copy link

sonarcloud bot commented Mar 30, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
55.1% 55.1% Duplication

@geek-yang
Copy link
Member Author

@bvreede Thanks for your review, changes that you suggested have been implemented now.

@Peter9192 Thanks for spotting the mistake about the calculation. Now all maps are calculated as "future runs (rcp85)" minus "past runs (his)". All maps are regridded to 0.5 deg (otherwise the clipping tool does not work). This PR is ready for review again.

@Peter9192
Copy link
Member

Hey @geek-yang thanks again for the hard work. I had a quick look and it seems better now. There might still be some tweaking and maybe some more bugs, but at this stage I think it's good to merge and share it with more people - then we're more likely to catch any remaining problems.

One small thing I noticed is that some maps seem to have coordinates between 0-360 instead of -180-180. For Europe, this leads to images like this:

image

Perhaps this can be addressed in a future PR.

@geek-yang
Copy link
Member Author

Hey @geek-yang thanks again for the hard work. I had a quick look and it seems better now. There might still be some tweaking and maybe some more bugs, but at this stage I think it's good to merge and share it with more people - then we're more likely to catch any remaining problems.

One small thing I noticed is that some maps seem to have coordinates between 0-360 instead of -180-180. For Europe, this leads to images like this:

image

Perhaps this can be addressed in a future PR.

Thanks for your review @Peter9192 . I create a new issue for it #55 . We can address it later. I will merge this PR.

@geek-yang geek-yang merged commit e6460e7 into main Mar 31, 2022
@geek-yang geek-yang deleted the maps-future-changes branch March 31, 2022 08: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
3 participants