grdcut: Error cutting over +/-180° longitude
Kristof Koch <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Dear List,
I'm trying to cut the ETOPO1 grid. My script works as desired as long as -R doesn't span over +/-180° longitude, however I get the following error trying to cut over +/-180° longitude:
grdcut: Error: grid x range <= 0.0
grdcut (GMT_grdcut): Unacceptable PLOT_DEGREE_FORMAT template. A not allowed [/tmp/apollodor-8GOUnDRc/tmp_elevation_data_raw.grd]
the relevant snippet of code:
TERRAIN_BOUNDARIES=75/17/-124/79
grdcut \
ETOPO1_Ice_g_gmt4.grd \
-G"${WORK_DIR}"/tmp_elevation_data_raw.grd \
-R"${TERRAIN_BOUNDARIES}"r
After studying the grdcut manpage, I'm not quite sure how to make it work. Any hints are welcome.
All the best,
Kristof Koch
--
My PGP Public Key: http://kristofkoch.de/pgp/
To unsubscribe, send the message "signoff gmt-help" to [email protected]
signature.asc
(application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJTLrf1AAoJEJ3YS27/3eKHRVUIAJZ/XdV8rRFddrt9cWxYCjwv 0oZCxKj8X6ChTckrFvehmFkhP28m4fschosMNXXqnF872CXIoZeM5wZbRxLupHHC eXC+ZYGdd3ysBiEy2wyhKWg7Hjf66s9sulCNB0UJBQenlY4u8CFTU1oW95vbgd3l NPYYrT0X5dfAEICsp+USod9n/p5C1u1pzCzWMt/iprZFkbel3zCPpuk5iksjJsLZ ac5RkVAGcAhrvnYl+GdOui6u6VbXyNjOBjqu/RAtNd7RNbdXsysPJgt8u2BnWNOt xKQ34M+rzA23crYfuRxOfhbI/UvPXMhQChviEJd2O1rUsVrBnBIVXqZHp1PqU+0= =QCje -----END PGP SIGNATURE-----