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

Hawaii and Puerto Rico FIMpact Empty Rows with Reference Time #525

Merged
merged 1 commit into from
Sep 12, 2023
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
Expand Up @@ -54,4 +54,8 @@ FROM derived.counties AS counties
JOIN derived.channels_county_crosswalk AS crosswalk ON counties.geoid = crosswalk.geoid
JOIN publish.ana_inundation_hi AS fim on crosswalk.feature_id = fim.feature_id
JOIN publish.ana_inundation_building_footprints_hi AS buildings ON crosswalk.feature_id = buildings.feature_id
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;

INSERT INTO publish.ana_inundation_counties_hi(
geoid, county, state, max_flow_cfs, avg_flow_cfs, max_fim_stage_ft, avg_fim_stage_ft, buildings_impacted, building_sqft_impacted, bldgs_agriculture, bldgs_assembly, bldgs_commercial, bldgs_education, bldgs_government, bldgs_industrial, bldgs_residential, bldgs_utility_msc, bldgs_other, reference_time, update_time, geom)
VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 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'), NULL);
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ FROM derived.counties AS counties
JOIN derived.channels_county_crosswalk AS crosswalk ON counties.geoid = crosswalk.geoid
JOIN publish.ana_inundation_prvi AS fim on crosswalk.feature_id = fim.feature_id
JOIN publish.ana_inundation_building_footprints_prvi AS buildings ON crosswalk.feature_id = buildings.feature_id
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;

INSERT INTO publish.ana_inundation_counties_prvi(
geoid, county, state, max_flow_cfs, avg_flow_cfs, max_fim_stage_ft, avg_fim_stage_ft, buildings_impacted, building_sqft_impacted, bldgs_agriculture, bldgs_assembly, bldgs_commercial, bldgs_education, bldgs_government, bldgs_industrial, bldgs_residential, bldgs_utility_msc, bldgs_other, reference_time, update_time, geom)
VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 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'), NULL);
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ FROM derived.counties AS counties
JOIN derived.channels_county_crosswalk AS crosswalk ON counties.geoid = crosswalk.geoid
JOIN publish.srf_48hr_max_inundation_hi AS fim on crosswalk.feature_id = fim.feature_id
JOIN publish.srf_48hr_max_inundation_building_footprints_hi AS buildings ON crosswalk.feature_id = buildings.feature_id
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;

INSERT INTO publish.srf_48hr_max_inundation_counties_hi(
geoid, county, state, max_flow_cfs, avg_flow_cfs, max_fim_stage_ft, avg_fim_stage_ft, buildings_impacted, building_sqft_impacted, bldgs_agriculture, bldgs_assembly, bldgs_commercial, bldgs_education, bldgs_government, bldgs_industrial, bldgs_residential, bldgs_utility_msc, bldgs_other, reference_time, update_time, geom)
VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 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'), NULL);
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ FROM derived.counties AS counties
JOIN derived.channels_county_crosswalk AS crosswalk ON counties.geoid = crosswalk.geoid
JOIN publish.srf_48hr_max_inundation_prvi AS fim on crosswalk.feature_id = fim.feature_id
JOIN publish.srf_48hr_max_inundation_building_footprints_prvi AS buildings ON crosswalk.feature_id = buildings.feature_id
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;
GROUP BY counties.geoid, counties.name, counties.geom, buildings.prop_st;

INSERT INTO publish.srf_48hr_max_inundation_counties_prvi(
geoid, county, state, max_flow_cfs, avg_flow_cfs, max_fim_stage_ft, avg_fim_stage_ft, buildings_impacted, building_sqft_impacted, bldgs_agriculture, bldgs_assembly, bldgs_commercial, bldgs_education, bldgs_government, bldgs_industrial, bldgs_residential, bldgs_utility_msc, bldgs_other, reference_time, update_time, geom)
VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 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'), NULL);