Skip to content
Snippets Groups Projects
Commit dff9930a authored by Sabine Schröder's avatar Sabine Schröder
Browse files

get rid of hardwired offset for grid points

parent 7e2b0c6e
No related branches found
No related tags found
No related merge requests found
...@@ -94,8 +94,6 @@ class EURAD_netCDF: ...@@ -94,8 +94,6 @@ class EURAD_netCDF:
:return: The time series as an xarray DataArray. :return: The time series as an xarray DataArray.
""" """
x, y = self.get_grid_coords(lat, lon) x, y = self.get_grid_coords(lat, lon)
x -= 230
y -= 150
time_series = self.__dataset[species].isel(x=x, y=y, z=height) time_series = self.__dataset[species].isel(x=x, y=y, z=height)
if unit is not None and unit != self.get_unit(species): if unit is not None and unit != self.get_unit(species):
pressure = self.__dataset["PRS"].isel(x=x, y=y, z=height) pressure = self.__dataset["PRS"].isel(x=x, y=y, z=height)
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
Module to create Plots out of nc Files with xArray and matplotlib and cartopy Module to create Plots out of nc Files with xArray and matplotlib and cartopy
""" """
import logging
import os import os
from functools import cache from functools import cache
from glob import glob from glob import glob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment