seagrid.ostia#
OSTIA sea-surface temperature, as a module.
Every member of seagrid.sources.sst.ostia.OSTIA is available as a
module attribute:
from seagrid import ostia
ds = ostia.open_dataset("2010-06-01") # sst in °C
monthly = ostia.open_dataset("2010-06-01", timetype="monthly")
nrt = ostia.source(variant="nrt") # near real time
Functions
|
Open one time step, downloading it first if it is not cached. |
|
Return a source object, optionally for a variant or with overrides. |
- seagrid.ostia.open_dataset(dtm=None, data_var=None, *, nrt=False, **kwargs)[source]#
Open one time step, downloading it first if it is not cached.
As
seagrid.sources.DataSource.open_dataset(), plus nrt.- Parameters:
dtm (
str,pandas.Timestamp,numpy.datetime64ordatetime, optional) – Any time in the time step. Default: the first available date.data_var (
str, optional) – Return only this variable. Default: all variables.nrt (
bool, optional) – Use the near-real-time variant for dates from 2007 on. Default False.**kwargs –
timetype,resolution,force,lat_bounds,lon_boundsand keywords forxarray.open_dataset().
- Returns:
- Return type: