Skip to content

Commit

Permalink
lower severity of values range to warning (et/somenergia-jardiner!11)
Browse files Browse the repository at this point in the history
* lower severity of values range to warning
  • Loading branch information
polmonso committed Sep 21, 2023
1 parent f9bf4a1 commit b2be3b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions dbt_jardiner/models/jardiner/marts/_marts__models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b2be3b8

Please sign in to comment.