Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Example outputs

What sbe-qa-processing writes, for one real cruise: SP2613, R/V Robert Gordon Sproul, a day off San Diego on 2026-07-09 (R2R CTD fileset 169847): an SBE 911plus with dual temperature and conductivity, four stations and a deck test.

Directory Command Files
run/ run, the core QA, as the OpenVDM hook writes it the PDF report, the cast map and Station 1's pressure record
r2r/ r2r run, with R2R's CTD tests the PDF report, with R2R's certificate after the title block, and the R2R QA 2.0 XML

Left out: the other figures, since every one is in the PDFs, and the notebooks, which hold local paths.

SP2613's casts

Rebuilding them

From a clone, after a change to the reports. SP2613's fileset is committed in tests/data/, and uv run pytest unpacks it into data/:

[ -d data/SP2613_169847_ctd ] || (mkdir -p data && tar -xJf tests/data/SP2613_169847_ctd.tar.xz -C data)
uv run sbe-qa-processing fetch-map-data   # the map's coastlines
rm -rf output/examples
uv run sbe-qa-processing run data/SP2613_169847_ctd -c tests/configs/SP2613.toml -o output/examples/run
uv run sbe-qa-processing r2r run tests/configs/SP2613.toml data/SP2613_169847_ctd -o output/examples/r2r
cp output/examples/run/SP2613_qa_report.pdf docs/examples/run/
cp output/examples/run/SP2613_plots/{cast_map,SP2613_Station1_pressure}.svg docs/examples/run/SP2613_plots/
cp output/examples/r2r/SP2613_169847_{qa_report.pdf,qa.2.0.xml} docs/examples/r2r/

Run them from the repository's root, so the reports name the fileset by its relative path, data/SP2613_169847_ctd.