-
Notifications
You must be signed in to change notification settings - Fork 207
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
Implement climate projections #929
Open
ekatef
wants to merge
56
commits into
pypsa-meets-earth:main
Choose a base branch
from
ekatef:implement_climate_projections
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 41 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
73601f9
Initial commit
ekatef c68abbe
Move a projection script into script directory
ekatef 2beb879
Restructure into Snakemake workflow
ekatef 1a24bad
Organize code
ekatef 174b0b1
Add inputs
ekatef 4594541
Fix Snakemake inputs
ekatef 83c6b0b
Improve documenting
ekatef b196e5a
Code clean-up
ekatef 369bc9b
Remove hardcoding and add debug plotting
ekatef d1fd454
Add parameters to the tacked configs
ekatef 21a1751
Merge branch 'main' into implement_climate_projections
ekatef 33225c7
Merge branch 'main' into implement_climate_projections
ekatef 72272d5
Fix wildcards for the projection
ekatef b288ce7
Merge branch 'pypsa-meets-earth:main' into implement_climate_projections
ekatef 7d3de0f
Merge branch 'implement_climate_projections' of https://github.com/ek…
ekatef bc5575f
Adjust inputs-outputs in the script docstring
ekatef d77af95
Add methodology
ekatef 51c8a09
Add docstrings
ekatef cebf6a3
Add TODOs
ekatef 0d7ec1d
Fix format
ekatef 0e507c1
Fix input
ekatef 47c628a
Remove hardcoding for a parameter name in a projection dataset
ekatef dc735ba
Remove hardcoding for a parameter name in a cutout dataset
ekatef 4500f45
Wrap plots into functions
ekatef 7d8e17e
Update docstrings
ekatef 42da0b8
Draft stretch implementation
ekatef e4780a9
Remove a TODO
ekatef dbe81ac
Use numpy functions
ekatef 5fa9712
Clarify a docstring
ekatef b4e1893
Improve inputs
ekatef a292e14
Fix names of the inputs
ekatef 3715f9f
Improve naming
ekatef a33b9ec
Add a stretch-reference to the docstring
ekatef d061ef3
Wrap preparation of cmip6-xarrays into a function
ekatef 1c46763
Add stretch
ekatef f3825f2
Implement stretch
ekatef 989ae50
Fix names
ekatef f68bf21
Test stretch
ekatef ba3d1a7
Fix plot parameters
ekatef c1bfe0c
Improve comments to the config parameters
ekatef 9d21fde
Add comments to the projection calculations
ekatef 58ec438
Merge branch 'main' into implement_climate_projections
ekatef a8f8636
Fix formatting
ekatef 33d90d2
Enhance docstrings
ekatef f5cb70e
Improve naming
ekatef 2177bb1
Fix parameters in a function call
ekatef 49117f2
Merge branch 'main' into implement_climate_projections
ekatef 19b65fc
Improve explanation for stretch calculations
ekatef 7ca6216
Improve naming and add enable parameters to the configs
ekatef 39fd2d1
Fix typo
ekatef 517e422
Replace hard-coding
ekatef 1f3520d
Improve naming
ekatef dd4b060
Add a check for time match
ekatef f71390f
Fix typo
ekatef 14707c8
Update the docstring
ekatef 47e7946
Remove TODOs
ekatef File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could call the option climate_projection_cutout or something like that?
I was considering if adding an option different from build_cutout may be necessary, but I believe so to avoid overwriting existing "original" cutouts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, agree that it would be nice to keep the main workflow as safe as possible from interactions with these additions.
The option name revised. Have I understood you idea correctly? :)