argopy.fetchers.ArgoDataFetcher.to_dataset

argopy.fetchers.ArgoDataFetcher.to_dataset#

ArgoDataFetcher.to_dataset(**kwargs) Dataset[source]#

Fetch and return data as netCDF4.Dataset

Trigger a fetch of data by the specified source and access point.

Notes

This method will fetch data with to_xarray() and then convert the argopy post-processed xarray.DataSet into a netCDF4.Dataset.

If you want to open an Argo netcdf file directly as a netCDF4.Dataset, you should rely on the argopy.ArgoFloat.open_dataset or argopy.gdacfs.open_dataset lower-level methods.

Returns:

Fetched data

Return type:

netCDF4.Dataset