pywfm.IWFMModel.get_stream_bottom_elevations#

IWFMModel.get_stream_bottom_elevations()#

Return the stream channel bottom elevation at each stream node

Returns:

array of floats with the stream channel elevation for each stream node

Return type:

np.ndarray

See also

IWFMModel.get_n_stream_nodes

Return the number of stream nodes in an IWFM model

IWFMModel.get_stream_node_ids

Return an array of stream node IDs in an IWFM model

IWFMModel.get_n_rating_table_points

Return the number of data points in the stream flow rating table for a stream node

IWFMModel.get_stream_rating_table

Return the stream rating table for a specified stream node

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_bottom_elevations()
array([300., 298., 296., 294., 292., 290., 288., 286., 284., 282., 282.,
       280., 278., 276., 274., 272., 272., 270., 268., 266., 264., 262.,
       260.])
>>> model.kill()
>>> model.close_log_file()