argopy.xarray.ArgoEngine#

class ArgoEngine[source]#

Backend for Argo netCDF files based on the xarray netCDF4 engine

It can open any Argo “.nc” files with ‘Argo’ in their global attribute ‘Conventions’.

But it will not be detected as valid backend for netcdf files, so make sure to specify engine="argo" in xarray.open_dataset().

Examples

>>> import xarray as xr
>>> ds = xr.open_dataset("dac/aoml/1901393/1901393_prof.nc", engine='argo')
__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

guess_can_open(filename_or_obj)

Backend open_dataset method used by Xarray in open_dataset().

open_dataset(filename_or_obj, *[, ...])

Backend open_dataset method used by Xarray in open_dataset().

Attributes

available

description

open_dataset_parameters

url