-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add longitude_continuity func to support slicing longitudes (#181)
The function moves a set of longitudinal coordinates either to the `[0, 360)` or `[-180, 180)` degrees intervals to ensure that longitude is continuous throughout the array (no 360 -> 0 jump). Optionally change a given region to match the longitude values. This way, longitude arrays can be sliced to a sub region with simple `>= <=` comparisons. Fixes #171
- Loading branch information
1 parent
96bfb1c
commit 50877d8
Showing
3 changed files
with
242 additions
and
1 deletion.
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