Page 1 of 1

external coordinates

Posted: Mon Apr 24, 2023 11:05 am
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

Re: external coordinates

Posted: Mon May 08, 2023 7:18 am
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

Re: external coordinates

Posted: Thu May 11, 2023 4:42 pm
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

Re: external coordinates

Posted: Tue May 30, 2023 12:32 pm
by admin
Maybe that message for "-utm" was added in 3.5.0-preview, not before.
Cheers
Marc