argopy.fetchers.ArgoDataFetcher.load#
- ArgoDataFetcher.load(force: bool = False, **kwargs)[source]#
Fetch data (and compute a profile 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 even 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