pywfm.IWFMModel.get_stream_reach_names#

IWFMModel.get_stream_reach_names()#

Return the stream reach names specified in an IWFM model

Returns:

list of names for each stream reach in the model

Return type:

list

See also

IWFMModel.get_subregion_names

Return the subregion names specified in an IWFM model

IWFMModel.get_groundwater_hydrograph_names

Return the groundwater hydrograph location names specified in an IWFM model

IWFMModel.get_stream_hydrograph_names

Return the stream flow hydrograph location names specified in an IWFM model

IWFMModel.get_subsidence_hydrograph_names

Return the subsidence hydrograph location names specified in an IWFM model

Example

>>> from pywfm import IWFMModel
>>> pp_file = '../Preprocessor/PreProcessor_MAIN.IN'
>>> sim_file = 'Simulation_MAIN.IN'
>>> model = IWFMModel(pp_file, sim_file)
>>> model.get_stream_reach_names()
['Reach2', 'Reach1', 'Reach3']
>>> model.kill()
>>> model.close_log_file()