User talk:Captain Blood~enwiki/GMT Example

Nice Example
Would just like to say thanks for this working example, it worked exactly the way it was meant to. I installed GMT with cygwin on Windows Vista on my laptop, was a bit tricky to get it all working right but got there in the end. The main problem was getting cygwin to run properly, to anyone reading this the key for me was to go to bash.exe and under properties/compatibility choose run as administrator, otherwise the GMT executables just keep crashing. Jackaranga 09:14, 3 October 2007 (UTC)

Nice Example Thanks Captain Blood
I also was able to follow the instructions.Got it working with cygwin running on Vista.

Here I have a few comments where I had trouble.

When downloading the etopo2.grid.gz from http://dss.ucar.edu/datasets/ds759.3/data/etopo2_2001sep/index.html created by Ben Horner-Johnson I was getting an error when trying to apply gunzip to it I email the guy resposible at the site and he mentioned that the file was alredy uncompress so all I needed was to change the name from etopo2.grd.gz to etopo2.grd.

The other issue I have was all the files need to be save in Unix format (Could be done easily using TexPad (editor). Otherwise you keep getting and error that looks like

c:\programs\GMT\bin\grdimage.exe: GMT Fatal Error: Z-slice with dz = 0 c:\programs\GMT\bin\psscale.exe: GMT Fatal Error: Z-slice with dz = 0

After fixing those things the program ran as describe.

Beautiful maps! Thanks Again Captain Blood

SilentVoice

Another script to make the tiles from noaa into grd files easier
This script could be use to do the conversion of the Tiles from the site http://www.ngdc.noaa.gov/mgg/topo/gltiles.html

It assumes all the Tiles are present in the directory where you run the script and it will produce all the grd pair Doing this will be useful as it will allow you to maps of any place on earth!

SilentVoice

Better formating for source code
Captain Blood I added the wiki tags

around your script to get a nicer formating. Hope you do not mind Best Regards SilentVoice

Question about "arctext" command used in http://de.wikipedia.org/wiki/Datei:Kanada_topo.jpg
Hello Captain Blood,

Thank you for the excellent description about creating maps with GMT.

I am trying to understand how you did arctext in you example "Kanada".

arctext "Atlantischer Ozean" 2 14 0 23.5  12.5  180  1.2 20.0 >arcs.txt

On my Debian-Linux I do not have such a command. I installed the "R environment" which has an arctext command but I expect you did not use it. ( http://cran.r-project.org/web/packages/plotrix/plotrix.pdf )

Did you write your own wrapper script for acrtext which calculates values for pstext?

Regards, Michael — Preceding unsigned comment added by Captain Mi (talk • contribs) 08:38, 7 March 2011 (UTC)