oggm.workflow.execute_entity_task

oggm.workflow.execute_entity_task(task, gdirs, **kwargs)[source]

Execute a task on gdirs.

If you asked for multiprocessing, it will do it.

If task has more arguments than gdir they have to be keyword arguments.

Parameters
taskfunction

the entity task to apply

gdirslist of oggm.GlacierDirectory objects

the glacier directories to process