-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f890057
commit 8b75c0b
Showing
5 changed files
with
86 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
select | ||
cast(w.fecha as date) as fecha, | ||
w.indicativo, | ||
w.nombre, | ||
w.provincia, | ||
s.latitud, | ||
s.longitud, | ||
w.altitud, | ||
w.tmed, | ||
w.prec, | ||
w.tmin, | ||
w.horatmin, | ||
w.tmax, | ||
w.horatmax, | ||
w.dir, | ||
w.velmedia, | ||
w.racha, | ||
w.horaracha, | ||
w.presMax, | ||
w.horaPresMax, | ||
w.presMin, | ||
w.horaPresMin, | ||
w.hrMedia, | ||
w.hrMax, | ||
w.horaHrMax, | ||
w.hrMin, | ||
w.horaHrMin, | ||
w.sol | ||
from {{ source('main', 'spain_aemet_weather_data') }} as w | ||
left join {{ source('main', 'spain_aemet_stations_data') }} as s | ||
on w.indicativo = s.indicativo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: spain_aemet_historical_weather | ||
description: "Historical weather data for Spain. Cleaned and augmented with station metadata." | ||
config: | ||
meta: | ||
dagster: | ||
group: spain_open_data |