r2r_ctd.__main__¶
The main entry point for this software, specifically the qa()
function.
Inside the that qa func, the basic architecture is, for each path
in paths
:
Construct a
Breakout
instance passingpath
as the sole argument.Construct a
ResultAggregator
from that breakout instance.Write the geoCSV, the
Breakout
instance knows where, theResultAggregator
knows the contents.For each station in
stations_hex_paths
, generate and write the instrument configuration report, requires the companion docker container.Optionally and by default: for each station in
stations_hex_paths
, generate and write the two cnv products, requires the companion docker container.Finally, write the xml QA report.
The majority of the work of the QA is being done by the ResultAggregator
.
Functions¶
Module Contents¶
- r2r_ctd.__main__.cli(quiet)¶
- r2r_ctd.__main__.test_docker()¶
Run the docker ‘hello-world’ container and exit
- r2r_ctd.__main__.qa(gen_cnvs: bool, paths: tuple[pathlib.Path, Ellipsis])¶
Run the QA routines on one or more directories.