Flood Mapping
Flood forecasting via the National Water Model.
https://github.com/mikejohnson51/FloodMapping
Category: Climate Change
Sub Category: Natural Hazard and Storm
Keywords
floods hand mapping national-water-model
Keywords from Contributors
aoi climate gridded-climate-data weather hydrology area-of-interest bounding-boxes subset earth-system-model
Last synced: about 4 hours ago
JSON representation
Repository metadata
R 📦 for flood forecasting via the National Water Model
- Host: GitHub
- URL: https://github.com/mikejohnson51/FloodMapping
- Owner: mikejohnson51
- License: mit
- Created: 2018-04-21T01:09:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T18:06:55.000Z (about 4 years ago)
- Last Synced: 2025-04-20T09:04:26.165Z (10 days ago)
- Topics: floods, hand, mapping, national-water-model
- Language: R
- Homepage: https://mikejohnson51.github.io/FloodMapping/
- Size: 25.4 MB
- Stars: 35
- Watchers: 3
- Forks: 11
- Open Issues: 4
- Releases: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
README.Rmd
--- output: github_document --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%") ``` # FloodMapping[](https://travis-ci.org/mikejohnson51/FloodMapping) [](https://github.com/mikejohnson51/FloodMapping/actions) [](https://coveralls.io/github/mikejohnson51/FloodMapping?branch=master) [](https://zenodo.org/badge/latestdoi/130427796) The advent of the National Water Model and the development of the Height Above Nearest Drainage products (HAND) offer the ability to map flood extents for anywhere in the lower 48 United States. The challenges with this methodology stem from the acquisition, management and application of large scale data sets. FloodMapper is designed to help users get the data they need, archive it on their local machines, and then process flood extents. In executing the steps in this process the first time the process in run the data is collected and formatted - meaning it is slow. After the intital pass, users can quickly generate flood maps for their region from real-time National Water Model output and historic data (nwmTools), and can adjust forecasted values to build pre-stages maps (adjust). ### Installation: ```{r, eval = FALSE} remotes::install_github("mikejohnson51/FloodMapping") ``` ### Use case for Kansas ```{r, warning=FALSE, message=FALSE} library(AOI) library(leaflet) library(stars) library(leafem) library(nwmTools) library(FloodMapping) raw.dir <-'/Users/mikejohnson/Desktop/test_nomads.tmp/' AOI <- aoi_get("Lawrence, KS") project.name <- "KU" files <- getRawData(AOI, dir = raw.dir, project.name) files$flows.path <- nwmTools::create_nwm_nc(type = "analysis_assim", num = 1, dstfile = paste0(raw.dir, project.name, '/flows.nc')) maps = map_flood( hand.path = files$hand.path, catchment.path = files$catch.path, flows.path = files$flows.path, threshold = .1 ) leaflet() %>% addProviderTiles(providers$CartoDB.DarkMatter) %>% addStarsImage(st_as_stars(maps[[1]]), colors = blues9) ``` ______ The HAND datasets are a product of: Liu, Yan Y., David R. Maidment, David G. Tarboton, Xing Zheng, and Shaowen Wang. 2018. A CyberGIS Integration and Computation Framework for High-Resolution Continental-Scale Flood Inundation Mapping. Journal of the American Water Resources Association (JAWRA). Accepted. Liu, Yan Y., David R. Maidment, David G. Tarboton, Xing Zheng, Ahmet Yildirim, Nazmus S. Sazib and Shaowen Wang. 2016. A CyberGIS Approach to Generating High-resolution Height Above Nearest Drainage (HAND) Raster for National Flood Mapping. The Third International Conference on CyberGIS and Geospatial Data Science. July 26–28, 2016, Urbana, Illinois. http://dx.doi.org/10.13140/RG.2.2.24234.41925/1 ### Support: Development is supported with funds from the UCAR COMET program; the NOAA National Water Center; and the University of California, Santa Barbara and is available under the MIT license
Owner metadata
- Name: MikeJohnson-NOAA
- Login: mikejohnson51
- Email:
- Kind: user
- Description: Geography | Data Science | Water Resources
- Website: http://mikejohnson51.github.io
- Location: Fort Collins, CO
- Twitter:
- Company: @lynker-spatial, @NOAA-OWP
- Icon url: https://avatars.githubusercontent.com/u/30052272?u=afe36efb60f13e0e79b4f6d4c0722fcefd70f227&v=4
- Repositories: 134
- Last ynced at: 2024-06-11T15:38:07.433Z
- Profile URL: https://github.com/mikejohnson51
GitHub Events
Total
- Watch event: 4
- Issue comment event: 1
Last Year
- Watch event: 4
- Issue comment event: 1
Committers metadata
Last synced: 1 day ago
Total Commits: 67
Total Committers: 3
Avg Commits per committer: 22.333
Development Distribution Score (DDS): 0.657
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
mike | j****0@u****u | 23 |
Justin Singh-Mohudpur | j****n@j****e | 23 |
mikejohnson51 | m****n@g****u | 21 |
Committer domains:
- geog.ucsb.edu: 1
- justinsingh.me: 1
- ucsb.edu: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 6
Total pull requests: 2
Average time to close issues: 4 months
Average time to close pull requests: 11 days
Total issue authors: 4
Total pull request authors: 1
Average comments per issue: 0.67
Average comments per pull request: 1.5
Merged pull request: 2
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- rishav-karanjit (3)
- program-- (1)
- xavierherron (1)
- tungttnguyen (1)
Top Pull Request Authors
- program-- (2)
Top Issue Labels
Top Pull Request Labels
Dependencies
- R >= 3.5.0 depends
- RNetCDF * imports
- data.table * imports
- dplyr * imports
- fasterize * imports
- httr * imports
- magrittr * imports
- nhdplusTools * imports
- nwmTools * imports
- plyr * imports
- progress * imports
- raster * imports
- rlang * imports
- sf * imports
- covr * suggests
- testthat >= 3.0.0 suggests
Score: 4.762173934797756