Skip to content

NGWPC NWM PI-3 Formulation Selection Delivery 2026-02-25 - #872

Open
cmaynard-ngwpc wants to merge 162 commits into
NOAA-OWP:masterfrom
NGWPC:ngwpc-3.1.2.2.0
Open

NGWPC NWM PI-3 Formulation Selection Delivery 2026-02-25#872
cmaynard-ngwpc wants to merge 162 commits into
NOAA-OWP:masterfrom
NGWPC:ngwpc-3.1.2.2.0

Conversation

@cmaynard-ngwpc

Copy link
Copy Markdown

This pull request integrates the EWTS logging framework across t-route, improving logging consistency, configurability, and test coverage. It introduces the troute_ewts package, migrates C and Python logging to named loggers, removes redundant initialization, and hardens environment-variable handling. The PR also makes a small functional improvement by exposing coastal coupling data loading for reuse.


Additions

  • Added the troute_ewts package, including:
    • Module documentation/descriptions
    • Unit tests for EWTS functionality
  • Added a named logger for t-route (Python and C code paths).
  • Added a logger for t-route network C code, converting reservoir (RFC/hybrid) and levelpool outputs from printf to structured log entries.
  • Exposed coastal coupling data loading outside assemble_forcings for broader reuse.

Changes

Logging & Configuration

  • Updated to use the new EWTS package throughout t-route.
  • Ensured EWTS initialization correctly reflects non-stale OS environment variables.
  • Made NGEN_EWTS_LOGGING case-insensitive for more robust configuration.
  • Removed an unnecessary configure_logging call to avoid redundant initialization.
  • Standardized logging to named loggers, replacing ad-hoc or hardcoded outputs.

Code Quality & Tests

  • Removed hardcoded strings from unit tests to improve maintainability.
  • Updated .gitignore to ensure logging.c is built as part of the t-route network.
  • Minor cleanups and consistency improvements aligned with EWTS adoption.

Removals

  • Removed direct printf usage in favor of structured logging for reservoir-related code paths.
  • Removed redundant logging configuration calls that were no longer needed with EWTS.

ngwpcareg and others added 30 commits October 8, 2024 12:02
customization of t-route's logging class to comply with logging requirements set in NGWPC-3888

See merge request NGWPC/nwm-ngen/t-route!1
Ngwpc 3888

See merge request NGWPC/nwm-ngen/t-route!2
Text file containing repository version number and date

See merge request NGWPC/nwm-ngen/t-route!3
changes to make t-route compatible with v2.2 gpkg

See merge request NGWPC/nwm-ngen/t-route!4
Development Branch Merge to release-candidate branch for version text file

See merge request NGWPC/nwm-ngen/t-route!5
…didate'

Updated version file for Release rc-1.0.0

See merge request NGWPC/nwm-ngen/t-route!6
Release Candidate Branch Merge to main for Release 1.0.0

See merge request NGWPC/nwm-ngen/t-route!7
update version file for release 1.0.0

See merge request NGWPC/nwm-ngen/t-route!8
Release 1.0.0 Merge to development

See merge request NGWPC/nwm-ngen/t-route!9
Added RTX licensing verbiage

See merge request NGWPC/nwm-ngen/t-route!11
Merge development into release-candidate for release rc-1.1.0

See merge request NGWPC/nwm-ngen/t-route!12
Merge update_version_file_rc-1.1.0 into release-candidate for release rc-1.1.0

See merge request NGWPC/nwm-ngen/t-route!13
Merge release-candidate into development for release rc-1.1.0

See merge request NGWPC/nwm-ngen/t-route!14
Merge release-candidate into master for release 1.1.0

See merge request NGWPC/nwm-ngen/t-route!15
Merge update_version_file_1.1.0 into master for release 1.1.0

See merge request NGWPC/nwm-ngen/t-route!16
Merge master into development for release 1.1.0

See merge request NGWPC/nwm-ngen/t-route!17
idtodd and others added 30 commits October 9, 2025 12:10
Drive NGEN T-Route through BMI (NGWPC-7700)
Remove nexus file read in BMI implementation (NGWPC-8769)
Unify pydantic minimum version to currently latest patch release of 2.11 (2.11.9)
Merge development into ngwpc-candidate for release 3.1.2.1.0-rc1
Merge ngwpc-candidate into ngwpc-release for release 3.1.2.1.0
Merge official release 3.1.2.1.0 to development
Merge development into ngwpc-candidate for release 3.1.2.2.0-rc1
Merge ngwpc-candidate into ngwpc-release for release 3.1.2.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.