if (FALSE) {
#gridData provided in the package is the result of \code {loadNcdf}
data(tgridData)
getSpatialMap(tgridData, method = 'meanAnnual')
getSpatialMap(tgridData, method = 'winter')
getSpatialMap(tgridData, method = 'winter', catchment = testCat)
file <- system.file("extdata", "point.txt", package = "hyfo")
point <- read.table(file, header = TRUE, sep = ',' )
getSpatialMap(tgridData, method = 'winter', catchment = testCat, point = point)
}
# More examples can be found in the user manual on http://yuanchao-xu.github.io/hyfo/
Run the code above in your browser using DataLab