@staticmethod
    def get_by_name(name):
        if name == "plates":
            return Step.plates()
        elif name == "precipitations":
            return Step.precipitations()
        elif name == "full":
            return Step.full()
        raise Exception("Unknown step '%s'" % name)
dataset/ETHPy150Open Mindwerks/worldengine/worldengine/step.py/Step.get_by_name/original