FIMserv v.1.0: A Tool for Streamlining Flood Inundation Mapping Using the United States Operational Hydrological Forecasting Framework
We have developed the OWP HAND-FIM ‘as a service’ (FIMserv), an open-source Python toolset for running the FIM generation procedures using NWM operational input data.By replicating Docker’s role in environment configuration in a simplified manner, this method bypasses containerization while maintaining a consistent and portable setup. The script dynamically adjusts to the local system’s structure, ensuring dependencies and file paths are properly aligned for successful execution. In the workshop, We will demonstrate the following functionalities in the workshop--
- User-friendly and customizable notebook interface
- Embedded visualization
- Flexibility to run both locally and on the cloud (Google Colab)
- Domain filtering based on stream order
- Multi-watershed simulations for different flood events
- Capability to process both retrospective and forecast (short- and long-range) NWM discharge for FIM generation
- Visualization of SRCs for any reach within a HUC-8 boundary
- Comparison of USGS and NWMv3.0 retrospective discharge data.
- Ability to subset from the HUC-8 scale FIMs based on user-defined polygons or coordinates.
- Automatic FIM generation using USGS discharge data.
For more information, refer to the original GitHub page of FIMserv.
This repository contains the FIMserv Python framework, example dataset, and installation instruction for the participants of CIROH-DEVCON-2025. We have also attached the pre-print of our manuscript (currently under review) where we discussed in detail about the developed modules and their applications.
- Install Anaconda
- Install Git (Since one step includes cloning a repo from GitHub)
- Right-click on the shared CIROH-DEVCON folder (CIROH-DEVCON.zip) and select ‘New Terminal at Folder’ (use Anaconda Prompt on Windows)
- Crete a virtual enviroment from the terminal: conda create --name cirohdevcon python==3.10
- Activate the virtual enviroment : conda activate cirohdevcon
- Install the package from terminal : pip install fimserve
- Install the notebook : pip install jupyter notebook
- Launch Jupyter Notebook from the terminal and upload FIMserve.ipynb
(* You can do
pip install fimserve
after launching the notebook)
In case of any installation problem in Local machine, User can use the Google Colab version of FIMserve
*Install QGIS/ARCGIS to visualize the flood raster. The Notebook also provides the visualization capability, to use that user shoud have a valid Google Earth Engine Proect ID
For any queries, rerach out to : abaruah@ua.edu, sdhital@crimson.ua.edu