From e150bd60c115dde513881a3c3b46c6663b27cc7d Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Fri, 3 Jan 2025 08:41:37 +0000 Subject: [PATCH] change to 2 chunks in lat lon --- src/nwp_consumer/internal/entities/coordinates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nwp_consumer/internal/entities/coordinates.py b/src/nwp_consumer/internal/entities/coordinates.py index 6342c1f..533abde 100644 --- a/src/nwp_consumer/internal/entities/coordinates.py +++ b/src/nwp_consumer/internal/entities/coordinates.py @@ -410,7 +410,7 @@ def default_chunking(self) -> dict[str, int]: "init_time": 1, "step": 1, } | { - dim: len(getattr(self, dim)) // 8 if len(getattr(self, dim)) > 8 else 1 + dim: len(getattr(self, dim)) // 2 if len(getattr(self, dim)) > 2 else 1 for dim in self.dims if dim not in ["init_time", "step"] }