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

TI add data upload script hand 4 5 11 1 #943

Merged
merged 27 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8e792d2
Setup new file for hand 4.5.11.1 data load
RobHanna-NOAA Oct 21, 2024
ba51b48
Update basic overall steps for new load
RobHanna-NOAA Oct 21, 2024
fd7890e
Drop Catfim Stage based Sea test
RobHanna-NOAA Oct 21, 2024
a11967a
checkin before merging in ti
RobHanna-NOAA Oct 31, 2024
d29300f
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Oct 31, 2024
c95e6c2
put back change on lambda function
RobHanna-NOAA Oct 31, 2024
4068da7
WIP in changes to load script
RobHanna-NOAA Oct 31, 2024
dadb600
WIP: working on data load
RobHanna-NOAA Nov 7, 2024
19eadac
wip
RobHanna-NOAA Nov 10, 2024
2fd2b04
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Nov 10, 2024
e85e8e0
WIP: loading data
RobHanna-NOAA Nov 13, 2024
c3ae585
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Nov 13, 2024
112afe4
merging latest ti in
RobHanna-NOAA Nov 17, 2024
c066356
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Nov 17, 2024
351e0a4
after branch 0 catchments
RobHanna-NOAA Nov 19, 2024
72606cc
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Nov 19, 2024
bc1c399
WIP loading
RobHanna-NOAA Nov 19, 2024
b66f929
wip
RobHanna-NOAA Nov 24, 2024
2157436
Merge branch 'ti' into ti_add_upload_script_hand_4_5_11_1
RobHanna-NOAA Nov 24, 2024
c8b8861
WIP added bridges
Dec 3, 2024
44dc50b
all done except Catfim Stage
Dec 9, 2024
ad0f8c1
Data load completed
Dec 10, 2024
d2443c6
cleanup outputs plus run cache trunc
Dec 10, 2024
3166811
Fixed new db name for catfim_public
RobHanna-NOAA Dec 10, 2024
86534dc
small script tweaks
RobHanna-NOAA Dec 16, 2024
19d3faf
Merge branch 'ti' of https://github.com/NOAA-OWP/hydrovis into ti_add…
RobHanna-NOAA Dec 16, 2024
19e7f0f
typo fix
RobHanna-NOAA Dec 16, 2024
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,8 @@ terraform.rc
# Ignore all jupyter checkpoint folders
.ipynb_checkpoints

Dev/env.yaml
Dev/env.yaml

# Ignore pycachefiles
**/__pycache__/*
**/__pycache__
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%nws_flood_categorical_hand_fim_sites_1_2_1_2",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,wrds_timestamp,nrldb_timestamp,nwis_timestamp,metadata_sources,ahps_lid,usgs_gage,nwm_seg,identifiers_goes_id,identifiers_env_can_gage_id,nws_data_name,nws_data_wfo,nws_data_rfc,nws_data_geo_rfc,nws_data_latitude,nws_data_longitude,nws_data_map_link,nws_data_horizontal_datum_name,nws_data_state,nws_data_county,nws_data_county_code,nws_data_huc,nws_data_hsa,nws_data_zero_datum,nws_data_vertical_datum_name,nws_data_rfc_forecast_point,nws_data_rfc_defined_fcst_point,nws_data_riverpoint,usgs_data_name,usgs_data_geo_rfc,usgs_data_map_link,usgs_data_coord_accuracy_code,usgs_data_latlon_datum_name,usgs_data_coord_method_code,usgs_data_state,usgs_data_huc,usgs_data_site_type,usgs_data_altitude,usgs_data_alt_accuracy_code,usgs_data_alt_datum_code,usgs_data_alt_method_code,usgs_data_drainage_area,usgs_data_drainage_area_units,usgs_data_contrib_drainage_area,usgs_data_active,usgs_data_gages_ii_reference,nwm_feature_data_stream_order,nws_preferred_name,nws_preferred_latlon_datum_name,nws_preferred_state,nws_preferred_huc,usgs_preferred_name,usgs_preferred_latlon_datum_name,usgs_preferred_state,assigned_crs,huc8,name,states,mapped,status,geom from hydrovis.reference.stage_based_catfim_sites_public",
"sqlQuery" : "select oid,wrds_timestamp,nrldb_timestamp,nwis_timestamp,metadata_sources,ahps_lid,usgs_gage,nwm_seg,identifiers_goes_id,identifiers_env_can_gage_id,nws_data_name,nws_data_wfo,nws_data_rfc,nws_data_geo_rfc,nws_data_latitude,nws_data_longitude,nws_data_map_link,nws_data_horizontal_datum_name,nws_data_state,nws_data_county,nws_data_county_code,nws_data_huc,nws_data_hsa,nws_data_zero_datum,nws_data_vertical_datum_name,nws_data_rfc_forecast_point,nws_data_rfc_defined_fcst_point,nws_data_riverpoint,usgs_data_name,usgs_data_geo_rfc,usgs_data_map_link,usgs_data_coord_accuracy_code,usgs_data_latlon_datum_name,usgs_data_coord_method_code,usgs_data_state,usgs_data_huc,usgs_data_site_type,usgs_data_altitude,usgs_data_alt_accuracy_code,usgs_data_alt_datum_code,usgs_data_alt_method_code,usgs_data_drainage_area,usgs_data_drainage_area_units,usgs_data_contrib_drainage_area,usgs_data_active,usgs_data_gages_ii_reference,nwm_feature_data_stream_order,nws_preferred_name,nws_preferred_latlon_datum_name,nws_preferred_state,nws_preferred_huc,usgs_preferred_name,usgs_preferred_latlon_datum_name,usgs_preferred_state,assigned_crs,huc8,name,states,mapped,status,geom from hydrovis.reference.stage_based_catfim_sites_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -1876,7 +1876,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim_1",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -2619,7 +2619,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -3318,7 +3318,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim_1",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -4061,7 +4061,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -4760,7 +4760,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim_1",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -5503,7 +5503,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -6193,7 +6193,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim_1",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,huc8,interval_stage,name,wfo,rfc,state,county,stage,stage_uni,s_src,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -6936,7 +6936,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down Expand Up @@ -7789,7 +7789,7 @@
"workspaceFactory" : "SDE",
"dataset" : "hydrovis.reference.%stage_based_catfim",
"datasetType" : "esriDTFeatureClass",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_public",
"sqlQuery" : "select oid,ahps_lid,magnitude,fim_version,model_version,huc8,interval_stage,name,wfo,rfc,state,county,q,q_uni,q_src,stage,stage_uni,s_src,wrds_time,nrldb_time,nwis_time,lat,lon,dtm_adj_ft,dadj_w_ft,dadj_w_m,lid_alt_ft,lid_alt_m,viz,geom,fim_version,model_version from hydrovis.reference.stage_based_catfim_fim_30",
"srid" : "3857",
"spatialReference" : {
"wkid" : 102100,
Expand Down
Loading
Loading