Skip to content

Commit 7e78e5b

Browse files
author
Daniel Buscombe
committed
Fri Jan 26 23:01:50 MST 2018
1 parent 4e0be02 commit 7e78e5b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

PyHum/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
#"""
5050

51-
__version__ = '1.4.5'
51+
__version__ = '1.4.6'
5252

5353
#-----------------------------------------------------------------------------
5454
# Imports

PyHum/_pyhum_correct.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,10 @@ def correct(humfile, sonpath, maxW, doplot, dofilt, correct_withwater, ph, temp,
376376
Zt2 = Zt-avg + np.nanmean(avg)
377377
Zt2 = Zt2 + np.abs(np.nanmin(Zt2))
378378

379-
Zt2 = median_filter(Zt2, (3,3))
379+
try:
380+
Zt2 = median_filter(Zt2, (3,3))
381+
except:
382+
pass
380383

381384
##Zt2 = np.empty(np.shape(Zt))
382385
##for kk in range(np.shape(Zt)[1]):

PyHum/_pyhum_map.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ def make_map(e, n, t, d, dat_port, dat_star, data_R, pix_m, res, cs2cs_args, son
395395
h = h[np.where(np.logical_not(np.isinf(merge)))]
396396
t = t[np.where(np.logical_not(np.isinf(merge)))]
397397

398+
399+
398400
print("writing point cloud")
399401
#if dowrite==1:
400402
## write raw bs to file

0 commit comments

Comments
 (0)