Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Public 5 Day Services #802

Merged
merged 2 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
DROP TABLE IF EXISTS publish.mrf_nbm_5day_max_high_flow_magnitude_public;

SELECT
feature_id_str,
strm_order,
name,
huc6,
state,
nwm_vers,
reference_time,
maxflow_5day_cfs,
recur_cat_5day,
high_water_threshold,
flow_2yr,
flow_5yr,
flow_10yr,
flow_25yr,
flow_50yr,
update_time,
geom
INTO publish.mrf_nbm_5day_max_high_flow_magnitude_public
FROM publish.mrf_nbm_10day_max_high_flow_magnitude AS main
JOIN derived.channels_conus AS channels ON main.feature_id = channels.feature_id
WHERE public_fim_domain = True;

INSERT INTO publish.mrf_nbm_5day_max_high_flow_magnitude_public (
reference_time,
update_time
) VALUES (
to_char('1900-01-01 00:00:00'::timestamp without time zone, 'YYYY-MM-DD HH24:MI:SS UTC'),
to_char(now()::timestamp without time zone, 'YYYY-MM-DD HH24:MI:SS UTC')
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- We'll temporarily increase work_mem to 512MB, to help with performance on PostGIS spatial joins (default is 4MB)
SET work_mem TO '1024MB';
DROP TABLE IF EXISTS publish.mrf_nbm_max_inundation_5day_public;

SELECT
inun.feature_id_str,
inun.geom,
inun.streamflow_cfs,
inun.reference_time,
to_char(now()::timestamp without time zone, 'YYYY-MM-DD HH24:MI:SS UTC') AS update_time
INTO publish.mrf_nbm_max_inundation_5day_public
FROM publish.mrf_nbm_max_inundation_5day as inun
JOIN derived.channels_conus AS channels ON inun.feature_id = channels.feature_id
WHERE public_fim_domain = True;
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,11 @@ postprocess_sql:
- sql_file: mrf_nbm_10day_max_high_flow_magnitude
target_table: publish.mrf_nbm_10day_max_high_flow_magnitude

product_summaries:
- sql_file: 5day_public_subset
target_table:
- publish.mrf_nbm_5day_max_high_flow_magnitude_public

services:
- mrf_nbm_10day_max_high_flow_magnitude_noaa
- mrf_nbm_5day_max_high_flow_magnitude
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ fim_configs:
target_table: publish.mrf_nbm_max_inundation_10day

product_summaries:
- sql_file: 5day_public_subset
target_table:
- publish.mrf_nbm_max_inundation_5day_public
- sql_file: 3day_src_skill
target_table:
- publish.mrf_nbm_max_inundation_3day_src_skill
Expand All @@ -79,4 +82,5 @@ product_summaries:
- publish.mrf_nbm_max_inundation_10day_hucs

services:
- mrf_nbm_10day_max_inundation_extent_noaa
- mrf_nbm_10day_max_inundation_extent_noaa
- mrf_nbm_5day_max_inundation_extent
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
service: ana_past_72hr_accum_precip_hi_noaa
summary: NAM-NEST NWP Past 72-Hour Accumulated Precipitation for Hawaii
description: 'Depicts accumulated precipitation totals over the past 72 hours derived from the NAM-NEST NWP forcing for
the operational National Water Model (NWM) analysis and assimilation for the state of Hawaii. Updated hourly.'
tags: nam-nest, nwp, accumulated, precipitation, national, water, model, nwm, hawaii, hi, precip
summary: MRMS Past 72-Hour Accumulated Precipitation Analysis for Hawaii
description: 'Depicts accumulated precipitation totals over the past 72 hours derived from the MRMS forcing for the operational National Water Model (NWM) analysis and assimilation for the state of Hawaii. If MRMS forcing data is not available, forcing data from the NAM-Nest is used as a backup. Updated hourly.'
tags: mrms, accumulated, precipitation, national, water, model, nwm, hawaii, hi, precip
credits: National Water Model, NOAA/NWS National Water Center
egis_server: image
egis_folder: nwm
feature_service: false
public_service: false
public_service: false
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
service: ana_past_72hr_accum_precip_prvi_noaa
summary: NAM-NEST NWP Past 72-Hour Accumulated Precipitationn for Puerto Rico and Virgin Islands
description: 'Depicts accumulated precipitation totals over the past 72 hours derived from the NAM-NEST and HIRES WRF-ARW NWP
forcing for the operational National Water Model (NWM) analysis and assimilation for Puerto Rico and the U.S. Virgin Islands.
Updated hourly.'
tags: nam-nest, nwp, accumulated, precipitation, national, water, model, nwm, puertorico, prvi, precip
summary: MRMS Past 72-Hour Accumulated Precipitation Analysis for Puerto Rico and Virgin Islands
description: 'Depicts accumulated precipitation totals over the past 72 hours derived from the MRMS forcing for the operational National Water Model (NWM) analysis and assimilation for Puerto Rico and the U.S. Virgin Islands. If MRMS forcing data is not available, forcing data from the NAM-Nest is used as a backup. Updated hourly.'
tags: mrms, accumulated, precipitation, national, water, model, nwm, puertorico, prvi, precip
credits: National Water Model, NOAA/NWS National Water Center
egis_server: image
egis_folder: nwm
feature_service: false
public_service: false
public_service: false
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
service: srf_48hr_accum_precip_hi_noaa
summary: NAM-NEST NWP Short-Range Accumulated Precipitation for Hawaii
description: 'Depicts expected accumulated precipitation totals over the next 48 hours derived from the NAM-Nest with
HIRESW WRF-ARW forcing for the operational National Water Model (NWM) short-range forecast for the state of Hawaii.
Updated every 12 hours.'
tags: nam-nest, nwp, accumulated, precipitation, national, water, model, nwm, hawaii, hi, precip
summary: WRF-ARW 48-Hour Accumulated Precipitation Forecast for Hawaii
description: 'Depicts expected accumulated precipitation totals over the next 48 hours derived from the WRF-ARW forcing for the operational National Water Model (NWM) short-range forecast for the state of Hawaii. Updated every 12 hours.'
tags: wrf-arw, accumulated, precipitation, national, water, model, nwm, hawaii, hi, precip
credits: National Water Model, NOAA/NWS National Water Center
egis_server: image
egis_folder: nwm
feature_service: false
public_service: false
public_service: false
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
service: srf_48hr_accum_precip_prvi_noaa
summary: NAM-NEST NWP Short-Range Accumulated Precipitationn for Puerto Rico and Virgin Islands
description: 'Depicts expected accumulated precipitation totals over the next 48 hours derived from the NAM-Nest with
HIRESW WRF-ARW forcing for the operational National Water Model (NWM) short-range forecast for Puerto Rico and the
U.S. Virgin Islands. Updated every 12 hours.'
tags: nam-nest, nwp, accumulated, precipitation, national, water, model, nwm, puertorico, prvi, precip
summary: WRF-ARW 48-Hour Accumulated Precipitation Forecast for Puerto Rico and Virgin Islands
description: 'Depicts expected accumulated precipitation totals over the next 48 hours derived from the WRF-ARW forcing for the operational National Water Model (NWM) short-range forecast for Puerto Rico and the U.S. Virgin Islands. Updated every 12 hours.'
tags: wrf-arw, accumulated, precipitation, national, water, model, nwm, puertorico, prvi, precip
credits: National Water Model, NOAA/NWS National Water Center
egis_server: image
egis_folder: nwm
feature_service: false
public_service: false
public_service: false
Loading
Loading