iwfm.calib.read_overwrite_file¶
- iwfm.calib.read_overwrite_file(overwrite_file, nnodes, nlay, param_types, verbose=False)[source]¶
Open and read an IWFM-2015 overwrite file or overwrite template file, and return the number of nodes, the scaling factors, and the parameter values.
From REAL2IGSM.F90 by Matt Tonkin, with modifications by others
- Parameters:
- Returns:
nwrite (int) – number of parameter lines in overwrite file
factors (list) – multiplication factors
ctimes (list of strs) – time steps in DSS format
parvals_d (dict) – parameter values for each node and layer
in_lines (list) – each item is one line from the overwrite file