iwfm.iwfm_read_preproc

iwfm.iwfm_read_preproc(pre_file)[source]

Read an IWFM Preprocessor main input file, and return a PreprocessorFiles dataclass with file names and some settings.

Parameters:

pre_file (str) – name of existing preprocessor main input file

Returns:

  • pre_files (PreprocessorFiles) – PreprocessorFiles dataclass of preprocessor file names (resolved to absolute paths)

  • have_lake (bool) – True = the existing model has a lake file