Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit authored Sep 24, 2024
1 parent acd8455 commit f1da57f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

## Run it
This example will execute a 24 hour NextGen simulation over the Palisade, Colorado watershed with CFE, SLOTH, PET, NOM, and t-route configuration distributed over 4 processes. The forcings used are the National Water Model v3 Retrospective.
```


First, obtain a hydrofabric file for the gage you wish to model. Check out [hfsubset](https://github.com/lynker-spatial/hfsubsetCLI) for a handy cli tool for generating geopackages. For Palisade, Colorado:
```
hfsubset -w medium_range \
Expand All @@ -19,6 +20,8 @@ hfsubset -w medium_range \
-o palisade.gpkg \
-t hl "Gages-09106150"
```


Then feed the hydrofabric file to ngen-datastream along with a few cli args to define the time domain and NextGen configuration.
```
./scripts/stream.sh -s 202006200100 \
Expand All @@ -29,6 +32,8 @@ Then feed the hydrofabric file to ngen-datastream along with a few cli args to d
-R $(pwd)/configs/ngen/realization_sloth_nom_cfe_pet_troute.json \
-n 4
```


And that's it! Outputs will exist at `$(pwd)/data/datastream_test/ngen-run/outputs`. To see what's happening in `ngen-datastream` step-by-step, see the [breakdown document](https://github.com/CIROH-UA/ngen-datastream/blob/main/docs/BREAKDOWN.md).


Expand Down

0 comments on commit f1da57f

Please sign in to comment.