Skip to content

Commit

Permalink
Merge pull request #48 from SINTEF/emlynjdavies-patch-1
Browse files Browse the repository at this point in the history
show_h5_meta now also prints
  • Loading branch information
emlynjdavies authored Oct 1, 2020
2 parents 71be0f9 + dc2bc3f commit 2e285c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pysilcam/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ def show_h5_meta(h5file):

for k in keys:
logger.info(k + ':')
print(k + ':')
logger.info(' ' + f['Meta'].attrs[k])
print(' ' + f['Meta'].attrs[k])


def vd_to_nd(vd, dias):
Expand Down Expand Up @@ -1025,4 +1027,4 @@ def vd_to_nc(vd, dias):
nc = np.sum(nd, axis=1)
else:
nc = np.sum(nd)
return nc
return nc

0 comments on commit 2e285c9

Please sign in to comment.