seagrid.oc_cci#

ESA Ocean Colour CCI, as a module.

Every member of seagrid.sources.ocean_colour.oc_cci.OCCCI is available as a module attribute:

from seagrid import oc_cci

ds = oc_cci.open_dataset("2010-01-01", "chlor_a", timetype="monthly")
v5 = oc_cci.source(version="5.0")

See seagrid.sources.module.

Functions

dominating_waterclass()

Return the index of the dominating OWT water class on the CBIOMES grid.

source([variant])

Return a source object, optionally for a variant or with overrides.

thredds_url(dtm[, data_var, timetype, ...])

Return the OPeNDAP URL of one time step; the 2.x name of remote_url.

seagrid.oc_cci.dominating_waterclass()[source]#

Return the index of the dominating OWT water class on the CBIOMES grid.

Reads the CBIOMES_CCI_water_class<N>.nc arrays from array_dir.

Returns:

xarray.DataArray

Return type:

DataArray

seagrid.oc_cci.source(variant=None, **overrides)#

Return a source object, optionally for a variant or with overrides.

Parameters:
  • variant (str, optional) – Product variant, e.g. "nrt".

  • **overrides – Settings that replace the configured ones for this object.

Returns:

DataSource

Return type:

DataSource

seagrid.oc_cci.thredds_url(dtm, data_var=None, *, timetype=None, resolution=None)[source]#

Return the OPeNDAP URL of one time step; the 2.x name of remote_url.

Parameters:
Return type:

str