Mxolisi Shongwe
2013-08-05 07:17:08 UTC
Hello,
I installed GMT last week and have been trying to run this short script:
#!/bin/bash
R="28/42/-10/4"
M=M15
gmtset GRID_CROSS_SIZE 0 ANOT_FONT_SIZE 15 GRID_PEN_PRIMARY 0.001p
psbasemap -R$R -J$M -Ba3.5/a2.0/WS -P -K > test.ps
pscoast -R$R -J$M -K -O -P -Dh -N1 -I10 -W4 >> test.ps
===
I get the error messages appended below which I've been trying in vain to solve. I already specify R="28/42/-10/4. Before this, I had an error related to libnecdf.so.4 despite that I have the latest version of netcdf which I believe should be compatible with previous versions.
psbasemap: GMT SYNTAX ERROR: Must specify -R option
psbasemap: GMT SYNTAX ERROR: Must specify at least one of -B, -G, -L, -T
pscoast: GMT SYNTAX ERROR: Must specify -R option
pscoast: GMT SYNTAX ERROR: Geographic coastline data require the use of a map projection (use -Jx<scale>d if linear scaling is desired).
==
Please help!
Many thanks,
mxolisi
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
I installed GMT last week and have been trying to run this short script:
#!/bin/bash
R="28/42/-10/4"
M=M15
gmtset GRID_CROSS_SIZE 0 ANOT_FONT_SIZE 15 GRID_PEN_PRIMARY 0.001p
psbasemap -R$R -J$M -Ba3.5/a2.0/WS -P -K > test.ps
pscoast -R$R -J$M -K -O -P -Dh -N1 -I10 -W4 >> test.ps
===
I get the error messages appended below which I've been trying in vain to solve. I already specify R="28/42/-10/4. Before this, I had an error related to libnecdf.so.4 despite that I have the latest version of netcdf which I believe should be compatible with previous versions.
psbasemap: GMT SYNTAX ERROR: Must specify -R option
psbasemap: GMT SYNTAX ERROR: Must specify at least one of -B, -G, -L, -T
pscoast: GMT SYNTAX ERROR: Must specify -R option
pscoast: GMT SYNTAX ERROR: Geographic coastline data require the use of a map projection (use -Jx<scale>d if linear scaling is desired).
==
Please help!
Many thanks,
mxolisi
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu