DDF99Pars: DDF99 parameters from .xml files

View source: R/All.R

DDF99ParsR Documentation

DDF99 parameters from .xml files

Description

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

Usage

DDF99Pars(x)

Arguments

x

the xml file path

Details

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.

Value

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.

Author(s)

Anthony Hammond

Examples

#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")

UKFE documentation built on Nov. 6, 2023, 1:07 a.m.

Related to DDF99Pars in UKFE...