opendrift.readers.reader_timeseries
Module Contents
Classes
Reader providing the nearest value in time from a given time series. |
- class opendrift.readers.reader_timeseries.Reader(parameter_value_map)[source]
Bases:
opendrift.readers.basereader.BaseReader
,opendrift.readers.basereader.ContinuousReader
Reader providing the nearest value in time from a given time series.
init with a map {‘time’:, time array, ‘variable_name’: value, …} If there is the key lon or lat in the map, it will be stored as self.lon and self.lat but not as a timeserie.