iwfm.iwfm_read_streams

iwfm.iwfm_read_streams(stream_file, verbose=False)[source]

Read an IWFM Stream Geometry file and return a list of stream reaches, a dictionary of stream nodes, and the number of stream nodes.

Parameters:
  • stream_file (str) – IWFM Streams file name

  • verbose (bool, default = False) – If True, print status messages.

Returns:

  • reach_list (list) – information for each stream reach

  • stnodes_dict (dictionary) – key = stream node ID, values = [groundwater node, reach, elevation]

  • len(snodes_list) (int) – number of stream nodes

  • rating_dict (dictionary) – key = stream node ID, values = rating table