iwfm.diagnostics.read_elemmb_hdf¶
- iwfm.diagnostics.read_elemmb_hdf(hdf_path, n_elements, n_layers, threshold=100000.0, top_n_elements=20, verbose=False)[source]¶
Read Diagnostics_ElemMB.hdf and compute summary statistics.
- Parameters:
hdf_path (str) – Path to Diagnostics_ElemMB.hdf.
n_elements (int) – Number of model elements.
n_layers (int) – Number of model layers.
threshold (float, default = 1e5) – Absolute residual threshold (ft^3/day) for flagging elements as hotspots.
top_n_elements (int, default = 20) – Max number of hotspot elements to report.
verbose (bool, default = False) – Print progress.
- Return type:
MassBalanceSummary