@@ -29,11 +29,20 @@ Usage:
2929Examples:
3030 hfsubset -l divides,nexus \
3131 -o ./divides_nexus.gpkg \
32- -r "pre-release" \
33- -t hl \
32+ -r "v20" \
33+ -t hl_uri \
3434 "Gages-06752260"
3535
36- hfsubset -o ./poudre.gpkg -t hl "Gages-06752260"
36+ hfsubset -o ./poudre.gpkg -t hl_uri "Gages-06752260"
37+
38+ # Using network-linked data index identifiers
39+ hfsubset -o ./poudre.gpkg -t nldi_feature "nwis:USGS-08279500"
40+
41+ # Specifying layers and hydrofabric version
42+ hfsubset -l divides,nexus -o ./divides_nexus.gpkg -r "v20" -t hl_uri "Gages-06752260"
43+
44+ # Finding data around a POI
45+ hfsubset -l flowpaths,reference_flowpaths -o ./sacramento_flowpaths.gpkg -t xy -121.494400,38.581573
3746
3847Options:
3948 -l string
@@ -47,9 +56,9 @@ Options:
4756 -quiet
4857 Disable progress bar
4958 -r string
50- Hydrofabric version (default "pre-release ")
59+ Hydrofabric version (default "v20 ")
5160 -t string
52- One of: "id", "hl_uri", "comid", "xy", or "nldi " (default "hf ")
61+ One of: "id", "hl_uri", "comid", "xy", or "nldi_feature " (default "id ")
5362```
5463
5564## NextGen Needs GeoJSON
@@ -64,7 +73,7 @@ Here is a full-stop example of extracting a subset for a hydrolocation, using th
6473mkdir poudre
6574cd poudre
6675
67- hfsubset -l core -o ./poudre-subset.gpkg -r "pre-release " -t hl_uri "Gages-06752260"
76+ hfsubset -l core -o ./poudre-subset.gpkg -r "v20 " -t hl_uri "Gages-06752260"
6877
6978ogr2ogr -f GeoJSON catchments.geojson poudre-subset.gpkg divides
7079ogr2ogr -f GeoJSON nexus.geojson poudre-subset.gpkg nexus
0 commit comments