opendrift.readers
Readers are responsible for providing Opendrift with data about the enviornment of the drifting particles or elements.
All readers descend from basereader.BaseReader
. A reader generally also descends from one of the few general classes of readers. When writing a new reader consider which one fits your input data best:
The ContinuousReader is suited for data that can be defined at any point within the domain, or if the reader does its own interpolation internally. E.g. a synthetic eddy
, or a constant
. The StructuredReader aids in interpolation when creating a reader of data on a regular grid
, while the UnstructuredReader provides the basics for irregularily gridded data
(e.g. finite volume models).
See also
See the reader-types or reader-implementations for more details.
See basereader.BaseReader
for how readers work internally.
Subpackages
Submodules
opendrift.readers.reader_ArtificialOceanEddy
opendrift.readers.reader_ROMS_native
opendrift.readers.reader_constant
opendrift.readers.reader_constant_2d
opendrift.readers.reader_current_from_drifter
opendrift.readers.reader_current_from_track
opendrift.readers.reader_double_gyre
opendrift.readers.reader_failing
opendrift.readers.reader_global_landmask
opendrift.readers.reader_grib
opendrift.readers.reader_grib2
opendrift.readers.reader_lazy
opendrift.readers.reader_netCDF_CF_generic
opendrift.readers.reader_netCDF_CF_unstructured
opendrift.readers.reader_oscillating
opendrift.readers.reader_schism_native
opendrift.readers.reader_shape
opendrift.readers.reader_telemac_selafin
opendrift.readers.reader_timeseries
Package Contents
Functions
|
Make readers from URLs or paths to datasets |
Attributes
- opendrift.readers.logger