Domain Review
This project combines a series of manually run scripts that can be used together to download rainfall data near recent wildfires that may be subject to debris flows. The goal of this project is to help with situational awareness and verification of USGS debris flow hazard assessment rainfall thresholds.
Information on installing the program can be found here: https://doimspp-my.sharepoint.com/:p:/g/personal/frengers_usgs_gov/EdxMfraUJEZEm5Jr6zorLQIBnVla7Sszt8Ct5Q4gQkEBKQ?email=agraber%40usgs.gov&e=4%3AhLB6LK&CID=2E93E0C4-D0AD-4719-BD1A-A09C9FD3EC59&wdLOR=cFC361699-440B-4397-86B0-3093DECDE661
To start, the user can run the command "poetry run flowalert debrisflow add FIRE_ID". This will download fire perimeter data as well as hazard assessments for that fire from https://landslides.usgs.gov/hazards/postfire_debrisflow/. Once this data is downloaded, the code will find all the rain gauges within 4km of the fire perimeter from https://synopticdata.com/, and download precipitation estimates for each of gauges from https://hdsc.nws.noaa.gov/pfds/.
The user can then download rain data using the command "poetry run flowalert update_data". By default this will download the most recent 3 days of precipitation data from all of the rain gauges. To see more options run the command "poetry run flowalert update_data --help".
Finally, the user can process the downloaded rainfall data and compare it to the hazard assessments and rainfall estimates by running the command "poetry run flowalert process_data". This will calculate the 15, 30, and 60 minute rainfall intensities. This will only calculate an intensity value if the incoming data is precise enough to do so. For example, if the incoming data only has a data point every 30 minutes, then only the 30 and 60 minute intensities will be calculated and the 15 minute intensities will not be calculated. These intensity values are then compared to the intensity thresholds from the hazard assessment. If a value passes a hazard assessment threshold, This information is included in the summary printed to the user. For quality control, these intensity values are also compared to the rainfall estimates from NOAA Atlas 14. This will calculate the the recurrence interval for every single intensity value. For example, if there was a very high intensity value, the user could see that the recurrence interval for this rainfall is also very high. To see all the options on processing data run the command "poetry run flowalert process_data --help".