argopy.xarray.ArgoEngine

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().

open_datatree(filename_or_obj,Ā *[,Ā ...])

Backend open_datatree method used by Xarray in open_datatree().

open_groups_as_dict(filename_or_obj,Ā *[,Ā ...])

Opens a dictionary mapping from group names to Datasets.

Attributes

description

open_dataset_parameters

url