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
external coordinates
external coordinates
Giuseppe Di Giulio
Re: external coordinates
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.
Read you
Marc
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
Marc
Re: external coordinates
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
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
Re: external coordinates
Maybe that message for "-utm" was added in 3.5.0-preview, not before.
Cheers
Marc
Cheers
Marc