retrieve
- pyarts.cat.download.retrieve(download_dir=None, version=None, verbose=False)[source]
Download and extract the ARTS XML and catalog data files from github.
This function sets the ARTS data search path to the downloaded data directories, so that ARTS can find the required data files.
If the environment variable ARTS_DATA_PATH or ARTS_INCLUDE_PATH is set, it is assumed that the user wants to use their own catalog locations and this function does nothing.
- Parameters:
download_dir (str, optional) – The directory where the data files will be stored. If not provided, the default is ~/.cache/arts.
version (str, optional) – The version of ARTS to download the data files for. The default is the version of the currently installed pyarts package.
verbose (bool, optional) – Whether to print info messages. Defaults to False.