argopy.ArgoFloat.open_dataset#
- ArgoFloat.open_dataset(name: str = 'prof', cast: bool = True, **kwargs) Dataset#
Open and decode a dataset
- Parameters:
name (str, optional, default = "prof") β Name of the dataset to open. It can be any key from the dictionary returned by
ArgoFloat.ls_dataset.cast (bool, optional, default = True) β Determine if the dataset variables should be cast or not. This is similar to opening the dataset directly with
xr.open_datasetusing theengine=`argo`option. This will be ignored if the ``netCDF4` kwarg is set to True.**kwargs β All the other parameters are passed to the GDAC store open_dataset method.
- Return type:
Notes
Use the
netCDF4=Trueoption to return anetCDF4.Datasetobject instead of axarray.Dataset.