pycsamt.jones.config#
Configuration and canonical constants for the A.G. Jones J‑format reader/writer (pycsamt.jones).
This module centralizes tokens, regex patterns, field names, component codes, and small look‑ups that other submodules (utils, property, components, j, etc.) can import.
Notes
The J‑format is defined by A.G. Jones (1994, v2.0). A J file is organized as:
COMMENT BLOCK — lines beginning with
#(ignored by parser).INFORMATION BLOCK — lines beginning with
>KEY=VALUE.One or more DATA BLOCKs per site.
Data blocks start with a station line, a data‑type line, the number
of points to follow, then rows whose shape depends on the data type.
See FIELDS_R and FIELDS_TF below.
We intentionally keep this module free of I/O logic; only constants and patterns live here to preserve a clean import graph and make unit tests deterministic.
Classes
|
Describe a J data‑block layout. |