opendrift.readers.reader_timeseries
Classes
Reader providing the nearest value in time from a given time series. |
Module Contents
- 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.
- times
Setting this to True overrides temporal and spatial bounds checks. Also useful for readers that are constant and do not have a temporal dimension.
- _parameter_value_map
- variables
- proj4 = '+proj=latlong'
- xmin = -180
- xmax = 180
- ymin = -90
- ymax = 90
- start_time
- end_time
- time_step
- name = 'reader_timeseries'