access_nri_intake.data.utils
============================

.. py:module:: access_nri_intake.data.utils


Attributes
----------

.. autoapisummary::

   access_nri_intake.data.utils.CATALOG_PATH_REGEX


Functions
---------

.. autoapisummary::

   access_nri_intake.data.utils.available_versions


Module Contents
---------------

.. py:data:: CATALOG_PATH_REGEX
   :value: '^(?P<rootpath>.*?)\\{\\{version\\}\\}.*?$'


.. py:function:: available_versions(pretty = True)

   
   Report the available versions of the `intake.cat.access_nri` catalog.

   :param pretty: Defines whether to return a pretty print-out of the available versions
                  (True, default), or to provide a list of version numbers only (False).
   :type pretty: bool, optional

   :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.











   ..
       !! processed by numpydoc !!

