Stations¶
The stations of a search. The configuration of the station inventory is on the stations page.
Station
pydantic-model
¶
Bases: Location
Fields:
-
lat(float) -
lon(float) -
east_shift(float) -
north_shift(float) -
elevation(float) -
depth(float) -
network(str) -
station(str) -
location(str)
nsl
property
¶
Network Station Location code as tuple.
Returns:
| Type | Description |
|---|---|
_NSL
|
tuple[str, str, str]: Network, Station, Location |
east_shift
pydantic-field
¶
east_shift: float = 0.0
East shift towards geographical reference in meters.
north_shift
pydantic-field
¶
north_shift: float = 0.0
North shift towards geographical reference in meters.
effective_lat_lon
property
¶
Shift-corrected lat/lon pair of the location.
surface_distance_to
¶
azimuth_to
¶
distance_to
¶
offset_from
¶
shifted_origin
¶
shifted_origin() -> Self
Shift the origin of the location to the effective lat/lon.
Returns:
| Name | Type | Description |
|---|---|---|
Self |
Self
|
The shifted location. |
shift
¶
StationList
¶
A frozen station list.
Methods:
| Name | Description |
|---|---|
get_index |
Get the index of a station by its NSL code. |
get_indices |
Get the indices of stations by their NSL codes. |
get_indices_by_nsl |
Get the indices of stations by their NSL codes. |