iwfm.headall_read

iwfm.headall_read(input_file, skip=5, verbose=False)[source]

Read an IWFM HeadAll.out file and return the data as floats, with lists of dates and model nodes and the number of model layers.

Parameters:
  • input_file (str) – IWFM HeadAll.out file name

  • skip (int, default=5) – number of header lines

  • verbose (bool, default=False) – True = command-line output on

Returns:

  • data (list) – heads from headall file

  • layers (int) – number of model layers

  • dates (list) – simulation time step dates corresponding to data rows

  • nodes (list) – model nodes corresponding to data columns