Version 1 (modified by MarcusWalther, 14 years ago) (diff)


How to put station location information into SH/SHM

To be able to apply array operations like beamforming or vespagrams or for computing source locations SH/SHM needs station information of the records. This information is read from a file $SH_INPUTS/STATINF.DAT only. Station information specified in data input files like GSE is ignored. The format specifications of the STATINF.DAT file are:

  • one line per station
  • the line must begin with the station name to define in uppercase letters
  • the station information follows in any order in the format <keyword>:<value>

Valid keywords are:

station latitude in degrees (required)
station longitude in degrees (required)
station elevation in m (optional)
unique number to distinguish different arrays, in particular which relative locations refer to each other (optional)
relative location in EW-direction in km (optional)
relative location in SN-direction in km (optional)
describing text, replace blanks by underscores (optional)

After the STATINF.DAT file has been modified, it is recommended to restart SH/SHM, since it holds an internal cache for the station entries.

The way SH/SHM computes relative locations xrel and yrel from latitude and longitude is:

lat := location latitude; 
lon := location longitude
reflat := latitude of reference point; 
reflon = lon. of reference point
C := 111.19 km/deg
x = (lon - reflon) * C * cos(lat)
y = (lat - reflat) * C

The code fails definitely if an array is located across the zero meridian.

back to documentation index