mpas_analysis.shared.io.namelist_streams_interface.StreamsFile.find_stream¶
-
StreamsFile.
find_stream
(self, possibleStreams)[source]¶ If one (or more) of the names in
possibleStreams
is an stream in this streams file, returns the first match.- Parameters
- possibleStreamslist of str
A list of streams to search for
- Returns
- streamNamestr
The name of an stream from possibleOptions occurring in the streams file
- Raises
- ValueError
If no match is found.