From dff9930abfd0fbed22167347b546e8189ae81d98 Mon Sep 17 00:00:00 2001
From: schroeder5 <s.schroeder@fz-juelich.de>
Date: Mon, 3 Jun 2024 10:13:38 +0000
Subject: [PATCH] get rid of hardwired offset for grid points

---
 src/eurad/eurad_netcdf.py | 2 --
 src/eurad/eurad_vis.py    | 1 -
 2 files changed, 3 deletions(-)

diff --git a/src/eurad/eurad_netcdf.py b/src/eurad/eurad_netcdf.py
index aeddcc1..5417c7b 100644
--- a/src/eurad/eurad_netcdf.py
+++ b/src/eurad/eurad_netcdf.py
@@ -94,8 +94,6 @@ class EURAD_netCDF:
         :return: The time series as an xarray DataArray.
         """
         x, y = self.get_grid_coords(lat, lon)
-        x -= 230
-        y -= 150
         time_series = self.__dataset[species].isel(x=x, y=y, z=height)
         if unit is not None and unit != self.get_unit(species):
             pressure = self.__dataset["PRS"].isel(x=x, y=y, z=height)
diff --git a/src/eurad/eurad_vis.py b/src/eurad/eurad_vis.py
index aabf1df..172a44d 100644
--- a/src/eurad/eurad_vis.py
+++ b/src/eurad/eurad_vis.py
@@ -2,7 +2,6 @@
 Module to create Plots out of nc Files with xArray and matplotlib and cartopy
 """
 
-import logging
 import os
 from functools import cache
 from glob import glob
-- 
GitLab