iwfm.calib.iwfm2obs

iwfm.calib.iwfm2obs(verbose=False, head_divisor=None)[source]

Interpolate model output to match the times and locations of calibration observations and put them into a PEST-compatible smp-formatted output file.

head_divisorfloat or None (default None)

Divisor applied to simulated GROUNDWATER heads before writing, to undo the model head output unit-scale (FACTLTOU) so heads are reported in model units. None (default) = auto-detect FACTLTOU from the groundwater file. For legacy models FACTLTOU=1 -> no scaling, 3-decimal output (unchanged behavior). When the effective divisor is >1 (e.g. FACTLTOU=100 to boost printed precision), heads are divided and written to 6 decimals. Passing a value overrides the auto-detected FACTLTOU.

Parameters:

nothing

Return type:

nothing