argopy.tutorial.open_dataset
argopy.tutorial.open_dataset#
- open_dataset(name)[source]#
Open a dataset from the argopy online data repository (requires internet).
If a local copy is found then always use that to avoid network traffic.
Refresh dataset with:
` argopy.tutorial.repodata().download(overwrite=True) `
- Parameters
name (str) –
Name of the dataset to load or get information for. It can be:
localftp
,weekly_index_prof
orglobal_index_prof
.localftp
, return the absolute path and list of files in the sample local ftp files.weekly_index_prof
, return path and to weekly profile index fileglobal_index_prof
, return path and to global profile index file
- Returns
path (str) – Root path to files
files (list(str) or str) – List of files with the requested dataset