osmose.engine.timeseries

Time-series loading framework for OSMOSE engine parameters.

Matches Java OSMOSE 4.3.3 util/timeseries/ classes. Provides 7 TimeSeries types for loading parameter values that vary over time, with a factory function for auto-detection from config keys.

Java reference: osmose-master/java/src/main/java/fr/ird/osmose/util/timeseries/

Functions

load_timeseries(config, key_prefix, ...)

Auto-detect and load a TimeSeries from config keys.

Classes

ByClassTimeSeries(classes, values)

Per-class per-dt CSV time-series with cycling.

ByRegimeTimeSeries(values)

Regime-switching time-series from config arrays.

BySpeciesTimeSeries(names, values)

Per-species per-dt CSV time-series with cycling.

ByYearTimeSeries(values)

Per-year CSV time-series with cycling.

GenericTimeSeries(values)

CSV time-series without cycling.

SeasonTimeSeries(values)

Seasonal time-series repeated annually.

SingleTimeSeries(values)

CSV time-series with cycling.

TimeSeries(*args, **kwargs)

Protocol for all time-series types.