From 01a158ac4c51b1ed68d273bf0f1327ba2dc40eb8 Mon Sep 17 00:00:00 2001 From: Heiko Klein Date: Wed, 24 Jul 2024 08:11:57 +0000 Subject: [PATCH] merge fixes --- pyaerocom/io/mscw_ctm/reader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyaerocom/io/mscw_ctm/reader.py b/pyaerocom/io/mscw_ctm/reader.py index f5fa5ed49..d4da15b04 100755 --- a/pyaerocom/io/mscw_ctm/reader.py +++ b/pyaerocom/io/mscw_ctm/reader.py @@ -12,8 +12,8 @@ from pyaerocom import const from pyaerocom.exceptions import VarNotAvailableError from pyaerocom.griddeddata import GriddedData -from pyaerocom.projection_information import ProjectionInformation from pyaerocom.io.gridded_reader import GriddedReader +from pyaerocom.projection_information import ProjectionInformation from pyaerocom.units_helpers import UALIASES from .additional_variables import ( @@ -763,7 +763,7 @@ def _read_var_from_file(self, var_name_aerocom, ts_type): data.time.attrs["long_name"] = "time" data.time.attrs["standard_name"] = "time" prefix = emep_var.split("_")[0] - data.attrs["units"] = self.preprocess_units(data.units, prefix) + data.attrs["units"] = self._preprocess_units(data.units, prefix) return data, proj_info @staticmethod