argopy.DataFetcher.load
argopy.DataFetcher.load#
- DataFetcher.load(force: bool = False, **kwargs)#
Fetch data (and compute an index) if not already in memory
Apply the default to_xarray() and to_index() methods and store results in memory. You can access loaded measurements structure with the data and index properties.
- Parameters
force (bool) – Force fetching data if not already in memory, default is False.
- Returns
Data fetcher with data and index properties in memory
- Return type
Examples
>>> ds = ArgoDataFetcher().profile(6902746, 34).load().data >>> df = ArgoDataFetcher().float(6902746).load().index