Re: grdmath problems
Branden Christensen <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <CAK3C9dWpEPXZM+jHvc=-AHKrdG59yq65PkddSrCwM8qEmX=0bg@mail.gmail.com> |
Paul, HTH: Good evening. Thanks HTH, I fixed the sm_nearneighbor problem. It was not compiling. Paul, I upgraded to 4.5.11 a few days ago. Unfortunately, I get the same grdmath errors. What can I send you besides the debug (attached, grepped for grdmath below) of the program that spits the grdmath error to help you get a fuller understanding of the problem? *branden@branden:~/Desktop$ grep grdmath debug.txt * /usr/lib/gmt/bin/grdmath /opt/shakemap2/bin/../data/9583161/output/topo_data.grd.landmask /opt/shakemap2/bin/../data/9583161/output/topo_data.grd.grad AND = /opt/shakemap2/bin/../data/9583161/output/topo_data.grd.grad.1 grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/richter/jVGMTfrlN3.xy) PDIST = /opt/shakemap2/bin/../data/9583161/richter/RdHTTANfG6.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/RdHTTANfG6.grd DUP 1.35 HYPOT DUP 1 DIV LOG -0.683878 MUL EXCH 1 SUB -0.01151 MUL ADD EXCH 10 ADD LOG 0.737604 MUL SUB 0.986633 ADD -1.85017 ADD EXP 1.1 MUL 100 MUL = /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/RdHTTANfG6.grd DUP 2.54 HYPOT DUP 1 DIV LOG -0.892013 MUL EXCH 1 SUB -0.00334 MUL ADD EXCH 10 ADD LOG 0.73084 MUL SUB 0.977695 ADD 2.00752 ADD EXP = /opt/shakemap2/bin/../data/9583161/richter/pgv_est.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd 0 MUL grdmath: Warning, operand two == 0! grdmath: /opt/shakemap2/bin/../data/9583161/output/3wAxSXjMgy.grd /opt/shakemap2/bin/../data/9583161/output/jgFVq3WALA.grd ADD /opt/shakemap2/bin/../data/9583161/output/bvwDXGVlTj.grd 2 POW INV ADD /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd MUL 0 AND /opt/shakemap2/bin/../data/9583161/output/R91lVjYTYy.grd /opt/shakemap2/bin/../data/9583161/output/xyMlC1DEK5.grd ADD /opt/shakemap2/bin/../data/9583161/output/bvwDXGVlTj.grd 2 POW INV ADD DIV = /opt/shakemap2/bin/../data/9583161/richter/pga_rock.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/R91lVjYTYy.grd /opt/shakemap2/bin/../data/9583161/output/xyMlC1DEK5.grd ADD /opt/shakemap2/bin/../data/9583161/output/bvwDXGVlTj.grd 2 POW INV ADD INV SQRT = /opt/shakemap2/bin/../data/9583161/output/pga_std.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/pga_std.grd /opt/shakemap2/bin/../data/9583161/output/bvwDXGVlTj.grd DIV = /opt/shakemap2/bin/../data/9583161/output/urat_pga.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/pgv_est.grd 0 MUL grdmath: Warning, operand two == 0! grdmath: /opt/shakemap2/bin/../data/9583161/output/FMnJo7tIbZ.grd /opt/shakemap2/bin/../data/9583161/output/Mm_qhbIeYt.grd 2 POW INV ADD /opt/shakemap2/bin/../data/9583161/richter/pgv_est.grd MUL 0 AND /opt/shakemap2/bin/../data/9583161/output/qT0ZFYUpjF.grd /opt/shakemap2/bin/../data/9583161/output/Mm_qhbIeYt.grd 2 POW INV ADD DIV = /opt/shakemap2/bin/../data/9583161/richter/pgv_rock.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/qT0ZFYUpjF.grd /opt/shakemap2/bin/../data/9583161/output/Mm_qhbIeYt.grd 2 POW INV ADD INV SQRT = /opt/shakemap2/bin/../data/9583161/output/pgv_std.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/pga_rock.grd DUP DUP 10 LE 0.35 MUL EXCH DUP DUP DUP 10 GT EXCH 20 LE MUL EXCH 10 SUB 10 DIV -0.1 MUL 0.35 ADD MUL EXCH DUP DUP DUP 20 GT EXCH 30 LE MUL EXCH 20 SUB 10 DIV -0.15 MUL 0.25 ADD MUL EXCH DUP DUP DUP 30 GT EXCH 40 LE MUL EXCH 30 SUB 10 DIV -0.15 MUL 0.1 ADD MUL EXCH 40 GT -0.05 MUL ADD ADD ADD ADD 686 /opt/shakemap2/bin/../data/9583161/output/pH2TflnsIF.grd DIV EXCH POW MUL = /opt/shakemap2/bin/../data/9583161/output/pga.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/pgv_rock.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.6 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 /opt/shakemap2/bin/../data/9583161/output/pH2TflnsIF.grd DIV EXCH POW MUL = /opt/shakemap2/bin/../data/9583161/output/pgv.grd grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/richter/WV8nAeqmGZ.xy) PDIST = /opt/shakemap2/bin/../data/9583161/richter/_kwsuoQiA6.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/_kwsuoQiA6.grd DUP 1.35 HYPOT DUP 1 DIV LOG -0.675565 MUL EXCH 1 SUB -0.01151 MUL ADD EXCH 10 ADD LOG 0.702188 MUL SUB 0.939828 ADD -1.79613 ADD EXP 1.1 MUL 100 MUL = /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/_kwsuoQiA6.grd DUP 2.54 HYPOT DUP 1 DIV LOG -0.886361 MUL EXCH 1 SUB -0.00334 MUL ADD EXCH 10 ADD LOG 0.702188 MUL SUB 0.939828 ADD 2.07726 ADD EXP = /opt/shakemap2/bin/../data/9583161/richter/pgv_est.grd grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/richter/77gmf8THF1.xy) PDIST 27.47 HYPOT = /opt/shakemap2/bin/../data/9583161/richter/FztS1T5WdS.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/pgv_est.grd LOG10 0 AND DUP DUP 2.17 MUL 4.62 ADD EXCH -1.21 LE MUL EXCH DUP DUP 1.47 MUL 3.78 ADD EXCH DUP -1.21 GT EXCH 0.53 LE MUL MUL EXCH DUP 3.16 MUL 2.89 ADD EXCH 0.53 GT MUL ADD ADD 0.9 ADD 0 /opt/shakemap2/bin/../data/9583161/richter/FztS1T5WdS.grd 10 MAX 300 MIN LOG10 MUL grdmath: Warning, operand one == 0! grdmath: /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd 9.81 MUL LOG10 0 AND DUP DUP 2.08 MUL 1.71 ADD EXCH 0.14 LE MUL EXCH DUP DUP 1.55 MUL 1.78 ADD EXCH DUP 0.14 GT EXCH 1.57 LE MUL MUL EXCH DUP 3.7 MUL -1.6 ADD EXCH 1.57 GT MUL ADD ADD -0.91 ADD 1.02 /opt/shakemap2/bin/../data/9583161/richter/FztS1T5WdS.grd 10 MAX 300 MIN LOG10 MUL ADD -0.17 3.9 MUL ADD 100 MUL FLOOR 100 DIV 1 MAX 10 MIN /opt/shakemap2/bin/../data/9583161/richter/pga_est.grd OR = /opt/shakemap2/bin/../data/9583161/richter/PKMV7rja6o.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/MvmX0fKK55.grd /opt/shakemap2/bin/../data/9583161/richter/PKMV7rja6o.grd AND = /opt/shakemap2/bin/../data/9583161/richter/mi_est.grd grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/output/3UYetSbqeE.xy) PDIST 27.47 HYPOT = /opt/shakemap2/bin/../data/9583161/output/H8Xa0QNpEH.grd grdmath: /opt/shakemap2/bin/../data/9583161/richter/mi_est.grd 0.9 0 /opt/shakemap2/bin/../data/9583161/output/H8Xa0QNpEH.grd 10 MAX 300 MIN LOG10 MUL grdmath: Warning, operand one == 0! grdmath: /opt/shakemap2/bin/../data/9583161/richter/mi_est.grd -0.91 1.02 /opt/shakemap2/bin/../data/9583161/output/H8Xa0QNpEH.grd 10 MAX 300 MIN LOG10 MUL ADD -0.17 3.9 MUL ADD SUB DUP DUP 2 LE EXCH 1.71 SUB 2.08 DIV MUL EXCH DUP DUP DUP 2 GT EXCH 4.22 LE MUL EXCH 1.78 SUB 1.55 DIV MUL EXCH DUP 4.22 GT EXCH -1.6 SUB 3.7 DIV MUL ADD ADD 10 EXCH POW 9.81 DIV = /opt/shakemap2/bin/../data/9583161/output/9DLrlfZ3ID.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/9DLrlfZ3ID.grd /opt/shakemap2/bin/../data/9583161/output/zAC_vb2lfI.grd DIV = /opt/shakemap2/bin/../data/9583161/output/nqexY3K47n.grd/opt/shakemap2/bin/../data/9583161/output/9DLrlfZ3ID.grd /opt/shakemap2/bin/../data/9583161/output/zAC_vb2lfI.grd MUL = /opt/shakemap2/bin/../data/9583161/output/YA4j8CtBj2.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/Jyh94_byR9.grd /opt/shakemap2/bin/../data/9583161/output/CW3EMLqf_v.grd DIV = /opt/shakemap2/bin/../data/9583161/output/nG2D0zyB4r.grd/opt/shakemap2/bin/../data/9583161/output/Jyh94_byR9.grd /opt/shakemap2/bin/../data/9583161/output/CW3EMLqf_v.grd MUL = /opt/shakemap2/bin/../data/9583161/output/PskMeQG9w6.grd grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/output/A3A5rC858H.xy) PDIST 27.47 HYPOT = /opt/shakemap2/bin/../data/9583161/output/PsZpX7_0Kc.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/nG2D0zyB4r.grd LOG10 0 AND DUP DUP 2.17 MUL 4.62 ADD EXCH -1.21 LE MUL EXCH DUP DUP 1.47 MUL 3.78 ADD EXCH DUP -1.21 GT EXCH 0.53 LE MUL MUL EXCH DUP 3.16 MUL 2.89 ADD EXCH 0.53 GT MUL ADD ADD 0.9 ADD 0 /opt/shakemap2/bin/../data/9583161/output/PsZpX7_0Kc.grd 10 MAX 300 MIN LOG10 MUL grdmath: Warning, operand one == 0! grdmath: /opt/shakemap2/bin/../data/9583161/output/nqexY3K47n.grd 9.81 MUL LOG10 0 AND DUP DUP 2.08 MUL 1.71 ADD EXCH 0.14 LE MUL EXCH DUP DUP 1.55 MUL 1.78 ADD EXCH DUP 0.14 GT EXCH 1.57 LE MUL MUL EXCH DUP 3.7 MUL -1.6 ADD EXCH 1.57 GT MUL ADD ADD -0.91 ADD 1.02 /opt/shakemap2/bin/../data/9583161/output/PsZpX7_0Kc.grd 10 MAX 300 MIN LOG10 MUL ADD -0.17 3.9 MUL ADD 100 MUL FLOOR 100 DIV 1 MAX 10 MIN /opt/shakemap2/bin/../data/9583161/output/nqexY3K47n.grd OR = /opt/shakemap2/bin/../data/9583161/output/oXX6kM44SR.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/o2m3hjesRD.grd /opt/shakemap2/bin/../data/9583161/output/oXX6kM44SR.grd AND = /opt/shakemap2/bin/../data/9583161/output/UzGgrqve2S.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/PskMeQG9w6.grd LOG10 0 AND DUP DUP 2.17 MUL 4.62 ADD EXCH -1.21 LE MUL EXCH DUP DUP 1.47 MUL 3.78 ADD EXCH DUP -1.21 GT EXCH 0.53 LE MUL MUL EXCH DUP 3.16 MUL 2.89 ADD EXCH 0.53 GT MUL ADD ADD 0.9 ADD 0 /opt/shakemap2/bin/../data/9583161/output/PsZpX7_0Kc.grd 10 MAX 300 MIN LOG10 MUL grdmath: Warning, operand one == 0! grdmath: /opt/shakemap2/bin/../data/9583161/output/YA4j8CtBj2.grd 9.81 MUL LOG10 0 AND DUP DUP 2.08 MUL 1.71 ADD EXCH 0.14 LE MUL EXCH DUP DUP 1.55 MUL 1.78 ADD EXCH DUP 0.14 GT EXCH 1.57 LE MUL MUL EXCH DUP 3.7 MUL -1.6 ADD EXCH 1.57 GT MUL ADD ADD -0.91 ADD 1.02 /opt/shakemap2/bin/../data/9583161/output/PsZpX7_0Kc.grd 10 MAX 300 MIN LOG10 MUL ADD -0.17 3.9 MUL ADD 100 MUL FLOOR 100 DIV 1 MAX 10 MIN /opt/shakemap2/bin/../data/9583161/output/YA4j8CtBj2.grd OR = /opt/shakemap2/bin/../data/9583161/output/l2kBnFttHJ.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/sjmheg0UIm.grd /opt/shakemap2/bin/../data/9583161/output/l2kBnFttHJ.grd AND = /opt/shakemap2/bin/../data/9583161/output/25otkw3LUl.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/25otkw3LUl.grd /opt/shakemap2/bin/../data/9583161/output/UzGgrqve2S.grd SUB 0 AND 2 DIV 0.63 HYPOT = /opt/shakemap2/bin/../data/9583161/output/veVoXyW8n8.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/PDtHS1TcYy.grd /opt/shakemap2/bin/../data/9583161/output/iaZJy1JwVZ.grd ADD /opt/shakemap2/bin/../data/9583161/output/veVoXyW8n8.grd 2 POW INV ADD /opt/shakemap2/bin/../data/9583161/richter/mi_est.grd 10 ADD MUL 0 AND /opt/shakemap2/bin/../data/9583161/output/s2GnsxBqbx.grd /opt/shakemap2/bin/../data/9583161/output/UrrxcjogWB.grd ADD /opt/shakemap2/bin/../data/9583161/output/veVoXyW8n8.grd 2 POW INV ADD DIV 10 SUB = /opt/shakemap2/bin/../data/9583161/richter/mi_rock.grd grdmath: /opt/shakemap2/bin/../data/9583161/output/s2GnsxBqbx.grd /opt/shakemap2/bin/../data/9583161/output/UrrxcjogWB.grd ADD /opt/shakemap2/bin/../data/9583161/output/veVoXyW8n8.grd 2 POW INV ADD INV SQRT = /opt/shakemap2/bin/../data/9583161/output/mi_std.grd grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/output/hwxDhIWuGY.xy) PDIST 27.47 HYPOT = /opt/shakemap2/bin/../data/9583161/output/D7FwNIcwDT.grd *** buffer overflow detected ***: /usr/lib/gmt/bin/grdmath terminated /usr/lib/gmt/bin/grdmath[0x40528b] /usr/lib/gmt/bin/grdmath[0x4077a9] 00400000-0041c000 r-xp 00000000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061b000-0061c000 r--p 0001b000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061c000-0061d000 rw-p 0001c000 08:01 5904758 /usr/lib/gmt/bin/grdmath *** buffer overflow detected ***: /usr/lib/gmt/bin/grdmath terminated /usr/lib/gmt/bin/grdmath[0x40528b] /usr/lib/gmt/bin/grdmath[0x4077a9] 00400000-0041c000 r-xp 00000000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061b000-0061c000 r--p 0001b000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061c000-0061d000 rw-p 0001c000 08:01 5904758 /usr/lib/gmt/bin/grdmath grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/i_mIH4yeOk.grd] grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/Jj0mM44AlK.grd] *** buffer overflow detected ***: /usr/lib/gmt/bin/grdmath terminated /usr/lib/gmt/bin/grdmath[0x40528b] /usr/lib/gmt/bin/grdmath[0x4077a9] 00400000-0041c000 r-xp 00000000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061b000-0061c000 r--p 0001b000 08:01 5904758 /usr/lib/gmt/bin/grdmath 0061c000-0061d000 rw-p 0001c000 08:01 5904758 /usr/lib/gmt/bin/grdmath grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/TJdSGzBD1c.grd] grdmath: Given domain implies y_inc = 0.0250076 grdmath: (/opt/shakemap2/bin/../data/9583161/output/FyzmDCRlbO.xy) PDIST 27.47 HYPOT = /opt/shakemap2/bin/../data/9583161/output/j5C6foAepC.grd grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/X6IgtandE9.grd] grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/7JXYtCICgI.grd] grdmath: Not a supported grid format [/opt/shakemap2/bin/../data/9583161/output/yreSNhi5Ei.grd] grdmath: GMT SYNTAX ERROR: /opt/shakemap2/bin/../data/9583161/output/mi.grd is not a number, operator or file name grdmath: GMT SYNTAX ERROR: /opt/shakemap2/bin/../data/9583161/output/mi.grd is not a number, operator or file name Thanks for your input and suggestions! Best regards, *Branden Christensen* The Seismo Guys Blog: http://www.osop.com.pa/blog/the-seismo-guys/ Take a Virtual Tour: http://www.osop.com.pa/tour To unsubscribe, send the message "signoff gmt-help" to [email protected]
debug.txt
(text/plain, 202.1 KB) - not displayed