Skip to content

Commit

Permalink
fix for codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
whitetuft committed Feb 24, 2024
1 parent 345640c commit 9f33414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyrtlib/tb_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ def execute(self, only_bt: bool = True) -> Union[pd.DataFrame, Tuple[pd.DataFram
"""

self._init_linelist()

if self.cloudy and LiqAbsModel.model in ['R98', 'R03']:
warnings.warn(
"Model {} for liquid cloud absorption is outdated. " \
"Model {} for liquid cloud absorption is outdated. "
"Use the more recent model by Rosenkranz, 2015, from R16 model onwards".format(LiqAbsModel.model), stacklevel=2)

# Set RTE
Expand Down

0 comments on commit 9f33414

Please sign in to comment.