polaris.tasks.ocean.analysis.sim_files.SimulationFiles.global_stats_stream

SimulationFiles.global_stats_stream()[source]

Get the output stream the global statistics are read from

The names of the variables in the file depend on whether the stream holds time means or snapshots, so a step that reads them needs the stream and not just its file name.

Returns:

stream (AnalysisStream or None) – The stream, or None if the simulation wrote no global statistics