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

Main 4.5.11.3 #1329

Merged
merged 361 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
361 commits
Select commit Hold shift + click to select a range
dcf414f
Adjust SRC with user observed feedback points
RyanSpies-NOAA Sep 14, 2021
fb487ca
Bump pillow from 8.3.0 to 8.3.2
dependabot[bot] Sep 16, 2021
4e27d50
Approx bankfull stage and apply composite roughness in synthetic rati…
RyanSpies-NOAA Oct 12, 2021
41fdf7b
adding tool that allows the codebase to be linted and standardized (#…
nickchadwick-noaa Oct 22, 2021
e00d322
Fixing reversed flow on MS River
BrianAvant Oct 26, 2021
8b6bc74
Combine SRC modification modules in fim_run.sh post-processing step
RyanSpies-NOAA Nov 4, 2021
dbefb75
Patch updater.py after BARC merge
BradfordBates-NOAA Nov 4, 2021
f903a80
Fix for null discharge values from composite roughness calcs
RyanSpies-NOAA Nov 4, 2021
69f5fb3
Additional hydraulic properties to hydroTable and additional files in…
RyanSpies-NOAA Nov 5, 2021
da24211
Adds full resolution and mainstem inundation composite capability
CarsonPruitt-NOAA Nov 16, 2021
b4e8682
Patch for inundation composite
CarsonPruitt-NOAA Nov 18, 2021
f58af3e
[1pt] PR: Hotfix for .csv file delete in SRC post-processing (#486)
RyanSpies-NOAA Nov 18, 2021
3dabefc
Update pip package to fix projection issue
nickchadwick-noaa Nov 29, 2021
605b95a
FIM version 4
RobHanna-NOAA Feb 1, 2022
fc8d0f8
Adds basic unit test capabilities
RobHanna-NOAA Feb 2, 2022
8eba0ee
Preliminary readme fixes and deletion of old Changelog
BradfordBates-NOAA Feb 2, 2022
e81ec28
Unit tests improvements
RobHanna-NOAA Feb 9, 2022
2410757
Adds unit test templates to make it easier to create new unit tests
RobHanna-NOAA Feb 9, 2022
9d57655
Bump ipython from 7.29.0 to 7.31.1 (#510)
dependabot[bot] Feb 9, 2022
d133add
Suppress unit tests warnings which made outputs harder to read
RobHanna-NOAA Feb 25, 2022
45c7d6c
New Feature to remove stream orders 1 and 2 if desired via command arg
RobHanna-NOAA Mar 3, 2022
b11f981
FIM 4 USGS gage crosswalk and Sierra Test
CarsonPruitt-NOAA Mar 4, 2022
f8eb1e0
Bug fixes for the Alpha Test to run in FIM 4
CarsonPruitt-NOAA Mar 10, 2022
153e638
Bump pillow from 9.0.0 to 9.0.1 (#563)
dependabot[bot] Mar 14, 2022
43bcf49
Stream order selection bug fixes, new logging features
RobHanna-NOAA Apr 12, 2022
309b9ba
[1pt] PR: New tools and adjustments for bulk gms processing for alpha…
RobHanna-NOAA May 2, 2022
cf2038e
Update README.md (#589)
BradfordBates-NOAA May 5, 2022
b56f79f
[1pt] PR: Hotfixes and updates to FIM4 alpha eval and eval plots (#594)
RyanSpies-NOAA May 10, 2022
57f4a76
Update to fix error related to old version of flask (#599)
RobHanna-NOAA May 17, 2022
1820af9
[1pt] Mosaic inundation maps for FIM3 FR and FIM4 GMS SO 3+ (#605)
RobHanna-NOAA May 26, 2022
235268f
[1pt] PR: 'Branch zero' that utilizes the full stream network (#611)
CarsonPruitt-NOAA Jun 16, 2022
ad291bc
[1pt] PR: Alpha Test Refactor (#612)
CarsonPruitt-NOAA Jun 28, 2022
1ca6b65
added version to pipenv (#634)
RobHanna-NOAA Jul 21, 2022
e12c2ad
Updated unit tests based on latest code and adjusted some pathing (#622)
RobHanna-NOAA Jul 29, 2022
b5fd3db
Simplify usage of fim4 via gms_pipeline.sh (#641)
RobHanna-NOAA Aug 1, 2022
2ecf528
Bug fix for missing `testing_versions` folder (#642)
mluck Aug 1, 2022
6cad26a
Removing special characters from CHANGELOG (#649)
BradfordBates-NOAA Aug 3, 2022
3701056
Adding step to trim DEM derived streamlines if they extend past branc…
JamesColl-NOAA Aug 10, 2022
0d11759
Prune branches that fail with Exit status: 61 in split_flows.py (#655)
mluck Aug 16, 2022
194ca51
Adds USFIMR Data to Benchmark Capability (#639)
EricMyskowski-NOAA Aug 16, 2022
dacbed0
Update docker python packages for calibration db (#652)
RobHanna-NOAA Aug 18, 2022
89a978f
FIM4 synthetic rating curve calibration functionality (#657)
RyanSpies-NOAA Aug 18, 2022
79bcbb2
Patches for FIM4 alpha test (#658)
CarsonPruitt-NOAA Aug 19, 2022
010f371
Hotfix for addressing missing input variable in gms_run_branch.sh (#665)
RyanSpies-NOAA Aug 29, 2022
40d2258
Update Inundate_nation.py for FIM4 (#654)
CalebOliven-NOAA Aug 29, 2022
68e7643
Prune branches in waterbodies (#671)
mluck Aug 31, 2022
29c859d
Update derive level paths to use stream order (#672)
CarsonPruitt-NOAA Sep 9, 2022
23ae13c
Add tool to push data to S3 for Hydroviz (#664)
RobHanna-NOAA Sep 9, 2022
f83d819
v4.0.9.2 Bug fixes for pruning lake branches and stream order priorit…
mluck Sep 13, 2022
aba8c28
Cleanup CHANGELOG.md (#688)
mluck Sep 16, 2022
ba37f9c
v4.0.9.3 Download USGS 3DEP Dems (#681)
RobHanna-NOAA Sep 27, 2022
5cf2c95
v4.0.9.4 Cleanup Branch Zero output at the end of a processing run (#…
RobHanna-NOAA Sep 30, 2022
ebd25b5
v4.0.9.5 HOTFIX: fixes for calib system, landSea deny list and params…
RobHanna-NOAA Oct 4, 2022
8b0e7d6
v4.0.9.6 Inundate-nation bug fixes and some minor upgrades (#711)
RobHanna-NOAA Oct 17, 2022
1fe93fe
v4.0.9.7 Add fim3 s3 whitelist and rename the fim s3 whitelist (#703)
RobHanna-NOAA Oct 17, 2022
00bf500
v4.0.9.8 Added calibration database engine to FIM4 (#701)
RobHanna-NOAA Oct 17, 2022
290573d
v4.0.10.0 Implementing USGS 3DEP DEMs into the FIM 4 workflow (#697)
RobHanna-NOAA Oct 17, 2022
1658f2b
v4.0.10.1 Hotfix for FIM4 sierra test plots with branch zero (#695)
RyanSpies-NOAA Oct 17, 2022
7405cff
v4.0.10.2 Runs branch 0 on HUCs without other branches after stream o…
mluck Oct 28, 2022
31436ac
v4.0.10.3 Port thalweg notch fix from FIM3 (#718)
mluck Oct 28, 2022
e3c34c8
v4.0.10.4 Create HydroID - feature_id crosswalk table (#727)
mluck Oct 28, 2022
9a8e3d8
v4.0.10.5 Add cblend (buffer) to acquire 3dep downloads (#720)
RobHanna-NOAA Oct 28, 2022
628474d
v4.0.11.0 Mask levee-protected areas from Relative Elevation Model (#…
mluck Oct 31, 2022
ecb592a
v4.0.11.1 Upgrade jupyter core (#732)
RobHanna-NOAA Nov 3, 2022
8bedee7
v4.0.11.2 Fim4 branch zero override (#737)
RobHanna-NOAA Nov 23, 2022
557e851
v4.0.11.3 Add tool to preprocess downloaded levee prot areas (#739)
RobHanna-NOAA Nov 23, 2022
11c8527
v4.0.11.4 Adds capability to produce single FIM4 rating curve compari…
mluck Nov 23, 2022
d1d74f9
v4.0.11.5 Skip `usgs_gage_unit_setup.py` if no level paths (#746)
mluck Nov 23, 2022
5b4dff0
v4.0.12.0 Channel/overbank subdivision framework (#736)
RyanSpies-NOAA Dec 2, 2022
300db01
v4.0.12.1 Cleanup a few deny list files (#751)
RobHanna-NOAA Dec 2, 2022
c227b7f
v4.0.12.2 Hotfix: Stop writing `gms_inputs_removed.csv` if empty (#754)
mluck Dec 9, 2022
b8a209f
v4.0.13.0 Replace NHD headwaters with NWM-derived headwaters and remo…
mluck Dec 9, 2022
8a043d6
V4.0.13.1 fim4 alpha by catchments (#743)
CalebOliven-NOAA Dec 9, 2022
b2328f5
Bump certifi from 2022.9.24 to 2022.12.7 (#757)
dependabot[bot] Dec 19, 2022
8f199d3
Bug fix to inundation.py ignoring nodata
mluck Dec 22, 2022
b4528ba
Mask levee-protected areas from DEM
mluck Dec 23, 2022
0355e2c
Clip WBD to 3DEP DEM domain
mluck Dec 23, 2022
9116498
Update and renamed whitelists for hydrovis S3 put
RobHanna-NOAA Dec 23, 2022
5de3995
Enhancements to CatFIM, rating curve generation script, and other files
BradfordBates-NOAA Dec 23, 2022
99f1601
Make GMS HAND post-processing independent
RobHanna-NOAA Dec 23, 2022
cab3614
Add rsync to docker image
RobHanna-NOAA Dec 27, 2022
1e24ec7
Bug fix to Stage-Based CatFIM
BradfordBates-NOAA Dec 29, 2022
cc42ef9
Remove `other` folder from `test_cases`
mluck Dec 30, 2022
e92eb8d
Cleanup REM masking
mluck Dec 31, 2022
f25179c
v4.0.17.4 Update hydrovis S3 push whitelist (#781)
RobHanna-NOAA Jan 6, 2023
0466ec4
v4.0.18.0 Clip WBD and branch buffer polygons to DEM domain (#780)
mluck Jan 6, 2023
501b48a
v4.0.18.1 Stacked Bar Eval Plots (#760)
CarsonPruitt-NOAA Jan 13, 2023
0868c6f
v4.0.18.2 Remove Great Lakes clipping (#790)
mluck Jan 13, 2023
48c1fbf
v.4.0.19.0 Change the projection of HAND processing to EPSG:5070 (#782)
CarsonPruitt-NOAA Jan 13, 2023
3ade718
v4.0.19.1 Bug fix: combine_crosswalk_tables.py fails if only one HUC …
mluck Jan 20, 2023
6b933f7
v4.0.19.2 Consolidate bash environment variables into a single file (…
mluck Jan 20, 2023
c154287
v4.0.19.3 Remove fim3 files and refs (#794)
RobHanna-NOAA Jan 20, 2023
597b7f0
v4.0.19.4 branch trimming for lake segments (#802)
RyanSpies-NOAA Jan 27, 2023
5fe925c
v4.0.19.5 Fix error msg of stats object not referenced (#801)
RobHanna-NOAA Jan 27, 2023
2f44e73
v4.1.0.0 One HUC processes its own branches (#806)
RobHanna-NOAA Feb 13, 2023
32eab72
v4.1.1.0 Updated 1-foot interval CatFIM with restart capabilities (#809)
LauraKeys-NOAA Feb 17, 2023
4ddaa21
v4.1.1.0 Update CHANGELOG.md (#817)
LauraKeys-NOAA Feb 17, 2023
5995bbf
v4.1.2.0 Refactor `/unit_tests` to use Pytest. (#808)
robgpita Feb 17, 2023
264f906
v4.1.3.0 Update for calib db pathing to work in AWS (#812)
RobHanna-NOAA Feb 17, 2023
ff82fd3
Delete check_unit_errors_params.json (#819)
RobHanna-NOAA Feb 17, 2023
72c8cc6
Delete README.md (#818)
RobHanna-NOAA Feb 17, 2023
18b1c62
Delete derive_level_paths_params.json (#820)
RobHanna-NOAA Feb 17, 2023
c40b3cf
v4.2.0.0 Remove FIM3 and most references to GMS (#816)
RobHanna-NOAA Feb 17, 2023
b7cff3b
v4.2.0.1 Fix for missing branch_id.lst file (#827)
RobHanna-NOAA Feb 24, 2023
06ca69d
v4.2.1.0 Fix broken unit tests (#829)
RobHanna-NOAA Feb 24, 2023
ad87a74
v4.3.0.0 Replace GRASS with Whitebox (#814)
mluck Feb 24, 2023
979705e
v4.3.0.1 Delete intermediate agreedem files (#841)
mluck Mar 10, 2023
66853b3
v4.3.1.0 Change all occurances of `/data/outputs` to `/outputs` (#834)
robgpita Mar 10, 2023
2d5c95c
4.3.2.0: Revise masking levee-protected areas from inundation (#845)
mluck Mar 17, 2023
92318a5
4.3.3.0: Fix for CatFIM sites sharing LID and workaround for WRDS slo…
LauraKeys-NOAA Mar 17, 2023
e81e128
v4.3.3.1 Bug fix -- KeyError in `src/associate_levelpaths_with_levees…
mluck Mar 22, 2023
b6da3a2
v4.3.3.2 Bug fix - Change .split() to os.path.splitext() (#851)
mluck Mar 22, 2023
a1ea4eb
v4.3.3.3 Fixed datatype issue in coord accuracy list (#854)
BradfordBates-NOAA Mar 22, 2023
5a20135
v4.3.3.4 Hotfix for inundate nation projection error (#849)
RyanSpies-NOAA Mar 22, 2023
32493de
v4.3.3.5 Update the alpha test to accept previous runs' metrics CSV (…
EmilyDeardorff Mar 31, 2023
97a6852
v4.3.3.6 Branch should be get cleaned up with an exit of code 61 (#859)
EmilyDeardorff Mar 31, 2023
3236547
v4.3.3.7 Update PR template (#856)
robgpita Mar 31, 2023
ee26f0f
v4.3.4.0 Add Temporary Working Directory (#847)
robgpita Mar 31, 2023
ea8f5d9
v4.3.5.0 Shapely upgrade (#857)
LauraKeys-NOAA Mar 31, 2023
a71a985
v4.3.5.1 HUC outputs not being cleaned and erroring out (#867)
RobHanna-NOAA Apr 3, 2023
45f7f2d
v4.3.6.0 Clip WBD to DEM domain (#858)
mluck Apr 14, 2023
83c2387
v4.3.7.0 post processing aggregate branch hydrotables to huc (#868)
RyanSpies-NOAA Apr 14, 2023
6029629
v4.3.7.1 Hotfix for branch exit code 61 failing with temp directories…
CarsonPruitt-NOAA Apr 14, 2023
2b9256c
v4.3.7.2 Replace os.environ with input arguments (#879)
mluck Apr 14, 2023
c60111a
v4.3.7.2 Hotfix to address nrmse error (#880)
RyanSpies-NOAA Apr 14, 2023
45095d2
v4.3.7.4 Check for empty output catchments (#882)
mluck Apr 14, 2023
ac65cb5
Update CHANGELOG.md (#885)
CarsonPruitt-NOAA Apr 17, 2023
70533fc
v4.3.8.0 Clip branch 0 DEM-derived flowlines to terminal NWM streamli…
mluck Apr 21, 2023
0824313
v4.3.9.0 Update base GDAL Docker image and other Python packages (#889)
mluck Apr 21, 2023
5fcbc0b
Update README.md and CITATION.cff
BradfordBates-NOAA May 11, 2023
9f971f8
Fix and update unit tests
robgpita May 12, 2023
caeaf23
Fix to Stage-Based CatFIM
BradfordBates-NOAA May 12, 2023
c35ce7e
Fix speed for aggregate_by_huc
RobHanna-NOAA May 12, 2023
a505c32
Separate hydroconditioning for branch flow direction generation
RyanSpies-NOAA May 12, 2023
625cb3f
Update CITATION.cff
BradfordBates-NOAA May 16, 2023
b9bd379
4.3.11.1 Update instances of pandas.append (deprecated) to pandas.concat
mluck May 18, 2023
03ce7a3
v4.3.11.2 Fix to address levee DEM burn skipping
RyanSpies-NOAA May 19, 2023
c0b7f9a
v4.3.11.3 Fixes append statement in CatFIM
BradfordBates-NOAA May 26, 2023
8f4a209
v4.3.11.4 Simplified script to push up file to HV
RobHanna-NOAA May 26, 2023
41998f4
v4.3.11.5 Hotfix for synthesize metrics using PREV versions
RyanSpies-NOAA Jun 2, 2023
c252c78
v4.3.11.6 Bump requests from 2.28.2 to 2.31.0
dependabot[bot] Jun 2, 2023
b422a5f
Fix for AWS S3 in README.md
mluck Jun 9, 2023
1358a3d
v4.3.11.7 Add csv file to capture processing time for each HUC & Upda…
robgpita Jun 16, 2023
a724051
Update to README.md
RobHanna-NOAA Jun 23, 2023
85da99f
v4.3.12.0 Refactor Calibration Database to use .parquet files (#940)
robgpita Jul 7, 2023
2e99cc0
4.3.12.1 Fix for aggregated hydrotable inundation (#950)
mluck Aug 2, 2023
17f9297
v4.3.13.0 Manually calibrate synthetic rating curves (#952)
mluck Aug 2, 2023
f3c0dc6
v4.3.14.0 Bathymetry adjustment routine (#953)
CarsonPruitt-NOAA Aug 3, 2023
bf29c70
v4.3.14.1 Fix acquire for ras2fim use (#946)
RobHanna-NOAA Aug 4, 2023
6361781
v4.3.14.2 Bathymetry adjustment hotfix (#959)
RileyMcDermott-NOAA Aug 11, 2023
6162ab7
Bump certifi from 2023.5.7 to 2023.7.22 (#951)
dependabot[bot] Aug 11, 2023
24297b2
v4.3.15.0 Integrate GVAL In Synthesize Cases (#956)
GregoryPetrochenkov-NOAA Aug 11, 2023
090a44a
v4.3.15.1 Update BLE benchmark data (#960)
mluck Aug 11, 2023
831c603
Bump certifi from 2023.5.7 to 2023.7.22 in /data/ble/ble_benchmark (#…
dependabot[bot] Aug 17, 2023
b635241
Bump tornado from 6.3.2 to 6.3.3 (#966)
dependabot[bot] Aug 17, 2023
c585dec
v4.3.15.2 Adds inundation and mosaic wrapper with polygon merging fun…
BradfordBates-NOAA Aug 18, 2023
dc2e843
v4.3.15.3 Hotfix for stacked bar Eval Plots (#983)
CarsonPruitt-NOAA Sep 1, 2023
8c747f3
v4.3.15.4 Bugfix: Correct `nodata` value in `src/mask_dem.py` (#977)
mluck Sep 1, 2023
fdf3e8e
v4.3.15.5 Fix stream outlet clipping (#970)
mluck Sep 1, 2023
fa0aa48
v4.3.15.6 Extend inundate_mosaic_wrapper (#972)
mluck Sep 1, 2023
24f763e
v4.4.0.0 SRC calibration with ras2fim xsection rating data (#965)
RyanSpies-NOAA Sep 1, 2023
d009cd6
v4.4.0.1 Bug fix for `src/usgs_gage_unit_setup.py` (#987)
mluck Sep 6, 2023
318ec8d
v4.4.1.0 Format and Style Repository (#988)
robgpita Sep 18, 2023
b6ef9b5
v4.4.1.1 Bugfix for `MultiLineString` unit error in `src/stream_branc…
mluck Sep 20, 2023
cafa6be
v4.4.2.0 Fix pandas and geopandas warnings (#993)
mluck Sep 20, 2023
bd79300
v4.4.2.1 Bug fix: set geometry after `GeoDataFrame.update()` (#990)
mluck Sep 20, 2023
6ab186d
Update README.md (#996)
RobHanna-NOAA Sep 21, 2023
99a1210
v4.4.2.2 Bug fix for reindexing error (#997)
mluck Sep 21, 2023
90ed7dd
v4.4.2.3 Remove exclude list for black, re-run black on repository (#…
robgpita Sep 21, 2023
c0eda05
Bump urllib3 from 1.26.16 to 1.26.17 (#1002)
dependabot[bot] Oct 6, 2023
4d403cf
4.4.3.0 Revise stream clipping to WBD (#1005)
mluck Oct 13, 2023
6db3be4
v4.4.4.0 Pre clip wbd8 (#1012)
robgpita Oct 20, 2023
c2a6b3b
v4.4.4.1 Synthesize testcases hotfix for GVAL memory/performance issu…
GregoryPetrochenkov-NOAA Oct 26, 2023
af093f9
v4.4.5.0 Remove memory profile system (#1018)
RobHanna-NOAA Oct 26, 2023
c13bff3
v4.4.6.0 Add acquire for South Alaska and download them (#1031)
RobHanna-NOAA Nov 17, 2023
89c7023
v4.4.7.0 Add CI - GitHub Actions Workflow file (#1030)
robgpita Nov 17, 2023
3a45370
v4.4.7.1 Adjust ras2fim calibration input changes (#1036)
RobHanna-NOAA Dec 1, 2023
5e794f5
v4.4.7.2 Fix inundation nation pathing errors (#1026)
RobHanna-NOAA Dec 8, 2023
9ed73c6
v4.4.8.0 Copy files to scratch directory for processing, and remove u…
robgpita Dec 8, 2023
79f8a82
v4.4.8.1 Upgrade JDK to v.17 (#1047)
mluck Dec 8, 2023
5cca27c
v4.4.8.2 Hotfix for a switched global manning file (#1052)
CarsonPruitt-NOAA Dec 13, 2023
4b2762d
v4.4.8.3 Fix erroneous branch inundation in levee-protected areas (#1…
mluck Jan 5, 2024
5478554
v4.4.8.4 Tool to evaluate crosswalk accuracy (#1061)
mluck Jan 12, 2024
e7a6b79
v4.4.9.0 Upgrade base Docker image to GDAL v3.8.0 (#1058)
mluck Jan 12, 2024
85c77e9
v4.4.9.1 Update pipfile and lock for dependabot fixes (#1073)
RobHanna-NOAA Feb 2, 2024
682c15b
v4.4.9.2 Add index to aggregated crosswalk table (#1066)
mluck Feb 2, 2024
a14e5e1
v4.4.10.0 Updates for acquire, logging and cpu test (#1054)
RobHanna-NOAA Feb 2, 2024
b7f8138
v4.4.10.1 Fix return error status from pre-processing and remove CPU …
RobHanna-NOAA Feb 16, 2024
073e4a3
v4.4.11.0 Replace fiona with pyogrio (#1077)
mluck Feb 16, 2024
bfba379
v4.4.11.1 pyogrio bug fix (#1080)
mluck Mar 8, 2024
23d2d6d
v4.4.12.0 Add South Alaska to pre-clip vectors system (#1078)
EmilyDeardorff Mar 11, 2024
4907da2
v4.4.13.0 Remove GMS branch outlet backpools (#1006)
EmilyDeardorff Mar 11, 2024
f206214
v4.4.13.1 Fix bug in levee masking in branch 0 (#1086)
mluck Mar 11, 2024
27f74d5
v4.4.13.2 Updates for newer openjdk and black packages (#1110)
RobHanna-NOAA Apr 4, 2024
adb6e36
v4.4.13.3 Updates for pkgs pillow, idna and openpynx (#1114)
RobHanna-NOAA Apr 15, 2024
3ca0ceb
v4.4.14.0 Update FIM pipeline to process in Alaska (#1106)
EmilyDeardorff Apr 17, 2024
729cc01
v4.4.14.1 Add checks for intermediate files in AGREE (#1103)
mluck Apr 17, 2024
f30a486
v4.4.15.0 synthetic rating curve calibration with USGS rating and up/…
RyanSpies-NOAA Apr 17, 2024
013353e
v4.4.15.1 Hotfix post-processing src adjust errors (#1138)
RyanSpies-NOAA May 6, 2024
58b3e36
v4.4.15.2 Bug fix to prevent `listdir()` from returning filenames (#1…
mluck May 6, 2024
311ab97
v4.4.15.3 Fix KeyError in `mitigate_branch_outlet_backpool.py` (#1128)
mluck May 6, 2024
2bdeb0d
v4.4.15.4 Update wrds api and get new USGS gages data (#1115)
AliForghani-NOAA May 6, 2024
ad51dc2
v4.4.16.0 Clip ocean mask from DEM and extend outlet streams (#1121)
mluck May 6, 2024
4466db0
v4.5.0.0 Adding Open Street Map bridge data pulling and healing scrip…
LauraKeys-NOAA May 6, 2024
0170870
Add pre-commit and deploy notes (#1144)
RobHanna-NOAA May 6, 2024
45a0430
v4.5.0.1 Bug fixes for v4.5.0.0 (#1150)
mluck May 9, 2024
a488fe2
v4.5.0.2 Update nws_lid dataset with Alaska sites (#1159)
AliForghani-NOAA May 17, 2024
eaeb4c8
v4.5.1.0 Healed hand removing hydro-conditioning artifacts and testin…
hhs732 May 17, 2024
ed703a2
v4.5.1.1 Update benchmark flows in AHPS domain (#1094)
mluck May 17, 2024
b1a145f
v4.5.1.2 Add CRS handling to USGS gage processing (#1135)
EmilyDeardorff May 17, 2024
39504f3
v4.5.1.3 Hotfix for pyogrio arrow (#1170)
AliForghani-NOAA May 17, 2024
7bdf60e
v4.5.2.0 Bridge inundation points (#1166)
CarsonPruitt-NOAA May 20, 2024
3092e97
v4.5.2.1 Remove loading of apache-arrow repository (#1172)
mluck May 21, 2024
5b9a8ce
v4.5.2.2 Upgrade whitebox to v2.3.4 (#1183)
mluck Jun 14, 2024
b0d3aaa
v4.5.2.3 New tool to scan logs for errors (#1169)
RobHanna-NOAA Jun 14, 2024
87364e1
v4.5.2.4 Bug fix for extending outlets (#1204)
mluck Jul 8, 2024
9c1f3af
v4.5.2.5 Snap crosswalk to NWM streams (#1205)
mluck Jul 8, 2024
56748d4
v4.5.2.6 Added Bridge Inundation tool (#1184)
ZahraGhahremani Jul 12, 2024
7f16ab1
v4.5.2.7 Updating hydroTable and src _full_crosswalked (#1220)
ZahraGhahremani Jul 19, 2024
5006dbb
v4.5.2.8 Change error messages to warnings (#1219)
mluck Jul 19, 2024
fd64cc8
v4.5.2.9 Add `NO_VALID_CROSSWALKS` to `FIM_exit_codes` (#1216)
mluck Jul 19, 2024
efd0b2a
v4.5.2.10 Remove warning messages (#1224)
mluck Jul 19, 2024
25135e0
v4.5.2.11 log duration times per module for post processing (#1222)
RobHanna-NOAA Jul 19, 2024
89ba6fe
v4.5.3.0 Docker, python packages and jdk updates (#1217)
RobHanna-NOAA Jul 24, 2024
b662494
v4.5.3.1 Remove on screen warning from numpy for alpha tests (#1233)
RobHanna-NOAA Jul 24, 2024
9cb4a63
v4.5.4.0 Updating modules with new AEP (NWM V3) (#1198)
ZahraGhahremani Aug 2, 2024
fa670d4
v4.5.4.1 Retrieve code to process NWS AHPS benchmarks for Alaska (#1185)
AliForghani-NOAA Aug 2, 2024
3423757
v4.5.4.2 Updating bathymetry-preprocessing script (#1125)
hhs732 Aug 2, 2024
b47e4fa
v4.5.4.3 Unmask leveed areas update (#1136)
mluck Aug 2, 2024
d99e7a9
v4.5.4.4 Change Post proc perms updates (#1238)
RobHanna-NOAA Aug 2, 2024
c20e897
v4.5.5.0 Update SRC optimization w/ ras2fim v2 inputs (#1247)
RyanSpies-NOAA Aug 16, 2024
b282955
v4.5.5.1 Fix `heal_bridges_osm.py` warning (#1225)
ZahraGhahremani Aug 16, 2024
6321468
v4.5.6.0 Upgrade Python packages (#1253)
mluck Aug 23, 2024
4841459
v4.5.6.1 FIM Performance for Alaska and logging (#1271)
CarsonPruitt-NOAA Sep 13, 2024
5b86929
v4.5.7.0 Use fiona for writing files (#1267)
mluck Sep 13, 2024
20640c9
v4.5.7.1 Mosaic depths and extents (#1246)
mluck Sep 13, 2024
4e4ba68
v4.5.7.2 Catchment Boundary Tool Addition (#1149)
RileyMcDermott-NOAA Sep 13, 2024
a19ca57
v4.5.8.0 Fix CatFIM to re-run stage based (Catfim V2.0) (#1165)
EmilyDeardorff Sep 13, 2024
be2f8b8
v4.8.9.0 Change Docker base image and stop Whitebox downloads (#1291)
mluck Sep 25, 2024
7e20091
v4.5.10.0 PR: Reload 3dep DEMs and pre-clips (#1301)
RobHanna-NOAA Sep 25, 2024
8610014
Update LICENSE (#1313)
CarsonPruitt-NOAA Oct 9, 2024
08ff0e7
v4.5.10.1 Fix bugs from hand_4_5_10_0 (#1314)
ZahraGhahremani Oct 11, 2024
751b8bf
v4.5.10.2 New Flood Impact Assessment Tool (#1244)
erkaufman Oct 11, 2024
4880842
v4.5.10.3 Extend outlet levelpath(s) outside HUC (#1306)
mluck Oct 11, 2024
42b75d2
v4.5.11.0 Modifying OSM bridge scripts (#1298)
ZahraGhahremani Oct 11, 2024
853b081
v4.5.11.1 Fix merge conflict bugs (#1318)
mluck Oct 21, 2024
789618d
v4.5.11.2 docker file for OWP, non root user (#1322)
RobHanna-NOAA Oct 25, 2024
889a785
4.5.11.3 Fix error and warning scan bug (#1320)
RobHanna-NOAA Oct 25, 2024
cf7abd6
Merge branch 'main' into dev
CarsonPruitt-NOAA Oct 25, 2024
14d5ec6
Merge branch 'dev'
CarsonPruitt-NOAA Oct 25, 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: 2 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

### Testing


### Deployment Plan (For developer use)

_How does the changes affect the product?_
- [ ] Code only?
- [ ] If applicable, has a deployment plan be created with the deployment person/team?
- [ ] Require new or adjusted data inputs? Does it have start, end and duration code (in UTC)?
- [ ] If new or updated data sets, has the FIM code been updated and tested with the new/adjusted data (subset is fine, but must be a subset of the new data)?
- [ ] Require new pre-clip set?
- [ ] Has new or updated python packages?
- [ ] If applicable, has a deployment plan be created with the deployment person/team?


### Issuer Checklist (For developer use)

Expand All @@ -30,11 +30,9 @@ _You may update this checklist before and/or after creating the PR. If you're un
- [ ] The feature branch you're submitting as a PR is up to date (merged) with the latest `dev` branch
- [ ] `pre-commit` hooks were run locally
- [ ] Any _change_ in functionality is tested
- [ ] Passes all unit tests locally (inside interactive Docker container, at `/foss_fim/`, run: `pytest unit_tests/`)
- [ ] New functions are documented (with a description, list of inputs, and expected output)
- [ ] Placeholder code is flagged / future todos are captured in comments
- [ ] [CHANGELOG](/docs/CHANGELOG.md) updated with template version number, e.g. `4.x.x.x`
- [ ] [Reviewers requested](https://help.github.com/articles/requesting-a-pull-request-review/)
- [ ] Add yourself as an [assignee](https://docs.github.com/en/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users) in the PR as well as the FIM Technical Lead

### Merge Checklist (For Technical Lead use only)
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ config/**
config/*.swp
.vscode/
**/.DS_Store
**/*_pytest.py
.private/
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ repos:
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black"]
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
message: "If you use this software, please cite it as below. To ensure you have latest and correct version, please look at the changelog.md at 'https://github.com/NOAA-OWP/inundation-mapping/blob/dev/docs/CHANGELOG.md'"
authors:
- family-names: "NOAA Office of Water Prediction"
title: "Inundation Mapping"
url: "https://github.com/NOAA-OWP/inundation-mapping"
version: 4.4.2.1
date-released: 2023
version: 4.5.10.0
date-released: 2024
12 changes: 3 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ guidance below.
## Changing the code-base

Generally speaking, you should fork this repository, make changes in your
own fork, and then submit a pull request. All new code should have associated
unit tests (added to `/unit_tests`) that validate implemented features and the presence or lack of defects.
own fork, and then submit a pull request.
Additionally, the code should follow any stylistic and architectural guidelines
prescribed by the project. In the absence of such guidelines, mimic the styles
and patterns in the existing code-base.
Expand Down Expand Up @@ -118,19 +117,14 @@ If you would like to contribute, please follow these steps:
# optionally close the container
# Back on your terminal console (outside the container), use the typical git add, git commit, git push


8. [Within the container](README.md#startrun-the-docker-container), ensure sure unit tests pass ([instructions here](/unit_tests/README.md)).
```
pytest unit_tests/
```

9. Outside of the Docker container, commit your changes:
8. Outside of the Docker container, commit your changes:
```
git commit -m "<descriptive sentence or two of changes>"
```
This will invoke pre-commit hooks mentioned in step 6 that will lint & format the code (some others as well). In many cases non-compliant code will be rectified automatically, but in some cases manual changes will be necessary. Make sure all of these checks pass. If not, make necessary changes (`git add <...>`), and re-issue `git commit -m "<...>"`.

10. Push to your forked branch:
9. Push to your forked branch:
```
git push -u origin
```
Expand Down
30 changes: 14 additions & 16 deletions Dockerfile → Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Temporary image to build the libraries and only save the needed artifacts
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.8.0 AS builder
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4 AS builder
WORKDIR /opt/builder
ARG dataDir=/data
ARG projectDir=/foss_fim
Expand All @@ -10,7 +10,7 @@ ENV taudemDir=$depDir/taudem/bin
ENV taudemDir2=$depDir/taudem_accelerated_flowDirections/taudem/build/bin

# remove reference to missing repo
RUN rm /etc/apt/sources.list.d/apache-arrow.sources
# RUN rm /etc/apt/sources.list.d/apache-arrow.sources

RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -45,7 +45,7 @@ RUN cd taudem_accelerated_flowDirections/taudem/build/bin && mv -t $taudemDir2 d

###############################################################################################
# Base Image that has GDAL, PROJ, etc
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.8.0
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4
ARG dataDir=/data
ENV projectDir=/foss_fim
ARG depDir=/dependencies
Expand All @@ -70,12 +70,12 @@ RUN mkdir -p $depDir
COPY --from=builder $depDir $depDir

# remove reference to missing repo
RUN rm /etc/apt/sources.list.d/apache-arrow.sources

RUN apt-get update --fix-missing && apt-get install -y openjdk-19-jdk && rm -rf /var/lib/apt/lists/*
# RUN rm /etc/apt/sources.list.d/apache-arrow.sources

RUN apt-get update --fix-missing && rm -rf /var/lib/apt/lists/*
RUN apt update --fix-missing
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y p7zip-full python3-pip time mpich parallel libgeos-dev expect tmux rsync tzdata

RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y p7zip-full python3-pip time mpich parallel libgeos-dev expect tmux rsync tzdata wget

RUN apt auto-remove

Expand All @@ -91,16 +91,15 @@ ENV PYTHONUNBUFFERED=TRUE

## ADD TO PATHS ##
ENV PATH="$projectDir:${PATH}"
ENV PYTHONPATH=${PYTHONPATH}:$srcDir:$projectDir/unit_tests:$projectDir/tools
ENV PYTHONPATH="${PYTHONPATH}:${projectDir}:${srcDir}:${srcDir}/utils:${projectDir}/data:${toolsDir}"

## install python 3 modules ##

COPY Pipfile .
COPY Pipfile.lock .
RUN pip3 install pipenv==2023.12.1 && PIP_NO_CACHE_DIR=off pipenv install --system --deploy --ignore-pipfile
RUN pip3 install pipenv==2024.0.1 && PIP_NO_CACHE_DIR=off pipenv install --system --deploy --ignore-pipfile

# ----------------------------------
# Mar 2023
# Mar 2023 / Sep 2024
# There are some nuances in the whitebox python downloads in that the first time it loads
# it goes to the internet and downloads the latest/greatest WBT (whiteboxtools) engine which is
# required for the whitebox python library to work. We don't want to have FIM attempting a download
Expand All @@ -110,11 +109,10 @@ RUN pip3 install pipenv==2023.12.1 && PIP_NO_CACHE_DIR=off pipenv install --syst
# We download and unzip it to the same file folder that pip deployed the whitebox library.
# Whitebox also attempts to always download a folder called testdata regardless of use.
# We added an empty folder to fake out whitebox_tools.py so it doesn't try to download the folder
# RUN wbox_path=/usr/local/lib/python3.10/dist-packages/whitebox/WBT && \
# wget -P $wbox_path https://www.whiteboxgeo.com/WBT_Linux/WhiteboxTools_linux_musl.zip && \
# unzip -o $wbox_path/WhiteboxTools_linux_musl.zip -d $wbox_path && \
# cp $wbox_path/whitebox_tools $wbox_path && \
# mkdir $wbox_path/testdata
ENV WBT_PATH=/usr/local/lib/python3.10/dist-packages/whitebox/WBT
RUN wget -P $WBT_PATH https://www.whiteboxgeo.com/WBT_Linux/WhiteboxTools_linux_musl.zip && \
unzip -o $WBT_PATH/WhiteboxTools_linux_musl.zip -d $WBT_PATH && \
cp $WBT_PATH/WhiteboxTools_linux_amd64/WBT/whitebox_tools $WBT_PATH
# ----------------------------------

## RUN UMASK TO CHANGE DEFAULT PERMISSIONS ##
Expand Down
129 changes: 129 additions & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
## Temporary image to build the libraries and only save the needed artifacts
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4 AS builder
WORKDIR /opt/builder
ARG dataDir=/data
ARG projectDir=/foss_fim
ARG depDir=/dependencies
ARG taudemVersion=98137bb6541a0d0077a9c95becfed4e56d0aa0ac
ARG taudemVersion2=81f7a07cdd3721617a30ee4e087804fddbcffa88
ENV taudemDir=$depDir/taudem/bin
ENV taudemDir2=$depDir/taudem_accelerated_flowDirections/taudem/build/bin

# remove reference to missing repo
# RUN rm /etc/apt/sources.list.d/apache-arrow.sources

RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/dtarb/taudem.git
RUN git clone https://github.com/fernandoa123/cybergis-toolkit.git taudem_accelerated_flowDirections

RUN apt-get update --fix-missing && apt-get install -y cmake mpich \
libgtest-dev libboost-test-dev libnetcdf-dev && rm -rf /var/lib/apt/lists/*

## Compile Main taudem repo ##
RUN mkdir -p taudem/bin
RUN cd taudem \
&& git checkout $taudemVersion \
&& cd src \
&& make

## Compile taudem repo with accelerated flow directions ##
RUN cd taudem_accelerated_flowDirections/taudem \
&& git checkout $taudemVersion2 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make

RUN mkdir -p $taudemDir
RUN mkdir -p $taudemDir2

## Move needed binaries to the next stage of the image
RUN cd taudem/bin && mv -t $taudemDir flowdircond streamnet gagewatershed catchhydrogeo dinfdistdown
RUN cd taudem_accelerated_flowDirections/taudem/build/bin && mv -t $taudemDir2 d8flowdir dinfflowdir


###############################################################################################
# Base Image that has GDAL, PROJ, etc
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4
ARG dataDir=/data
ENV projectDir=/foss_fim
ARG depDir=/dependencies
ENV inputsDir=$dataDir/inputs
ENV outputsDir=/outputs
ENV srcDir=$projectDir/src
ENV toolsDir=$projectDir/tools
ENV workDir=/fim_temp
ENV taudemDir=$depDir/taudem/bin
ENV taudemDir2=$depDir/taudem_accelerated_flowDirections/taudem/build/bin

## ADDING FIM GROUP ##
ARG GroupID=1370800235
ARG GroupName=fim
RUN addgroup --gid $GroupID $GroupName
ENV GID=$GroupID
ENV GN=$GroupName

RUN mkdir -p $workDir
RUN mkdir -p $depDir
COPY --from=builder $depDir $depDir

# remove reference to missing repo
# RUN rm /etc/apt/sources.list.d/apache-arrow.sources

RUN apt-get update --fix-missing && rm -rf /var/lib/apt/lists/*
RUN apt update --fix-missing

RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y p7zip-full python3-pip time mpich parallel libgeos-dev expect tmux rsync tzdata wget

RUN apt auto-remove

## adding AWS CLI (for bash) ##
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install

## adding environment variables for numba and python ##
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV PYTHONUNBUFFERED=TRUE

## ADD TO PATHS ##
ENV PATH="$projectDir:${PATH}"
ENV PYTHONPATH="${PYTHONPATH}:${projectDir}:${srcDir}:${srcDir}/utils:${projectDir}/data:${toolsDir}"

## install python 3 modules ##
COPY Pipfile .
COPY Pipfile.lock .
RUN pip3 install pipenv==2024.0.1 && PIP_NO_CACHE_DIR=off pipenv install --system --deploy --ignore-pipfile

# ----------------------------------
# Mar 2023 / Sep 2024
# There are some nuances in the whitebox python downloads in that the first time it loads
# it goes to the internet and downloads the latest/greatest WBT (whiteboxtools) engine which is
# required for the whitebox python library to work. We don't want to have FIM attempting a download
# each time a container is opened and the whitebox engine is called.
# Instead we will setup the WBT engine at time of docker build (same as Taudem and AWS).
# Whitebox code detects that the engine it there and makes no attempt to update it.
# We download and unzip it to the same file folder that pip deployed the whitebox library.
# Whitebox also attempts to always download a folder called testdata regardless of use.
# We added an empty folder to fake out whitebox_tools.py so it doesn't try to download the folder
ENV WBT_PATH=/usr/local/lib/python3.10/dist-packages/whitebox/WBT
RUN wget -P $WBT_PATH https://www.whiteboxgeo.com/WBT_Linux/WhiteboxTools_linux_musl.zip && \
unzip -o $WBT_PATH/WhiteboxTools_linux_musl.zip -d $WBT_PATH && \
cp $WBT_PATH/WhiteboxTools_linux_amd64/WBT/whitebox_tools $WBT_PATH
# ----------------------------------

# The containiner will auto use this account to run
ARG RuntimeUser=svc_user
RUN useradd -u 8877 -g $GroupName -s /bin/bash $RuntimeUser
RUN chmod 777 $workDir
RUN mkdir -p "/home/${RuntimeUser}"
RUN chmod 777 /home/$RuntimeUser

## RUN UMASK TO CHANGE DEFAULT PERMISSIONS ##
ADD ./src/entrypoint.sh /
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

## This results in the default user being the svc_user user
USER $RuntimeUser
16 changes: 16 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-----------------

“Software code created by U.S. Government employees is not subject to copyright
in the United States (17 U.S.C. §105). The United States/Department of Commerce
reserve all rights to seek and obtain copyright protection in countries other
than the United States for Software authored in its entirety by the Department
of Commerce. To this end, the Department of Commerce hereby grants to Recipient
a royalty-free, nonexclusive license to use, copy, and create derivative works
of the Software outside of the United States.”

-----------------
Loading
Loading