# Read GeoData and BranchData files
gd <- ReadGeoData(
filename = system.file("demo_model", "GeoData.txt", package = "HYPEtools")
)
bd <- ReadGeoData(
filename = system.file("demo_model", "GeoData.txt", package = "HYPEtools")
)
# Calculate the river distance between two SUBIDs
CalculateRiverDistance(
SUBID1 = 3344,
SUBID2 = 3587,
gd = gd
)
Run the code above in your browser using DataLab