Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Data and Software for Effects of High-Quality Elevation Data and Explanatory Variables on the Accuracy of Flood Inundation Mapping via Height Above Nearest Drainage


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Type: Resource
Storage: The size of this resource is 81.6 MB
Created: Jun 30, 2023 at 2:04 p.m.
Last updated: Jun 30, 2023 at 3:21 p.m. (Metadata update)
Published date: Jun 30, 2023 at 3:21 p.m.
DOI: 10.4211/hs.3d98a9e5a6d84020b72800fd27c87f9a
Citation: See how to cite this resource
Sharing Status: Published
Views: 654
Downloads: 18
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

This repository includes data and software for the paper titled: "Effects of High-Quality Elevation Data and Explanatory Variables on the Accuracy of Flood Inundation Mapping via Height Above Nearest Drainage" submitted to HESS June 2023.

Subject Keywords

Coverage

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Place/Area Name:
HUC4: 1202
North Latitude
32.8536°
East Longitude
-93.0872°
South Latitude
28.7598°
West Longitude
-97.0642°

Content

README.md

Cahaba: Flood Inundation Mapping for U.S. National Water Model

Flood inundation mapping softwaconfigured to work with the U.S. National Water Model operated and maintained by the National Oceanic and Atmospheric Administration (NOAA) National Water Center (NWC).

This software uses the Height Above Nearest Drainage (HAND) method to generate Relative Elevation Models (REMs), Synthetic Rating Curves (SRCs), and catchment grids. This repository also includes functionality to generate flood inundation maps (FIMs) and evaluate FIM accuracy.

For more information, see the Cahaba Wiki.

Accessing Data through ESIP S3 Bucket

The latest national generated HAND data and a subset of the inputs can be found in an Amazon S3 Bucket hosted by Earth Science Information Partners (ESIP). These data can be accessed using the AWS CLI tools.

AWS Region: US East (N. Virginia) us-east-1

AWS Resource Name: arn:aws:s3:::noaa-nws-owp-fim

Configuring the AWS CLI

  1. Install AWS CLI tools

  2. Configure AWS CLI tools

Accessing Data using the AWS CLI

This S3 Bucket (s3://noaa-nws-owp-fim) is set up as a "Requester Pays" bucket. Read more about what that means here. If you are using compute resources in the same region as the S3 Bucket, then there is no cost.

Examples

List bucket folder structure: aws s3 ls s3://noaa-nws-owp-fim/ --request-payer requester

Download a directory of outputs for a HUC8: aws s3 cp --recursive s3://noaa-nws-owp-fim/hand_fim/fim_3_0_21_0/outputs/fr/12090301 12090301 --request-payer requester

Running the Code

Input Data

Input data can be found on the ESIP S3 Bucket (see "Accessing Data through ESIP S3 Bucket" section above). All necessary non-publicly available files are in this S3 bucket, as well as sample input data for HUCs 1204 and 1209.

Dependencies

Docker

Installation

  1. Install Docker : Docker
  2. Build Docker Image : docker build -f Dockerfile.dev -t <image_name>:<tag> <path/to/repository>
  3. Create FIM group on host machine:
    • Linux: groupadd -g 1370800178 fim
  4. Change group ownership of repo (needs to be redone when a new file occurs in the repo):
    • Linux: chgrp -R fim <path/to/repository>

Configuration

This software is configurable via parameters found in the config directory. Copy files before editing and remove "template" pattern from the filename. Make sure to set the config folder group to 'fim' recursively using the chown command. Each development version will include a calibrated parameter set of manning’s n values. - params_template.env - mannings_default.json - must change filepath in params_template.env in manning_n variable name - params_calibrated.env - runs calibrated mannings parameters from mannings_calibrated.json

Produce HAND Hydrofabric

fim_run.sh -u <huc8> -c /foss_fim/config/<your_params_file.env> -n <name_your_run> - -u can be a single huc, a series passed in quotes, or a line-delimited file i. To run entire domain of available data use one of the /data/inputs/included_huc[4,6,8].lst files - Outputs can be found under /data/outputs/<name_your_run>

Testing in Other HUCs

To test in HUCs other than the provided HUCs, the following processes can be followed to acquire and preprocess additional NHDPlus rasters and vectors. After these steps are run, the "Produce HAND Hydrofabric" step can be run for the new HUCs.

/foss_fim/src/acquire_and_preprocess_inputs.py -u <huc4s_to_process> - -u can be a single HUC4, series of HUC4s (e.g. 1209 1210), path to line-delimited file with HUC4s. - Please run /foss_fim/src/acquire_and_preprocess_inputs.py --help for more information. - See United States Geological Survey (USGS) National Hydrography Dataset Plus High Resolution (NHDPlusHR) site for more information

Reproject NHDPlus High-Res Rasters and Convert to Meters.

/foss_fim/src/preprocess_rasters.py


Evaluating Inundation Map Performance

After fim_run.sh completes, you can evaluate the model's skill. The evaluation benchmark datasets are available through ESIP in the test_cases directory.

To evaluate model skill, run the following: python /foss_fim/tools/synthesize_test_cases.py -c DEV -v <fim_run_name> -m <path/to/output/metrics.csv> -j [num_of_jobs]

More information can be found by running: python /foss_fim/tools/synthesize_test_cases.py --help


Managing Dependencies

Dependencies are managed via Pipenv. To add new dependencies, from the projects's top-level directory:

bash pipenv install ipython --dev

The --dev flag adds development dependencies, omit it if you want to add a production dependency. If the environment looks goods after adding dependencies, lock it with:

bash pipenv lock

and include both Pipfile and Pipfile.lock in your commits. The docker image installs the environment from the lock file.

If you are on a machine that has a particularly slow internet connection, you may need to increase the timeout of pipenv. To do this simply add PIPENV_INSTALL_TIMEOUT=10000000 in front of any of your pipenv commands.


Citing This Work

Please cite this work in your research and projects according to the CITATION.cff file found in the root of this repository.


Known Issues & Getting Help

Please see the issue tracker on GitHub and the Cahaba Wiki for known issues and getting help.

Getting Involved

NOAA's National Water Center welcomes anyone to contribute to the Cahaba repository to improve flood inundation mapping capabilities. Please contact Brad Bates (bradford.bates@noaa.gov) or Fernando Salas (fernando.salas@noaa.gov) to get started.

Open Source Licensing Info

  1. TERMS
  2. LICENSE

Credits and References

  1. Office of Water Prediction (OWP)
  2. National Flood Interoperability Experiment(NFIE)
  3. Garousi‐Nejad, I., Tarboton, D. G.,Aboutalebi, M., & Torres‐Rua, A.(2019). Terrain analysis enhancements to the Height Above Nearest Drainage flood inundation mapping method. Water Resources Research, 55 , 7983–8009.
  4. Zheng, X., D.G. Tarboton, D.R. Maidment, Y.Y. Liu, and P. Passalacqua. 2018. “River Channel Geometry and Rating Curve Estimation Using Height above the Nearest Drainage.” Journal of the American Water Resources Association 54 (4): 785–806.
  5. Liu, Y. Y., D. R. Maidment, D. G. Tarboton, X. Zheng and S. Wang, (2018), "A CyberGIS Integration and Computation Framework for High-Resolution Continental-Scale Flood Inundation Mapping," JAWRA Journal of the American Water Resources Association, 54(4): 770-784.
  6. Barnes, Richard. 2016. RichDEM: Terrain Analysis Software
  7. TauDEM
  8. Federal Emergency Management Agency (FEMA) Base Level Engineering (BLE)
  9. Verdin, James; Verdin, Kristine; Mathis, Melissa; Magadzire, Tamuka; Kabuchanga, Eric; Woodbury, Mark; and Gadain, Hussein, 2016, A software tool for rapid flood inundation mapping: U.S. Geological Survey Open-File Report 2016–1038, 26
  10. United States Geological Survey (USGS) National Hydrography Dataset Plus High Resolution (NHDPlusHR)
  11. Esri Arc Hydro

Credits

Funding Agencies

This resource was created using funding from the following sources:
Agency Name Award Title Award Number
National Oceanic and Atmospheric Administration

How to Cite

Aristizabal, F. (2023). Data and Software for Effects of High-Quality Elevation Data and Explanatory Variables on the Accuracy of Flood Inundation Mapping via Height Above Nearest Drainage, HydroShare, https://doi.org/10.4211/hs.3d98a9e5a6d84020b72800fd27c87f9a

This resource is shared under the Creative Commons Attribution CC BY.

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required