mpas_analysis.shared.timekeeping.utility.get_simulation_start_time¶
-
mpas_analysis.shared.timekeeping.utility.get_simulation_start_time(streams)[source]¶ Given a
StreamsFileobject, returns the simulation start time parsed from a restart file.- Parameters
- steams
StreamsFileobject For parsing an MPAS streams file
- steams
- Returns
- simulation_start_timestr
The start date of the simulation parsed from a restart file identified by the contents of
streams.
- Raises
- IOError
If no restart file can be found.