Plot results from data-driven street flood severity models
|Resource type:||Composite Resource|
|Created:||Jul 13, 2018 at 6:53 p.m.|
|Last updated:||Jul 13, 2018 at 7:25 p.m. by Jeff Sadler|
This is a Python script used to plot results from a street flood severity model. The script plots predicted flood reports against true flood reports and was originally used for making a plot for a Journal of Hydrology paper: https://doi.org/10.1016/j.jhydrol.2018.01.044. The data files used to produce the plot for the paper are found in another HydroShare resource: https://www.hydroshare.org/resource/54df00b15c02458685fa3b622f2ecc7b/. For the script to work as is, the script has to be in the same directory as the data files and the files have to be named as follows: "poisson_[suffix]_train", "poisson_[suffix]_test", "rf_[suffix]_train", "rf_[suffix]_test". The "suffix" value should be the same as the suffix specified when using the R code that produces the data files. This code is also part of a HydroShare resource: https://www.hydroshare.org/resource/712cd2ce8f604c8f824d6836ee3fcb53/. The script is used as follows "python plot_count_model_results.py [suffix]".
Python version 2.7
Required matplotlib, pandas, and numpy
Python,Street flooding,Coastal flooding,Data-driven modeling,Plotting
How to cite
This resource is shared under the Creative Commons Attribution CC BY.http://creativecommons.org/licenses/by/4.0/
|Jeff Sadler||University of Virginia|
Select content in the file browser to see metadata specific to that content. Metadata will only display here when the the content is selected above. Content specific metadata does not display on the Discover page.
Please wait for the process to complete.