Skip to content

Commit

Permalink
Tidy code following review and code style analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
catherinehardacre committed Apr 4, 2024
1 parent a91915e commit 223ee35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions esmvaltool/diag_scripts/aerosols/aero_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class AeroAnsError(Exception):
extract_pt module.
"""


def add_bounds(cube):
"""Add bounds to a cubes latitude and longitude coordinates.
Expand Down
9 changes: 2 additions & 7 deletions esmvaltool/diag_scripts/aerosols/aod_aeronet_assess.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Implement the AOD climatology metric from ground-based AeroNet
observations."""
"""Implement the AOD climatology metric from ground-based AeroNet observations.
"""
import logging
import os

Expand Down Expand Up @@ -102,11 +102,6 @@ def plot_aod_mod_obs(md_data, obs_data, aeronet_obs_cube, plot_dict):
plt.figtext(
0.12,
0.27,
# ("Global mean AOD={0:6.3f}; "
# "RMSE={1:6.3f}; Stn mean: "
# "md={2:6.3f}; obs={3:6.3f}".format(
# plot_dict["Mean_aod"], plot_dict["RMS_aod"],
# plot_dict["Stn_mn_md"], plot_dict["Stn_mn_obs"])),
(f'''Global mean AOD={plot_dict["Mean_aod"]:.3f}; RMSE='''
f'''{plot_dict["RMS_aod"]:.3f}; Stn mean: md='''
f'''{plot_dict["Stn_mn_md"]:.3f}; obs='''
Expand Down

0 comments on commit 223ee35

Please sign in to comment.