Skip to content

Commit

Permalink
rename SWSaturationAdjustment class
Browse files Browse the repository at this point in the history
  • Loading branch information
nhartney committed Jul 27, 2023
1 parent 60499a2 commit 0922840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gusto/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


__all__ = ["SaturationAdjustment", "Fallout", "Coalescence", "EvaporationOfRain",
"AdvectedMoments", "InstantRain", "SW_SaturationAdjustment"]
"AdvectedMoments", "InstantRain", "SWSaturationAdjustment"]


class Physics(object, metaclass=ABCMeta):
Expand Down Expand Up @@ -769,7 +769,7 @@ def evaluate(self, x_in, dt):
self.source.assign(self.source_interpolator.interpolate())


class SW_SaturationAdjustment(Physics):
class SWSaturationAdjustment(Physics):
"""
Represents the process of adjusting water vapour and cloud water according
to a saturation function, via condensation and evaporation processes.
Expand Down Expand Up @@ -886,7 +886,7 @@ def __init__(self, equation, saturation_curve, L=None,
else:
self.set_tau_to_dt = True
self.tau = Constant(0)
logger.info("Timescale for moisture conversion between vapour and cloud has been set to dt. If this is not the intention then provide a tau parameter as an argument to SW_SaturationAdjustment.")
logger.info("Timescale for moisture conversion between vapour and cloud has been set to dt. If this is not the intention then provide a tau parameter as an argument to SWSaturationAdjustment.")

if self.time_varying_saturation:
if isinstance(saturation_curve, FunctionType):
Expand Down

0 comments on commit 0922840

Please sign in to comment.