DDF99Pars | R Documentation |
Imports the FEH 1999 depth duration frequency parameters from xml files either from an FEH webservice download or from the Peakflows dataset downloaded from the national river flow archive (NRFA) website
DDF99Pars(x)
x |
the xml file path |
This function is coded to import DDF99 parameters from xml files from the NRFA or the FEH web-server. File paths for importing data require forward slashes. On some operating systems, such as windows, the copy and pasted file paths will have backward slashes and would need to be changed accordingly.
A list with two elements, each a data frame with columns; parameters and associated Values The first data frame is for the catchment average parameters (these still require an ARF adjustment where appropriate) and the second for the 1km2 grid point parameters.
Anthony Hammond
#Import DDF99 parameters from a NRFA peakflows xml file and display in console
## Not run: DDF99.4003 <- DDF99Pars("C:/Data/NRFAPeakFlow_v11/Suitable for QMED/04003.xml")
## Not run: DDF99.4003
#Import DDF99 parameters from a FEH webserver xml file and display in the console
## Not run: DDF99.MySite <- DDF99Pars("C:/Data/FEH_Catchment_384200_458200.xml")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.