external coordinates

This forum is dedicated to discuss all problems and suggestions related to the use of geopsy database and its plugins (array processing, H/V,...).
Post Reply
gdg
Posts: 18
Joined: Mon May 12, 2008 12:47 pm
Location: INGV

external coordinates

Post by gdg »

Hi Marc,

I'm trying to use the geopsy fk trough command line to estimate dispersion curves,

I have problems to load files coordinates.

My dataset is composed of sac files, and the headers of station name, latitude and longitude are correctly set (stla and stlo in case of sac).

I do not use geopsy database or groups, I am working directly on sac files without gui.

Geopsy-fk run, reads the sac filse but apparently is not able to get coordinates from them.

I also tried to insert coordinates in param file in the section "begin station list" "end station list" but without success up to now.

I am wondering if it is possibile to read coordinates from sac files, or from an external file in case of command line.

My best
Giuseppe
Giuseppe Di Giulio
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: external coordinates

Post by admin »

Hi Giuseppe,

The lat and long header fields from SAC format are not read by geopsy because only Cartesian coordinates are handled. Lat and long are accepted when importing coordinates but they are converted to and stored as Cartesian coordinates. The user must specify how to do this conversion.
X, Y and Z stored in SAC fields USER7, USER8 and USER9 are read by geopsy.

Another way to set coordinates on the fly with the command line is to use option "-utm". Read the help message for details.

Code: Select all

geopsy-fk -h
Read you

Marc
gdg
Posts: 18
Joined: Mon May 12, 2008 12:47 pm
Location: INGV

Re: external coordinates

Post by gdg »

Thanks Marc.

I did not find the help message for "utm", but I solved using the relative metric coordinates (x and y) in USER7 and USER8.

You are the greatest.

My best
Giuseppe
Giuseppe Di Giulio
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: external coordinates

Post by admin »

Maybe that message for "-utm" was added in 3.5.0-preview, not before.
Cheers
Marc
Post Reply