iwfm.get_stream_list_41

iwfm.get_stream_list_41(stream_lines, line_index, nreach, nrate)[source]

Read part of the stream specification file for file type 4.1 and return stream reach and rating table info.

Version 4.1 has the same section layout as 4.2; its rating tables carry an extra wetted-perimeter column (WPTB). Rating table rows are carried as verbatim text, so the extra column passes through the shared 4.2 parser unchanged.

Parameters:
  • stream_lines (list of strings) – contents of stream specification file

  • line_index (int) – current item in stream_lines

  • nreach (int) – number of stream reaches

  • nrate (int) – number of points in each stream node rating table

Return type:

same as iwfm.get_stream_list_42()