From 6032ac914b28a312732bdb580c76d27a31ebde3d Mon Sep 17 00:00:00 2001 From: clausmichele <31700619+clausmichele@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:53:17 +0200 Subject: [PATCH] fix: import experimental processes (#163) Fix import experimental processes --- openeo_processes_dask/process_implementations/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openeo_processes_dask/process_implementations/__init__.py b/openeo_processes_dask/process_implementations/__init__.py index 1129749d..875ee6d5 100644 --- a/openeo_processes_dask/process_implementations/__init__.py +++ b/openeo_processes_dask/process_implementations/__init__.py @@ -15,6 +15,13 @@ "Did not load machine learning processes due to missing dependencies: Install them like this: `pip install openeo-processes-dask[implementations, ml]`" ) +try: + from .experimental import * +except ImportError as e: + logger.warning( + "Did not experimental processes due to missing dependencies: Install them like this: `pip install openeo-processes-dask[implementations, experimental]`" + ) + import rioxarray as rio # Required for the .rio accessor on xarrays. import openeo_processes_dask.process_implementations.cubes._xr_interop