pycsamt.iot.station#
Field-station configuration for IoT-enabled AMT/CSAMT acquisition.
A DeviceConfig describes an IoT node (its transport, channels,
and role). A StationConfig describes the ground location that
one or more nodes occupy: coordinates, profile/line membership, electrode
geometry, and sensor orientation. Separating the two mirrors real field
practice, where a recorder may be redeployed across several stations.
Functions
|
Return one row per station describing its acquisition metadata. |
Classes
|
Geospatial and acquisition metadata for one field station. |
- class pycsamt.iot.station.StationConfig(station_id, lat=None, lon=None, elevation=None, profile=None, position_m=None, channels=<factory>, dipole_length_m=None, ex_azimuth_deg=None, ey_azimuth_deg=None, device_ids=<factory>, operator=None, notes='', metadata=<factory>)[source]#
Bases:
PyCSAMTObject,MetadataMixinGeospatial and acquisition metadata for one field station.
- Parameters:
station_id (str) – Stable station identifier (e.g.
"S01"). Used as the join key across telemetry, QC, and provenance records.lat (float, optional) – Geographic coordinates in decimal degrees. Latitude is validated to
[-90, 90]; longitude accepts both[-180, 180]and[0, 360]conventions.lon (float, optional) – Geographic coordinates in decimal degrees. Latitude is validated to
[-90, 90]; longitude accepts both[-180, 180]and[0, 360]conventions.elevation (float, optional) – Ground elevation in metres.
profile (str, optional) – Survey line/profile label the station belongs to (e.g.
"L1").position_m (float, optional) – Chainage (distance along the profile) in metres. Enables ordering of stations into a 2D section.
channels (list of str, optional) – Acquisition channels recorded at the station (e.g.
["ex", "ey", "hx", "hy"]).dipole_length_m (float, optional) – Electric dipole length in metres, used for E-field scaling and contact-resistance checks.
ex_azimuth_deg (float, optional) – Orientation of the Ex/Ey electric dipoles, degrees clockwise from geographic north.
ey_azimuth_deg (float, optional) – Orientation of the Ex/Ey electric dipoles, degrees clockwise from geographic north.
device_ids (list of str, optional) – Identifiers of the IoT nodes occupying this station.
operator (str, optional) – Field operator responsible for the occupation.
notes (str) – Free-form field notes.
metadata (dict) – Free-form structured metadata.
- property coords: tuple[float, float, float] | None[source]#
Return
(lat, lon, elevation)if a location is set.
- pycsamt.iot.station.station_table(stations, *, api=None)[source]#
Return one row per station describing its acquisition metadata.
- Parameters:
stations (StationConfig | Iterable[StationConfig])
api (bool | None)
- Return type: