access_nri_intake.data.utils#
Attributes#
Functions#
|
Report the available versions of the intake.cat.access_nri catalog. |
Module Contents#
- access_nri_intake.data.utils.CATALOG_PATH_REGEX = '^(?P<rootpath>.*?)\\{\\{version\\}\\}.*?$'#
- access_nri_intake.data.utils.available_versions(pretty=True)#
Report the available versions of the intake.cat.access_nri catalog.
- Parameters:
pretty (bool, optional) – Defines whether to return a pretty print-out of the available versions (True, default), or to provide a list of version numbers only (False).
- Returns:
- none | list[str]
If pretty==True, the available catalogs are printed to output, and the function returns None. If pretty==False, a list of available catalogs is returned.
Additionally, if pretty==True only, expired catalogs are also printed to output. These catalogs require the user to place the necessary catalog file in their home directory.