rs_workflows/pi_db_models.md¶
Tables for the performance indicator database
Base
¶
Bases: DeclarativeBase
Set Base as a type, thus mypy understands it. Otherwise, error from mypy
FlowRun
¶
Bases: Base
The table flow_run brings together Prefect flow general information.
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
PiCategory
¶
Bases: Base
The table pi_category provides the list of PI per mission.
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
ProductExpected
¶
Bases: Base
This table provides all expected product from a single flow_run. This is the difficult part of the PI computing: estimate the production. The computing depends on mission, level and more generally on every STAC ITEM provided as input to the DPR processor.
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
ProductMissing
¶
Bases: Base
The table product_missing provides the list of missing_products. The list is based on what has been estimated during the construction of the table product_estimated.
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
ProductRealised
¶
Bases: Base
The table product_realised provides the list of products generated by the DPR processor.