Re: grdmath problems
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Are you doing this in the wrong dir or without 1.grd 2.grd present? When I add -V it prints out the commands as it is executing them. Yours says it cannot find 1.grd which means that file is not there. Please check, place the files, then rerun with -V and tell us how far grdmath gets before the crash. -p On Jan 25, 2014, at 6:06 AM, Branden Christensen <[email protected]> wrote: > Paul, Marcelo and others: > > > Good day. > > First, -V: > > Unfortunately, -V does not appear to produce valuable output.... > > osop@osop-displays2:/opt$ /usr/src/gmt-4.5.11/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 -V > -bash: /usr/src/gmt-4.5.11/bin/grdmath 1.grd: No such file or directory > osop@osop-displays2:/opt$ /usr/src/gmt-4.5.11/bin/grdmath -V 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 > grdmath: GMT SYNTAX ERROR: 1.grd is not a number, operator or file name To unsubscribe, send the message "signoff gmt-help" to [email protected]