Re: grdcut: Error cutting over +/-180° longitude
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Does grdinfo say your etopo1 grid is geographic? If not you will have to add -fg. Sent from my iPad > On Mar 23, 2014, at 12:31 AM, Kristof Koch <[email protected]> wrote: > > 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] To unsubscribe, send the message "signoff gmt-help" to [email protected]