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
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
31 32 33 34 35 36 | |
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
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
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
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
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
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
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
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
ProductRealised
Bases: Base
The table product_realised provides the list of products generated by the DPR processor.
Source code in docs/rs-client-libraries/rs_workflows/pi_db_models.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |