def variableGroup(args):
    groupvars = {'snow': ["swe", "salbedo", "snow_cover", "snow_depth"],
                 'drought': ["severity", "spi1", "spi3", "spi6", "spi12"],
                 'soil': ["soil_moist", "soil_temp"],
                 'eb': ["net_short", "net_long", "latent", "sensible", "grnd_flux"],
                 'wb': ["rainf", "snowf", "evap", "runoff", "baseflow"]}
    for v in args:
        if v in groupvars:
            args.remove(v)
            for gv in groupvars[v]:
                if gv not in args:
                    args.append(gv)
    return args
Create a managed source
dataset/ETHPy150Open nasa/RHEAS/src/vic/output.py/variableGroup--crossover with--dataset/ETHPy150Open datasift/datasift-python/datasift/managed_sources.py/ManagedSources.create