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:
task : function

the entity task to apply

gdirs : list of oggm.GlacierDirectory objects

the glacier directories to process