opendrift.readers.reader_oscillating
Classes
Returning values oscillating in time with given amplitude and period |
Module Contents
- class opendrift.readers.reader_oscillating.Reader(variable, amplitude, period_seconds=3600 * 24, phase=0, zero_time=datetime(2017, 1, 1, 0))[source]
Bases:
opendrift.readers.basereader.BaseReader
,opendrift.readers.basereader.ContinuousReader
Returning values oscillating in time with given amplitude and period
init with
- variables
- amplitude
- period_seconds = 86400
- zero_time
- proj4 = '+proj=latlong +datum=WGS84'
- xmin = -180
- xmax = 180
- ymin = -90
- ymax = 90
- start_time = None
- end_time = None
- time_step = None
- name = 'oscillating_reader'