Python Runtime Package

The EWTS Python runtime package provides logging support for Python-based hydrologic modules running either within ngen or as standalone applications.

Package location

The package source lives under:

runtime/python/ewts/src/ewts

and is imported as:

import ewts

Typical use

import ewts

LOG = ewts.get_logger(ewts.FORCING_ID)
LOG.bind()
LOG.info("Initializing forcing workflow")

Runtime behavior

The Python package mirrors the same general EWTS behavior used by the native language-specific Runtime Libraries, including canonical log levels and support for ngen integration when that environment is active.

Developer reference

For packaging details, lazy binding, testing, and integration notes, see:

  • runtime/python/README.md