I finally got PyHum installed, and when trying to test in PyCharm I am writing out the following code
import PyHum
PyHum.test.dotest()
When it runs, I get the error and tracebacks found below:
C:\anaconda2\python.exe C:/PythonCode/PyHum/test.py
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test
'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Input file is C:\Users\ryan.hefley\pyhum_test\test.DATSon files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Draft: 0.3
Celerity of sound: 1450.0 m/sCelerity of sound: 1450.0 m/s
Port and starboard will be flippedPort and starboard will be flipped
Transducer length is 0.108 mTransducer length is 0.108 m
Bed picking is auto
Bed picking is autoOnly 1 chunk will be produced
Only 1 chunk will be producedData is from the 998 series
Bearing will be calculated from coordinatesData is from the 998 series
Bearing will be filtered
Bearing will be calculated from coordinatesChecking the epsg code you have chosen for compatibility with Basemap ...
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
memory-mapping failed in sliding window - trying memory intensive version
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Input file is C:\Users\ryan.hefley\pyhum_test\test.DATDraft: 0.3
Celerity of sound: 1450.0 m/s
Son files are in C:\Users\ryan.hefley\pyhum_testPort and starboard will be flipped
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Bed picking is autoData is from the 998 series
Bearing will be calculated from coordinates
Only 1 chunk will be producedBearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ... Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 472, in read
shape_port = io.set_mmap_data(sonpath, base, '_data_port.dat', 'int16', Zt)
File "C:\anaconda2\lib\site-packages\PyHum\io.py", line 31, in set_mmap_data
with open(os.path.normpath(os.path.join(sonpath,base+string)), 'w+') as ff:
IOError: [Errno 22] invalid mode ('w+') or filename: 'C:\Users\ryan.hefley\pyhum_test\test_data_port.dat'
memory-mapping failed in sliding window - trying memory intensive version
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
memory-mapping failed in sliding window - trying memory intensive version
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
memory-mapping failed in sliding window - trying memory intensive version
Traceback (most recent call last):
File "", line 1, in
File "C:\anaconda2\lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\anaconda2\lib\multiprocessing\forking.py", line 510, in prepare
'parents_main', file, path_name, etc
File "C:\PythonCode\PyHum\test.py", line 2, in
PyHum.test.dotest()
File "C:\anaconda2\lib\site-packages\PyHum\test.py", line 136, in dotest
PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
File "C:\anaconda2\lib\site-packages\PyHum_pyhum_read.py", line 667, in read
x, bed = humutils.auto_bedpick(ft, dep_m, chunkmode, port_fp, c)
File "C:\anaconda2\lib\site-packages\PyHum\utils.py", line 82, in auto_bedpick
imu.append(port_fp[np.max([0,int(np.min(bed))-buff]):int(np.max(bed))+buff,:])
File "C:\anaconda2\lib\site-packages\numpy\core\memmap.py", line 335, in getitem
res = super(memmap, self).getitem(index)
TypeError: slice indices must be integers or None or have an index method
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...
Directory not copied. Error: [Error 183] Cannot create a file when that file already exists: 'C:\Users\ryan.hefley\pyhum_test'
Input file is C:\Users\ryan.hefley\pyhum_test\test.DAT
Son files are in C:\Users\ryan.hefley\pyhum_test
cs2cs arguments are epsg:26949
Draft: 0.3
Celerity of sound: 1450.0 m/s
Port and starboard will be flipped
Transducer length is 0.108 m
Bed picking is auto
Only 1 chunk will be produced
Data is from the 998 series
Bearing will be calculated from coordinates
Bearing will be filtered
Checking the epsg code you have chosen for compatibility with Basemap ...
... epsg code compatible
WARNING: Because files have to be read in byte by byte,
this could take a very long time ...
something went wrong with the parallelised version of pyread ...