From 4b6bf4edad0c373d65358421378e89f050d63fa4 Mon Sep 17 00:00:00 2001 From: Lukas Kluft Date: Tue, 12 Dec 2023 17:08:56 +0100 Subject: [PATCH] Properly initialise dummy aerosol class --- konrad/radiation/radiation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konrad/radiation/radiation.py b/konrad/radiation/radiation.py index adead0b..ec6c1e4 100644 --- a/konrad/radiation/radiation.py +++ b/konrad/radiation/radiation.py @@ -91,7 +91,7 @@ def update_heatingrates(self, atmosphere, surface=None, cloud=None, aerosol=None cloud = ClearSky.from_atmosphere(atmosphere) if aerosol is None: - aerosol = NoAerosol() + aerosol = NoAerosol(atmosphere) # Call the interal radiative transfer routines. self.calc_radiation(atmosphere, surface, cloud, aerosol)