mpas_analysis.shared.io.namelist_streams_interface.StreamsFile.read

StreamsFile.read(streamname, attribname)[source]

Get the value of the given attribute in the given stream

Parameters
  • streamname (str) – The name of the stream

  • attribname (str) – The name of the attribute within the stream

Returns

value (str) – The value associated with the attribute, or None if the attribute was not found