carpentries-lab / python-aos-lesson

Python for Atmosphere and Ocean Scientists
https://carpentries-lab.github.io/python-aos-lesson/
Other
87 stars 49 forks source link

Add a map_blocks example #40

Open DamienIrving opened 3 years ago

DamienIrving commented 3 years ago

The large data lesson mentions that map_blocks and apply_ufunc can be used to write dask-aware functions, but doesn't actually do it. It might be useful to add a simple example.

A good resource is this example from NCAR-ESDS: https://ncar.github.io/esds/posts/map_blocks_example/