@classmethod
def from_dict(cls, input_dict):
    """Create a state from an input dictionary.

        .. code-block:: python

            {
            "name": "grass_covered",
            "default": "ground..summer..000.rad",
            "direct": "ground..direct..000.rad",
            }
        """
    name = input_dict['name']
    default = input_dict['default']
    direct = input_dict['direct']
    return cls(name, default, direct)
