[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [DebianGIS] GMTHOME in GMT?



On Tue, Oct 07, 2008 at 03:41:14PM -0700, Hamish wrote:
> Hamish:
> > I am on etch trying to run gmtinfo on a GMT .grd
> 
> Ok, I now realize that I was giving gmtinfo and gmtlist bogus command line
> options, they don't work on .grd files at all! oops.
> 
> still the question remains, do those two programs work in Debian?
> 
> 

Apparently yes, at least gmtinfo looks in the right dirs:

[...]
access("ETOPO1_Bed_g.grd.gmt", R_OK)    = -1 ENOENT (No such file or directory)
access("/home/gmt3/pwessel/DATA/NGDC/gmt/ETOPO1_Bed_g.grd.gmt", R_OK) = -1 ENOENT (No such file or directory)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
write(2, "gmtlist : Cannot find leg ETOPO1_"..., 43gmtlist : Cannot find leg ETOPO1_Bed_g.grd

It looks in the directory specified in gmtfile_paths, which is incidentally wrong.
It should be considered a configuration file, indeed.

-- 
Francesco P. Lovergine



Reply to: