# Read in AMAX and catchment descriptors
if (FALSE) {
am_add <- AMImport(r"{D:\NRFAPeakFlow_v12_1_0\suitable-for-neither\027003.am}")
cds_add <- CDsXML(r"{D:\NRFAPeakFlow_v12_1_0\suitable-for-neither\027003.xml}")
}
# Apply the function and add the results to the necessary data frames
if (FALSE) {
gauge_27003 <- AddGauge(cds_add, am_add, ID = "27003")
}
# Append the descriptors and stats (element[[1]]) to NRFAData
if (FALSE) {
nrfa_data <- rbind(NRFAData, gauge_27003[[1]])
}
# Append the AMAX series (element[[2]]) to AMSP
if (FALSE) {
amsp <- rbind(AMSP, gauge_27003[[2]])
}
Run the code above in your browser using DataLab