Skip to content

Commit

Permalink
Update src/icesat2waves/local_modules/m_tools_ph3.py
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Paniagua <[email protected]>
  • Loading branch information
hollandjg and cpaniaguam authored Mar 19, 2024
1 parent e105dde commit fa7b492
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/icesat2waves/local_modules/m_tools_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,14 @@ def find_O(a, case="round"):

def stats(a):
_logger.debug(
f"shape: %s\n"
f"Nans: %s\n"
f"max: %s\n"
f"min: %s\n"
f"mean: %s"
, a.shape, np.sum(np.isnan(a)), np.nanmax(a), np.nanmin(a), np.nanmean(a))
"shape: %s\nNans: %s\nmax: %s\nmin: %s\nmean: %s",
a.shape,
np.sum(np.isnan(a)),
np.nanmax(a),
np.nanmin(a),
np.nanmean(a)
)



def stats_format(a, name=None):
Expand Down

0 comments on commit fa7b492

Please sign in to comment.