IoT-Enabled Field Acquisition#

The pycsamt.iot subpackage documents and audits IoT-enabled AMT, MT, CSAMT, and CSEM acquisition. It does not replace the normal impedance, quality-control, dimensionality, or inversion workflow. Instead, it records the operational layer around those data: devices, stations, packets, edge QC decisions, power, clock synchronisation, security configuration, and provenance. It also bridges back into the science API, turning edge impedance estimates into a pycsamt.z.z.Z and a preliminary EDI, and seeding a re-occupation session from an existing EDI survey.

Use this guide to configure and audit the operational layer of an IoT-enabled field survey: telemetry, edge QC, monitoring, power, synchronisation, security, and provenance.

Guide Sections#

Basic Session

Build a FieldSession from devices, stations, telemetry packets, station tables, and pipeline hand-off metadata.

Basic Session
Edge QC

Reduce live windows, score finite coverage and spikes, and encode edge QC decisions as telemetry.

Generic Edge QC
AMT Diagnostics

Check SNR, powerline harmonics, frequency coverage, sensor dropout, contact resistance, and impedance stability.

AMT/CSAMT Edge Diagnostics
Telemetry

Create canonical packets, use dry-run transports, write JSONL logs, replay messages, and inspect packet tables.

Telemetry Transports
Monitoring

Turn telemetry packets into survey status, packet success rates, latency checks, and issue lists.

Monitoring
Visualization

Plot dashboards, edge-QC summaries, power budgets, and clock quality panels from IoT sessions and packets.

Visualization
Power Management

Estimate load, harvest, runtime, autonomy, power state, and power telemetry for field devices.

Power Management
Clock Sync

Assess clock offset, drift, jitter, reference support, GPS lock, and synchronisation quality.

Clock Synchronisation
Provenance

Record acquisition manifests, file hashes, QC decisions, station audits, and reproducibility bundles.

Provenance and Reproducibility
Security

Configure credentials, TLS settings, authentication modes, secret redaction, and deployment security summaries.

Security
Simulation

Generate deterministic AMT-like channels, stations, networks, packet loss, GPS drift, and battery decay for demos and tests.

Simulation

Core Concepts#

DeviceConfig

A recorder, gateway, remote-reference node, or sensor node. It stores protocol, sample rate, station assignment, channels, and role.

StationConfig

A field occupation location. It stores coordinates, profile chainage, channel list, dipole geometry, orientation, operator, and attached devices.

TelemetryPacket

A timestamped message with a canonical topic and payload. Packet kinds include data, qc, health, sync, power, event, and source (controlled-source transmitter telemetry).

FieldSession

A stateful survey container that links devices, stations, packets, monitoring, station tables, pipeline inputs, and provenance manifests.

MethodProfile

Canonical acquisition characteristics for an EMMethod (AMT, MT, CSAMT, CSEM, TDEM/TEM): frequency band, required channels, nominal sample rate, and controlled-source / powerline-sensitivity flags. Profiles drive method-aware QC.

Scope Note#

The IoT layer records operational evidence around acquisition. It does not change the electromagnetic inversion itself.

Edge packets can record finite-data coverage, spike and harmonic contamination indicators, frequency coverage, channel health, and accept/reject decisions. These metrics help identify poor acquisition windows and operational faults before downstream AMT/CSAMT processing.