generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 78
Usage
Justin Singh-M. - NOAA edited this page Oct 13, 2023
·
5 revisions
- A subset of the NOAA NextGen Hydrofabric in either GeoJSON or as a GeoPackage.
Note If using GeoJSON, you will need files for both the
dividesandnexuslayers. - A realization configuration file
- Compiled shared libraries
- Model initialization files, if necessary
- (If performing channel routing) A routing configuration file with reference to it in your realization configuration
- (If using MPI and partitioning) A partition configuration file
Once you have the necessary prerequisites, all that's left is to call your ngen executable with the correct CLI arguments.
ngen \
<divides.geojson or fabric.gpkg> \
<divides subset ids or "all"> \
<nexus.geojson or fabric.gpkg> \
<nexus subset ids or "all"> \
<realization.json> \
[partition.json]
- Divides path:
path/to/divides.geojson- Subset:
cat-1, cat-3, cat-7
- Subset:
- Nexus path:
path/to/nexus.geojson- Subset:
nex-1, nex-2
- Subset:
- Realization path:
path/to/realization_cfg.json
ngen path/to/divides.geojson "cat-1,cat-3,cat-7" path/to/nexus.geojson "nex-1,nex-2" path/to/realization_cfg.json- GeoPackage path:
path/to/fabric.gpkg- Divides Subset:
cat-1, cat-3, cat-7 - Nexus Subset:
all
- Divides Subset:
- Realization path:
path/to/gpkg_realization.json
ngen path/to/fabric.gpkg "cat-1,cat-3,cat-7" path/to/fabric.gpkg "all" path/to/gpkg_realization.jsonTutorial
Getting Started
Configuration
Technical References