-
Notifications
You must be signed in to change notification settings - Fork 51
Add a decoding mask option to only include subset of grid nodes in m2g #34
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
Merged
Merged
Changes from 56 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
8a11527
Start looking into where xy has to be changed
2c7e4eb
Change shapes in docstrings
6f03908
Make flat mesh graphs work with new coordinate layout
d2a081a
Merge PR #26 into branch
9dbd2a5
Fix coordinate handling in multirange graph creation
eada6ea
Rename grid_refinement_factor to mesh_node_distance
01180a1
Fix existing tests to work with new coordinate format
d103ad6
Add test for irregularlygridded coordinates
7ba387e
Remove unneeded eps in mesh level calculation
9069c84
Change documentation to use new format and arguments for coordinates
d592c2b
Fix bug in coordinate order for flat graphs
fd695b1
Start working on allowing latlon coordinates
2c781ee
Introduce coords and projection
5cf3bbf
Merge branch 'main' into general_coordinates
0f17d2c
Fix linting
f145025
Fix tests with coords keyword argument
cc4cc5e
Implement lat-lon transformation through projection
2627e37
Add documentation page about graphs constructed using lat-lons
c764fd7
Adjust coords keyword arg in docs
f6ae35b
Add test for lat-lon coordinates
22caf65
Fix linting of docs
7ec34ff
Merge main into branch
f564c70
Add decode_mask for only including subset of grid nodes in m2g
2333d53
Add test for decode filtering
3ee25ae
Fix typos and clarifications as suggested from code review
joeloskarsson 70eef3e
Change euclidean coordinates to Cartesian coordinates
3c4866b
Merge branch 'main' into general_coordinates
5f33bc5
Merge branch 'general_coordinates' into decoding_mask
63df482
Merge branch 'main' into decoding_mask
350e0c0
Sort nodes and subgraphs for saving
806b78f
Fix linting
4fb69dc
Merge branch 'main' into general_coordinates
8fcf182
Apply suggested documentation and code readability updates
joeloskarsson 746966f
Update src/weather_model_graphs/create/mesh/kinds/hierarchical.py
joeloskarsson 47b5dcc
Clarify comments and variable names around mesh level computation
05a0cc6
Add check for number of nodes in test with irregular coords
339feff
Update docs line on square meshes
6b281bf
Reference lat-lon notebook in coordinate section
a525818
Change projection spec to use pyproj crs:s
8733359
Adjust test to crs arguments
c95f023
Fix linting
bcaf1e1
Update docs to crs change
8e3c1cb
Add cartopy dependency to visualization group
541054e
Merge branch 'general_coordinates' into decoding_mask
169ea48
Sort nodes by id before pyg conversion
a6b6137
Introduce option to return graph components directly, used through kw…
7576b43
Merge branch 'main' into decoding_mask
ae90eb8
Add explanation of **kwargs to archetype docstrings
ee8601e
add test ensuring unchanged grid-indecies /w decode mask
leifdenby e178a0b
add test and example notebook
leifdenby f50a9cd
Add Iterable[bool] type hint for mask
a48fd9d
Merge branch 'main' into decoding_mask
68cf065
Complete decoder mask test
fe81b5d
Add comment explaining the return_components option
joeloskarsson 92b9d41
Rename node id -> label
joeloskarsson 127d54d
Linting
718b769
work on notebook
leifdenby 958273c
Fix typo
joeloskarsson 3a4185e
Fix g2m/m2g typo in test
801a6b1
Add clarifying comment
321eb98
Clarify comment about node ordering
99eb7da
Get rid of **kwarg arguments in archetypes
94413c7
remove saving/loading masked-decoding graphs example
leifdenby 1ac0a94
clear all notebook outputs
leifdenby 71ce0a4
Merge branch 'decoding_mask' of https://github.com/joeloskarsson/weat…
leifdenby 69f7f84
Make some small tweaks to documentation notebook
joeloskarsson 26177ed
Linting notebook
joeloskarsson 8806ca1
Add changelog entry
joeloskarsson c377812
Merge branch 'main' into decoding_mask
joeloskarsson 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.