-
Notifications
You must be signed in to change notification settings - Fork 353
b4b-dev: Python scripts: Require user to specify lon format when ambiguous #3024
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
samsrabin
merged 32 commits into
ESCOMP:b4b-dev
from
samsrabin:fix-python-tools-longitude-format
Apr 16, 2025
Merged
Changes from 18 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
6b29b53
Python tools are now smart about longitude format.
samsrabin e5bbb14
subset_data: Don't require --lon-type if lons are unambiguous.
samsrabin cb06cda
subset_data: Fix help text for --lon[1,2]? args.
samsrabin 4c004e7
Fix handling of longitude ranges that cross Prime Meridian.
samsrabin f107e09
Fix convert_lon_0to360().
samsrabin e649b0a
subset_data: Refer to ESCOMP/CTSM#2017 in lon1>=lon2 error msg.
samsrabin ade5baf
subset_data: Improve lon1>=lon2 error msg and test.
samsrabin 95ae84a
Fix submodule versions.
samsrabin 73c399e
Fix verbiage re: International Date Line vs. Prime Meridian.
samsrabin 8b905d4
subset_data: Functionize adding --lon-type arg.
samsrabin 251e389
Reformat with black.
samsrabin ef5db45
Add previous commit to .git-blame-ignore-revs.
samsrabin 4483a90
Resolve a pylint line-too-long complaint.
samsrabin 293ac54
Check longitudes in RegionalCase.
samsrabin 27d45c9
Check RegionalCase in test_unit_subset_data; fix exposed bugs.
samsrabin 3860a60
Undo some unneeded changes to subset_data args.
samsrabin 59863ad
Restore plon_type. As original, but don't convert.
samsrabin 7ca9ad0
Restore plon_type tests.
samsrabin 06577f8
Remove an unneeded print().
samsrabin 73058a4
test_sys_mesh_modifier: Set self._lon_type to 360.
samsrabin e65a59a
User's Guide: Fix a heading.
samsrabin 00ef05a
User's Guide: Improve formatting of a note.
samsrabin c64bc2e
User's Guide, subset_data: Add info about --lon-type.
samsrabin 8cabe07
Merge remote-tracking branch 'escomp/b4b-dev' into fix-python-tools-l…
samsrabin 52a300e
Python: Add Longitude class.
samsrabin 62001d5
Improve erroring around longitude type detection.
samsrabin cc7e951
Replace International Date Line language with 180th Meridian.
samsrabin e9add42
Add "Must be unambiguous" comment at pt_parser --lon.
samsrabin 8ec5013
Reformat with black.
samsrabin b4b4c53
Add previous commit to .git-blame-ignore-revs.
samsrabin 4148342
Resolve pylint complaints.
samsrabin b97904f
Merge branch 'b4b-dev' into fix-python-tools-longitude-format
samsrabin 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
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.
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.