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 fa7b492 commit c80198d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/icesat2waves/local_modules/m_tools_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,12 @@ def stats(a):


def stats_format(a, name=None):
_logger.debug("Name: %s\n"
" Shape: %s\n"
" NaNs: %s\n"
" max: %s\n"
" min: %s\n"
" mean: %s",
name, a.shape, np.sum(np.isnan(a)), np.nanmax(a), np.nanmin(a), np.nanmean(a))
_logger.debug(
"Name: %s\n"
" Shape: %s\n"
" NaNs: %s\n"
" max: %s\n"
" min: %s\n"
" mean: %s",
name, a.shape, np.sum(np.isnan(a)), np.nanmax(a), np.nanmin(a), np.nanmean(a)
)

0 comments on commit c80198d

Please sign in to comment.