From aa11ea676dc9bcf1df557eb6fa44dd720c9f9fcd Mon Sep 17 00:00:00 2001 From: Gerald Walter Irsiegler Date: Thu, 12 Oct 2023 13:43:38 +0200 Subject: [PATCH] experimental: allow chunking along time axis --- .../process_implementations/ml/curve_fitting.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openeo_processes_dask/process_implementations/ml/curve_fitting.py b/openeo_processes_dask/process_implementations/ml/curve_fitting.py index d31207e3..7b14b74d 100644 --- a/openeo_processes_dask/process_implementations/ml/curve_fitting.py +++ b/openeo_processes_dask/process_implementations/ml/curve_fitting.py @@ -53,8 +53,7 @@ def fit_curve( # so we do this to generate names locally parameters = {f"param_{i}": v for i, v in enumerate(parameters)} - chunking = {key: "auto" for key in data.dims if key != dimension} - chunking[dimension] = -1 + chunking = {key: "auto" for key in data.dims} # The dimension along which to fit the curves cannot be chunked! rechunked_data = data.chunk(chunking) diff --git a/pyproject.toml b/pyproject.toml index a64890b4..73659e25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openeo-processes-dask" -version = "2023.10.5" +version = "2023.10.6" description = "Python implementations of many OpenEO processes, dask-friendly by default." authors = ["Lukas Weidenholzer ", "Sean Hoyal ", "Valentina Hutter "] maintainers = ["EODC Staff "]