Created
March 15, 2024 06:25
-
-
Save sickel/9ae88a47f665c0962120078ed93e103a to your computer and use it in GitHub Desktop.
Database table to store forecasts from met.no
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
create table forecast( | |
parameter varchar not null, | |
value numeric not null, | |
unit varchar, | |
timestamp timestamp not null); | |
alter table forecast add primary key(parameter,timestamp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see https://gist.github.com/sickel/18e9aee3d20e4151600ca385150f7cb6 for a script to insert data into this table