bsrn.archive.records_models#
Explicit Pydantic logical-record models aligned with specs.LR_SPECS.
Each scalar/header field uses lr_spec() once: it attaches both BSRN
json_schema_extra (Fortran layout) and post-parse validation
(Annotated + AfterValidator). LR0100 / LR4000 minute columns use
lr_spec_field plus a shared field_validator that reads yearMonth.
显式 Pydantic 逻辑记录模型。标量/头字段 用 lr_spec 一次完成元数据 + 校验;
LR0100/LR4000 分钟列 用 lr_spec_field 与 field_validator``(依赖 ``yearMonth)。
Functions
|
One logical-record field: |
|
Pydantic |
Classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Minute-resolution archive block; series columns accept |
|
LR0300 reflected / upward radiation minute block (SWU, LWU, Net). |
|
LR4000 pyrgeometer minute block; series columns accept |
|