Example #1
0
def get_tasks_for_variable(
    datasets,
    work_dir,
):
    diagnostic = {"diagnostic": diagnostic_name}
    fetcher_tasks = []
    for task in datasets:
        fetcher_tasks.extend(
            get_fetcher_tasks(diagnostic,
                              task,
                              config={"data_path": bock20_config.data_path}))
    return fetcher_tasks
def get_tasks_for_variable(
    datasets,
    work_dir,
):
    tasks = datasets

    diagnostic = {"diagnostic": diagnostic_name}

    fetcher_tasks = []
    for task in tasks:
        fetcher_tasks.extend(
            get_fetcher_tasks(diagnostic=diagnostic,
                              variable=task,
                              config={"data_path": eyring13_config.data_path}))
    return fetcher_tasks
Example #3
0
def get_tasks_for_variable(
    datasets,
    diagnostic,
    config,
    work_dir,
):
    tasks = datasets

    fetcher_tasks = []
    for task in tasks:
        fetcher_tasks.extend(
            get_fetcher_tasks(
                diagnostic,
                variable=task,
                config=config,
            ))
    return fetcher_tasks