opendrift.models.openoil.adios.harvest_oils

Module Contents

Functions

get_full_oil_from_id(_id)

oils([limit, query])

Get all oils.

download(dst)

make_archive(oildir, file)

Attributes

logger

ADIOS

dst

opendrift.models.openoil.adios.harvest_oils.logger
opendrift.models.openoil.adios.harvest_oils.ADIOS = 'https://adios.orr.noaa.gov/api/oils/'
opendrift.models.openoil.adios.harvest_oils.get_full_oil_from_id(_id)[source]
opendrift.models.openoil.adios.harvest_oils.oils(limit=9999, query='')[source]

Get all oils.

Args:

limit: number of oils to retrieve, None means all available. query: search string (name, id, location).

Returns:

List of `class:ThinOil`s.

opendrift.models.openoil.adios.harvest_oils.download(dst)[source]
opendrift.models.openoil.adios.harvest_oils.make_archive(oildir, file)[source]
opendrift.models.openoil.adios.harvest_oils.dst