swxsoc_reach.calibration.calibration#

Pipeline entry point for processing REACH UDL files into CDF.

Functions

process_file(filename)

Process a REACH data file from one data level to the next (e.g. UDL file to an ISTP-compliant CDF).

swxsoc_reach.calibration.calibration.process_file(filename: Path) list[Path][source]#

Process a REACH data file from one data level to the next (e.g. UDL file to an ISTP-compliant CDF).

Reads the file, transforms the data into an SWXData object, writes a CDF file, and runs ISTP validation (logging warnings on any issues without raising).

Parameters:

filename (Path) – Path to the input UDL (JSON or CSV) file.

Returns:

list[Path] – List containing the path to the output CDF file.