hydromodpy.solver.modflow6.postprocess_ops#

MODFLOW 6 post-processing helpers: unstructured accumulation and native mesh exports.

Functions

accumulate_unstructured_cell_values(model, ...)

Accumulate one per-cell source field along a downhill mesh graph.

budget_records_or_none(cbb, *, kstpkper, text)

Return one budget term, or None when the term is absent from the file.

build_unstructured_cell_adjacency(model)

Return cell-to-cell adjacency for one unstructured planar mesh.

compute_chd_outlet_discharge_east_side_m3_s(...)

Return total positive east-side CHD outflow [m3/s] for one stress period.

east_side_cell_ids(model)

Return east-boundary cell ids for one DISV topological layer.

export_native_mesh_outputs(model, *, ...)

Write native mesh exports (NPZ, CSV, VTU, PNG) for cell-based outputs.

native_cell_series_payload(model, *, datasets)

Normalize time-indexed cell datasets to stacked (ntime, ncpl) arrays.

native_mesh_exports_enabled(options)

Return True when one native mesh export format is enabled.

open_mf6_budget_file(path)

Open one MF6 cell-budget file with a small precision fallback chain.

to_export_array(model, flat_array)

Reshape flat (ncpl,) to (nrow, ncol) for raster export (structured only).