From 9467f042b12fbb348c8769a496adc346cff7638a Mon Sep 17 00:00:00 2001 From: Florian Ziemen Date: Fri, 30 Aug 2024 14:42:09 +0300 Subject: [PATCH] use chunking --- B2/L6/docs/result_evaluation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/B2/L6/docs/result_evaluation.md b/B2/L6/docs/result_evaluation.md index b53e62b..74037d8 100644 --- a/B2/L6/docs/result_evaluation.md +++ b/B2/L6/docs/result_evaluation.md @@ -87,14 +87,14 @@ Funky features in the model Let's load some model and ERA5 data -``` +```python import intake import healpy as hp import matplotlib.pyplot as plt from easygems.healpix import attach_coords hera_cat = intake.open_catalog("https://tcodata.mpimet.mpg.de/internal.yaml") -hera = hera_cat.HERA5.to_dask().pipe(attach_coords) +hera = hera_cat.HERA5(chunks = 'auto').to_dask().pipe(attach_coords) # Contains modified Copernicus Climate Change Service information 2023. # Neither the European Commission nor ECMWF is responsible for any use # that may be made of the Copernicus information or data it contains. @@ -102,7 +102,7 @@ hera = hera_cat.HERA5.to_dask().pipe(attach_coords) zoom = 7 cat = intake.open_catalog("https://data.nextgems-h2020.eu/online.yaml") -icon = cat.ICON.ngc3028(zoom=zoom).to_dask().pipe(attach_coords) +icon = cat.ICON.ngc3028(zoom=zoom, chunks = 'auto').to_dask().pipe(attach_coords) ```