Time History Tools

geos.timehistory.plot_time_history.commandLinePlotGen()[source]

Parse commande line.

geos.timehistory.plot_time_history.getHistorySeries(database, variable, setname, indices=None, components=None)[source]

Retrieve a series of time history structures suitable for plotting in addition to the specific set index and component for the time series.

Parameters:
  • database (geos.hdf5_wrapper.hdf5_wrapper) – database to retrieve time history data from

  • variable (str) – the name of the time history variable for which to retrieve time-series data

  • setname (str) – the name of the index set as specified in the geosx input xml for which to query time-series data

  • indices (Optional[int | list[ int ]]) – the indices in the named set to query for, if None, defaults to all

  • components (Optional[int | list[ int ]]) – the components in the flattened data types to retrieve, defaults to all

Returns:

list of (time, data, idx, comp) timeseries tuples for each time history data component

Return type:

Optional[list[ tuple[ Any, …] ]]

geos.timehistory.plot_time_history.isiterable(obj)[source]

Check if input is iterable.