get_nldi_interactively {gwavr} | R Documentation |
Get Hydro Network-Linked Data Index (NLDI) Interactively
Description
This function uses the NLDI API to allow the user to visually select a location (point) to get numerous hydrologic realizations.
Usage
get_nldi_interactively()
Value
A list with sf objects.
Note
The picker list has three options right now: Total Basin, All Local Catchments and Only Local Catchment. Descriptions below:
-
Total Basin: This will return the upstream tributaries (UT), upstream main (UM), basin boundary and site data above the user point.
-
All Local Catchments: This will return the upstream tributaries (UT) and all the local NHDPLusV2 catchments above the user point. In addition, each catchment will contain the zonal stats associated with 'CAT' in NLDI.
-
Only Local Catchment: This will only return the catchment at the point and tributary. In addition, it will also include the zonal stat for that catchment.
Examples
if(interactive()){
nldi_data <- get_nldi_interactively()
}