geodata.mask.Mask.from_name
===========================

.. py:method:: geodata.mask.Mask.from_name(name: str, mask_dir: str = MASK_DIR)
   :classmethod:


   Load a previously saved mask object by name.

   :param name: Name of the saved 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 specified in config.py
   :type mask_dir: str

   :returns: The loaded mask object.
   :rtype: Mask

