From 0f04a862db237ac9a7cd64ebe6e23a31658d28da Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:17:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- swmm_views/08_vw_swmm_outfalls.sql | 8 ++++---- swmm_views/23_vw_swmm_xsections.sql | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/swmm_views/08_vw_swmm_outfalls.sql b/swmm_views/08_vw_swmm_outfalls.sql index c8d3aefe2..3ea840640 100644 --- a/swmm_views/08_vw_swmm_outfalls.sql +++ b/swmm_views/08_vw_swmm_outfalls.sql @@ -7,12 +7,12 @@ SELECT wn.obj_id as Name, coalesce(wn.bottom_level,0) as InvertElev, -- 'FREE'::varchar as Type, - CASE + CASE WHEN dp.waterlevel_hydraulic IS NOT NULL THEN 'FIXED' ELSE 'FREE' END as Type, -- Type of outfall boundary condition: FREE: outfall stage determined by minimum of critical flow depth and normal flow depth in the connecting conduit. NORMAL: outfall stage based on normal flow depth in the connecting conduit. FIXED: outfall stage set to a fixed value. TIDAL: outfall stage given by a table of tide elevation versus time of day. TIMESERIES: outfall stage supplied from a time series of elevations -- 0 as StageData, - CASE + CASE WHEN dp.waterlevel_hydraulic IS NOT NULL THEN waterlevel_hydraulic ELSE 0 END as StageData, @@ -45,12 +45,12 @@ SELECT wn.obj_id as Name, coalesce(wn.bottom_level,0) as InvertElev, -- 'FREE'::varchar as Type, - CASE + CASE WHEN dp.waterlevel_hydraulic IS NOT NULL THEN 'FIXED' ELSE 'FREE' END as Type, -- Type of outfall boundary condition: FREE: outfall stage determined by minimum of critical flow depth and normal flow depth in the connecting conduit. NORMAL: outfall stage based on normal flow depth in the connecting conduit. FIXED: outfall stage set to a fixed value. TIDAL: outfall stage given by a table of tide elevation versus time of day. TIMESERIES: outfall stage supplied from a time series of elevations -- 0 as StageData, - CASE + CASE WHEN dp.waterlevel_hydraulic IS NOT NULL THEN waterlevel_hydraulic ELSE 0 END as StageData, diff --git a/swmm_views/23_vw_swmm_xsections.sql b/swmm_views/23_vw_swmm_xsections.sql index 4430135da..842a30462 100644 --- a/swmm_views/23_vw_swmm_xsections.sql +++ b/swmm_views/23_vw_swmm_xsections.sql @@ -38,7 +38,7 @@ SELECT DISTINCT 0 as Geom4, 1 as Barrels, 0 as Culvert, -- default set to 0 instead of NULL - CASE + CASE WHEN ws_st.vsacode IN (7959, 6529, 6526) THEN 'planned' ELSE 'current' END as state,