-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dateline crossing dcw polygons and tiles (#8318)
* Fix -R for the 3 dateline-crossing countries For odd reasons, the US, Russia and Fiji all cross the 180-meridian and yield idiotic west/east limits like 172.436/-66.9489, resulting in no plots for commands like gmt grdimage @earth_relief_05m -B -RUS -png USA -Vi This PR checks for this cse and now gives sensible continuous longitudes. * Create dcw-180-crossers.sh Add test script for the three 180-meridian DCW polygons USA, Russia, and Fiji. * Update PS --------- Co-authored-by: Federico Esteban <[email protected]>
- Loading branch information
1 parent
3fb344e
commit 5c0821b
Showing
3 changed files
with
14 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
outs: | ||
- md5: 226f00f8bb56bfda27786069c3ecfa19.dir | ||
nfiles: 35 | ||
- md5: 852cd5e3aed9292b7f864d0a18d207fc.dir | ||
nfiles: 36 | ||
path: grdimage | ||
hash: md5 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
# Ensure that the region for the US, Russia and Fiji are sensible | ||
# when accessing tiles, i.e., 5m and higher resolutions. | ||
# and that maps are made. Issue only affects tiles. | ||
gmt begin dcw-180-crossers ps | ||
gmt grdimage @earth_relief_05m -Bafg180 -RUS | ||
gmt grdimage @earth_relief_05m -Bafg180 -RRU -Y7.5c | ||
gmt grdimage @earth_relief_05m -Bafg180 -RFJ -Y4.5c | ||
gmt end show |