Skip to content

A repository for coupling TEEHR with Nextgen-In-A-Box (NGIAB) simulation output

License

Notifications You must be signed in to change notification settings

RTIInternational/ngiab-teehr

Repository files navigation

ngiab-teehr

A repository for coupling TEEHR with Nextgen-In-A-Box (NGIAB) simulation output.

Warning: This code is experimental!

The example_guide.sh script demonstrates running a TEEHR evaluation (see scripts/teehr_ngen.py) on NGIAB output.

To build and push the TEEHR image to the AWI CIROH registry

Customize the metrics calculated by TEEHR or any other code related to the workflow:

  1. Create a branch off of main
  2. Make your edits to scripts/teehr_ngen.py and/or scripts/utils.py
  3. Update the Changelog so that your changes can be associated with a tag
  4. Submit and PR and merge
  5. Then checkout main and pull the new changes, and push your tag:
git checkout main
git pull
git tag -a v0.x.x -m "version 0.x.x"
git push origin v0.x.x

This will trigger a github action to build and push the image with your tag, and the latest tag, to the AWI CIROH registry.

To build and push locally:

docker build -t awiciroh/ngiab-teehr:<tag name> .
docker push awiciroh/ngiab-teehr:<tag name>

Now you can specify the image tag in the guide.sh script.

alt text Funding for this project was provided by the National Oceanic & Atmospheric Administration (NOAA), awarded to the Cooperative Institute for Research to Operations in Hydrology (CIROH) through the NOAA Cooperative Agreement with The University of Alabama (NA22NWS4320003).

About

A repository for coupling TEEHR with Nextgen-In-A-Box (NGIAB) simulation output

Resources

License

Stars

Watchers

Forks

Packages

No packages published