diff --git a/dbt_jardiner/models/jardiner/marts/_marts__models.yaml b/dbt_jardiner/models/jardiner/marts/_marts__models.yaml index 302d9bd9..1b4598db 100644 --- a/dbt_jardiner/models/jardiner/marts/_marts__models.yaml +++ b/dbt_jardiner/models/jardiner/marts/_marts__models.yaml @@ -25,6 +25,7 @@ models: - dbt_utils.expression_is_true: expression: ">= energia_instantania_inversor_kwh" config: + severity: warn where: "hora_inici > (now() at time zone 'Europe/Madrid')::date - interval '7 days'" tags: source - name: energia_perduda_inversor_a_comptador @@ -33,6 +34,7 @@ models: max_value: 1 min_value: 0 config: + severity: warn where: "hora_inici > (now() at time zone 'Europe/Madrid')::date - interval '7 days'" tags: source - name: energia_exportada_comptador_kwh @@ -64,6 +66,7 @@ models: max_value: 1 min_value: 0 config: + severity: warn where: "hora_inici > (now() at time zone 'Europe/Madrid')::date - interval '7 days'" - name: hora_disponible - name: hora_total diff --git a/dbt_jardiner/models/jardiner/raw/solargis/_raw_solargis__models.yaml b/dbt_jardiner/models/jardiner/raw/solargis/_raw_solargis__models.yaml index 7d6c12d3..e2081c55 100644 --- a/dbt_jardiner/models/jardiner/raw/solargis/_raw_solargis__models.yaml +++ b/dbt_jardiner/models/jardiner/raw/solargis/_raw_solargis__models.yaml @@ -25,10 +25,6 @@ models: description: sortida d'energia fotovoltaica en wh, des de font original sense transformacions tests: - not_null - - name: source - description: font d'on s'ha obtingut la lectura, des de font original sense transformacions - tests: - - not_null - name: request_time description: timestamp de quan es va fer la sol·licitud de dades, des de font original sense transformacions tests: