From d08dc87e5e159dc72337390b5bbb97c3985663fb Mon Sep 17 00:00:00 2001
From: Daniel Scheffler <danschef@gfz-potsdam.de>
Date: Tue, 5 Mar 2024 15:23:43 +0100
Subject: [PATCH] Mute pandas warning.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
---
 .../dead_pixel_correction/dead_pixel_correction.py          | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/enpt/processors/dead_pixel_correction/dead_pixel_correction.py b/enpt/processors/dead_pixel_correction/dead_pixel_correction.py
index f75a4443..69b28cc6 100644
--- a/enpt/processors/dead_pixel_correction/dead_pixel_correction.py
+++ b/enpt/processors/dead_pixel_correction/dead_pixel_correction.py
@@ -34,13 +34,15 @@ Performs the Dead Pixel Correction using a linear interpolation in spectral dime
 from typing import Union
 from numbers import Number  # noqa: F401
 import logging
+from warnings import filterwarnings
 
 import numpy as np
 import numpy_indexed as npi
 from multiprocessing import Pool, cpu_count
 from scipy.interpolate import griddata, make_interp_spline
-from pandas import DataFrame
-from geoarray import GeoArray
+filterwarnings("ignore", "\nPyArrow", DeprecationWarning)  # mute pandas warning
+from pandas import DataFrame  # noqa: E402
+from geoarray import GeoArray  # noqa: E402
 
 __author__ = 'Daniel Scheffler'
 
-- 
GitLab