-
Notifications
You must be signed in to change notification settings - Fork 31
Add support for reading, defining and outputting CF-compliant projection info #38
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
Open
observingClouds
wants to merge
34
commits into
mllam:main
Choose a base branch
from
observingClouds:projection_support_stage1
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 all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1683d16
add DANRA projection information
observingClouds aa87576
add projection handlers
observingClouds 4826e20
add doctest CI
observingClouds b67998d
add pyproj dependency
observingClouds ba4caa7
save proj source instead of object
observingClouds 9244fdf
add projection info to output
observingClouds 8dd485a
ignore coordinates for projection evaluation
observingClouds a8eacc4
fix doctest
observingClouds db737ab
allow slight rounding deviations in doctest
observingClouds 44dff49
make projections optional
observingClouds fdb984b
fix VALID_EXAMPLE_CONFIG_YAML to work with current codebase
observingClouds 91ddfc2
add optional projection key to config schema
observingClouds ac0792c
first working implementation
observingClouds d895094
improve type annotation and docu
observingClouds ae35d39
fix example for lat,lon retrieval
observingClouds 05c3921
fix doctest
observingClouds 350cf92
document changes
observingClouds 18980b3
fix docstring
observingClouds 5da27df
change standard CRS variable name
observingClouds 0677415
use cartopy plotting compatible WKT
observingClouds 967e9bd
fix typo
observingClouds b830f95
add details to changes
observingClouds a584f91
Merge branch 'main' into projection_support_stage1
observingClouds ed7250a
add warning for overwriting of dataset projection info
observingClouds a6005f6
use latest schema version for VALID_EXAMPLE_CONFIG_YAML
observingClouds a63502d
fix linting
observingClouds d4480c0
fix early evaluation of var_name, altitude
observingClouds 7e5c79c
fix linting
observingClouds ec75257
ensure WKT string is set; warn if BBOX not given
observingClouds 7310352
make projections argument required
observingClouds 2246522
write projection to output file
observingClouds b4c67d7
temporary pin (issues with zarr version 3)
observingClouds 60bda54
raise exception if projection info is missing
observingClouds 95946c8
Merge branch 'main' into projection_support_stage1
observingClouds 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 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.
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.
@ealerskans this would be my current proposal for you on where and how you could generate the lats and lons from x and y.
This is obviously per projection in each dataset and because we only accept one projection for now, you might just skip this step for all following datasets.
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.
the function is available from
from .ops.projection