iwfm.read_factltou

iwfm.read_factltou(gw_file)[source]

Read the FACTLTOU head-output scale factor from an IWFM groundwater file.

IWFM multiplies simulated groundwater heads by FACTLTOU before printing them to the hydrograph output file. A model calibrated with FACTLTOU > 1 (to preserve more significant digits through the fixed-decimal print format) writes scaled heads, so readers of the hydrograph file must divide by this factor to recover heads in model units.

Parameters:

gw_file (str) – IWFM groundwater main file name

Returns:

factltou – FACTLTOU value, or 1.0 if the file cannot be read or has no non-comment FACTLTOU line

Return type:

float