diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84d5a48..2e7aec4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.1.13" + rev: "v0.1.14" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/init/coop.sql b/init/coop.sql index 419fc4e..01acff0 100644 --- a/init/coop.sql +++ b/init/coop.sql @@ -5,7 +5,7 @@ CREATE EXTENSION postgis; CREATE TABLE iem_schema_manager_version( version int, updated timestamptz); -INSERT into iem_schema_manager_version values (18, now()); +INSERT into iem_schema_manager_version values (19, now()); create table ncei_climdiv( station char(6), @@ -118,7 +118,11 @@ CREATE TABLE alldata( narr_srad real, merra_srad real, era5land_srad real, - hrrr_srad real + hrrr_srad real, + era5land_soilt4_avg real, + era5land_soilm4_avg real, + nldas_soilt4_avg real, + nldas_soilm4_avg real ) PARTITION by range(station); ALTER TABLE alldata OWNER to mesonet; GRANT ALL on alldata to ldm; diff --git a/upgrade/coop/19.sql b/upgrade/coop/19.sql new file mode 100644 index 0000000..8cf6996 --- /dev/null +++ b/upgrade/coop/19.sql @@ -0,0 +1,4 @@ +alter table alldata add era5land_soilt4_avg real; +alter table alldata add era5land_soilm4_avg real; +alter table alldata add nldas_soilt4_avg real; +alter table alldata add nldas_soilm4_avg real;