argopy.set_options

class set_options(**kwargs)[source]

Set options for argopy.

Lis of options:

  • dataset: Dataset. This can be phy, bgc or ref. Default: phy
  • src: Source of fetched data. Default: erddap
  • local_ftp: Absolute path to local GDAC ftp copy. Default: ???
  • cachedir: Absolute path to local cache directory. Default: ~/.cache/argopy
  • mode: User mode. This can be standard or expert. Default: standard

You can use set_options either as a context manager: ```

>>> import argopy
>>> with argopy.set_options(src='localftp'):
...     ds = argopy.DataFetcher().float(3901530).to_xarray()

` Or to set global options: `

>>> argopy.set_options(src='localftp')

```

__init__(self, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, \*\*kwargs) Initialize self.