Skip to content

Commit

Permalink
Properly initialise dummy aerosol class
Browse files Browse the repository at this point in the history
  • Loading branch information
lkluft committed Dec 12, 2023
1 parent 4ff42f9 commit 4b6bf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion konrad/radiation/radiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4b6bf4e

Please sign in to comment.