geodata.mask.load_mask
======================

.. py:function:: geodata.mask.load_mask(name: str, mask_dir: str | pathlib.Path | None = MASK_DIR)

   Load a previously saved mask object

   :param name: name for the mask
   :type name: str
   :param mask_dir: directory to look for previously saved mask file and where the mask
                    object will be updated. By default, it should be the mask path in config.py
   :type mask_dir: str

   :returns: the loaded mask object
   :rtype: Mask

