Skip to content

Memory issue #48

@Phi1983

Description

@Phi1983

Hallo Daniel,
thanks for your nice toolbox. Seem's like setting model=998 it also works for a Hummingbird Helix 5 SI.
However, I got some problems when trying to process the data:

  1. Trying to process it as a whole, it get this error:
    philipp@azurit:~/Humminbird-Sonar/Aufnahmen/Heidkate/Hk001$ python Heidkate01.py
    Input file is R00011.DAT
    Son files are in .
    cs2cs arguments are epsg:3857
    Draft: 0.3
    Celerity of sound: 1495.0 m/s
    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 ...
    low-frq. downward scan not available
    port and starboard scans are different sizes ... rectifying
    Traceback (most recent call last):
    File "Heidkate01.py", line 140, in
    PyHum.read(humfile, sonpath, cs2cs_args, c, draft, doplot, t, bedpick, flip_lr, model, calc_bearing, filt_bearing, chunk) #cog
    File "/usr/local/lib/python2.7/dist-packages/PyHum/_pyhum_read.py", line 503, in read
    if np.shape(port_fp[0])[1] > np.shape(star_fp[0])[1]:
    IndexError: tuple index out of range

  2. When I use the chunk method, chunk=d100, Pyhum.read and Pyhum.correct work properly, however PyHum.map isn't able to process all chunks. After about 10 to 12 chunks, the memory overruns, and I get the following message:
    getting point cloud ...
    error on chunk 11
    When I change the corresponding for-loop in _pyhum_map.py on line 295 to:
    for p in range(10,len(star_fp)):
    I can process the next ~ 10 chunks, until the mempory is full again, so it's not an data issue.

Thanks for help
Philipp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions