Discussion:
grdcontour:
Kristof Koch
2014-05-30 08:49:32 UTC
Permalink
Dear List,

I'm trying to plot a single contour line. What unit is used here when the original data (comfix-limit.txt) for generating grddist.nc is a list of coordinates? I expected degrees but only got tiny little blobs on the resulting plot. The result I'm after is a contour line 300NM away from the coordinates given in comfix-limit.txt. As you can see I tried it with "5" as there are 60NM in 1° => 300NM.

grdmath -Rd -I0.1 -fg $WORK_DIR/comfix-limit.txt PDIST = "$STORAGE_DIR"/grddist.nc

grdcontour \
$STORAGE_DIR/grddist.nc \
-J -R \
-A+5+lVHF-Coverage+v+f6p,BellCentennialStd-NameNum,red \
-Wa1.5p,red,1.5_1:0p \
-K -O \
$FILE
Any ideas what I'm doing wrong? The docs say: "[…] annotation interval [is] in data units […]". Running gmt 5.2.0_r13126 [64-bit]

All the best,
Kristof

--
My PGP Public Key: http://kristofkoch.de/pgp/


Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Eduardo A. Suárez
2014-05-30 11:37:50 UTC
Permalink
Hi Kristof,
Post by Kristof Koch
Dear List,
I'm trying to plot a single contour line. What unit is used here
when the original data (comfix-limit.txt) for generating grddist.nc
is a list of coordinates? I expected degrees but only got tiny
little blobs on the resulting plot.
PDIST output is in Km, if -fg is used as in your example.

Eduardo.-
--
Eduardo A. Suarez
Facultad de Ciencias Astronómicas y Geofísicas - UNLP
FCAG: (0221)-4236593 int. 172/Cel: (0221)-15-4557542/Casa: (0221)-4526589


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Kristof Koch
2014-05-30 16:02:45 UTC
Permalink
Hi Eduardo,
Post by Eduardo A. Suárez
Hi Kristof,
PDIST output is in Km, if -fg is used as in your example.
thank you for pointing this out. I've somehow overlooked this. I found it well hidden in http://gmt.soest.hawaii.edu/doc/latest/grdmath.html#notes-on-operators after your hint. So 300*1.852 it is for me.

Thank you for your help!
Kristof

--
My PGP Public Key: http://kristofkoch.de/pgp/


Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Continue reading on narkive:
Loading...