iwfm.calib.calib

Typer subapp for IWFM calibration utilities.

Each command here mirrors a script that already exposes a runnable __main__ block under iwfm/calib/ — both entry points keep working. The typer wrappers exist to make the unified iwfm CLI useful and to keep parameter help text in one place.

Functions

calib_stats_cmd(pest_smp_file, ...)

Compute calibration statistics (RMSE/bias) per observation well.

divshort(budget_file, reach_file, output_file)

Convert IWFM diversion shortages to PEST SMP/INS format.

fac2iwfm_cmd(pp_file, param_file, ...)

Convert PEST factor file to IWFM parameter values.

iwfm2obs_cmd(verbose)

Convert IWFM hydrograph output to PEST observation files.

ltbud_cmd(budget_file, output_file, ...)

Log-transform an IWFM budget file.

ltsmp_cmd(input_file, output_file, ...)

Log-transform an SMP file.

pest_res_stats_cmd(pest_res_file, verbose)

Summarize PEST residuals (write a *_stats.out file).

ppk2fac_trans_cmd(factors_file, trans_file, ...)

Translate a pilot-point factors file via a node-remap file.

real2iwfm_cmd(verbose)

Apply a PEST realization back to an IWFM overwrite template.

res_stats_cmd(pest_smp_file, ...)

Compute residual statistics for a SMP/sim pair.

simout2gw_cmd(simout_file, gw_in_file, ...)

Inject parameters from SimulationMessages.out into a Groundwater.dat template.

smp_avg_cmd(smp_file, output_file, verbose)

Average values per series in an SMP file.

smp_format_cmd(smp_file, output_file, ...)

Reformat an SMP file (e.g., normalize name-column width).

stacdep(budget_file, reach_file, output_file)

Convert IWFM stream-groundwater (depletion) flows to PEST SMP/INS format.

well_pairs_2_obs_list_cmd(well_pair_file, ...)

Pair observations from related wells within a date window.