hydromodpy.data.common.progress#

Unified progress and logging interface for data managers.

Provides structured logging with visual hierarchy and optional tqdm progress bars for long-running operations. All output goes through the standard logging module - no print() calls.

Functions

data_phase(variable)

Context manager for loading one variable type.

iter_progress(iterable, *, desc[, total])

Wrap an iterable with a tqdm progress bar for long loops.

log_loaded(n_records[, detail])

Log the outcome of a data phase.

log_step(message)

Log a sub-step within a data phase (visually indented).