bsrn.archive.specs#
bsrn.archive.specs
Logical-record field definitions for BSRN station-to-archive files (LR_SPECS) and
static lookup tables: STATION_METADATA, TOPOGRAPHIES, SURFACES, QUANTITIES,
PYRGEOMETER_BODY, PYRGEOMETER_DOME.
BSRN 台站存档文件的逻辑记录字段定义(LR_SPECS)及静态编码表。
Format Codes (Fortran-style): - ‘I#’: Integer padded to # characters (e.g., I4) - ‘A#’: String/Alphanumeric padded to # characters (e.g., A38) - ‘F#.#’: Float padded to total width with specific decimals (e.g., F5.1) - ‘L’: Logical boolean (usually T/F or 1/0) - ‘ND’: Not defined / No specific width enforced by the original spec
定义了所有 BSRN 逻辑记录的严格 ASCII 固定宽度格式化规则、缺失值、 必填字段、默认值和说明性标签。
格式代码(Fortran 风格): - ‘I#’:填充到 # 个字符的整数(如 I4) - ‘A#’:填充到 # 个字符的字符串/字母数字(如 A38) - ‘F#.#’:填充到指定总宽度并带特定小数位的浮点数(如 F5.1) - ‘L’:逻辑布尔值(通常为 T/F 或 1/0) - ‘ND’:未定义 / 原始规范未强制要求特定宽度
Module Attributes
|
Nested mapping keyed by LR code and field name to Fortran-style format metadata (format, missing value, validator name, etc.); consumed by Pydantic LR models. |
|
Three-letter station code to directory metadata (name, coordinates, contacts, etc.). |
|
Quantity label string to WRMC numeric id for LR0008 radiationQuantityMeasured. |
|
Human-readable surface description to LR0004 surfaceType integer code. |
|
Topography description to LR0004 topographyType integer code. |
|
Pyrgeometer body compensation option to LR0008 pyrgeometerBody code. |
|
Dome and ventilation option to LR0008 pyrgeometerDome code. |