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. Access loaded measurements structure with the data and index properties:
ds = ArgoDataFetcher().profile(6902746, 34).load().data # or df = ArgoDataFetcher().float(6902746).load().index
- 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