Re: grdmath problems
Joaquim Luis <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Does the problem persist if grids are named with letters? e.g. g1.grd, g2.grd, etc... >> /opt/gmt/4.5.12/bin/grdmath 1.grd DUP DUP 10 LE 0.65 MUL EXCH DUP DUP >> DUP 10 GT EXCH 20 LE MUL EXCH 10 SUB 10 DIV -0.05 MUL 0.65 ADD MUL >> EXCH DUP DUP DUP 20 GT EXCH 30 LE MUL EXCH 20 SUB 10 DIV -0.07 MUL >> 0.60 ADD MUL EXCH DUP DUP DUP 30 GT EXCH 40 LE MUL EXCH 30 SUB 10 DIV >> -0.08 MUL 0.53 ADD MUL EXCH 40 GT 0.45 MUL ADD ADD ADD ADD 686 2.grd >> DIV EXCH POW MUL = 3.grd >> >> *** buffer overflow detected ***: /opt/gmt/4.5.12/bin/grdmath terminated >> >> In both cases, it succeed if I use ./1.grd instead of 1.grd. >> >> Could someone more reproduce these results? >> >> > > I can not reproduce them on a Lubuntu 13.10 VM with GMT5 (the only one > I have installed there) > > To unsubscribe, send the message "signoff gmt-help" to > [email protected] > > To unsubscribe, send the message "signoff gmt-help" to [email protected]