Please wait for the process to complete.
Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
||This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (email@example.com) for information on this resource.|
|Storage:||The size of this resource is 3.6 KB|
|Created:||Jul 13, 2018 at 6:53 p.m.|
|Last updated:|| Jul 13, 2018 at 7:25 p.m.
|Citation:||See how to cite this resource|
|+1 Votes:||Be the first one to this.|
|Comments:||No comments (yet)|
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
|Title||Owners||Sharing Status||My Permission|
|Data-driven street flood severity modeling in Norfolk, Virginia USA 2010-2016||Jeff Sadler · Jonathan Goodall||Public & Shareable||Open Access|
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.http://creativecommons.org/licenses/by/4.0/