Coder Social home page Coder Social logo

sophiehcu / interactive-mbes-processing Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 4.25 MB

Tool based on Python and Jupyter Notebook for interactive processing of Kongsberg MBES bathymetry and backscatter data.

License: MIT License

Jupyter Notebook 47.28% Python 52.72%
hydrography bathymetry mbes backscatter

interactive-mbes-processing's Introduction

Interactive-MBES-processing

Tool based on Python and Jupyter Notebook for interactive processing of Kongsberg MBES bathymetry and backscatter data. Consists of:

  • Kongsberg ALL preprocessing module for bathymetry and backscatter
  • Jupyter Notebook for processing (filters and corrections) based on Entwine, PDAL and Potree

Important notes:

  • To recreate the conda environment two options can be used (:

    • By using the spec-file.txt file → conda command conda create --name myenv --file spec-file.txt
      • myenv should be replaced by the desired environment name
      • Will work only under win-64
    • Or alternatively by using the enironment.yml file → conda command conda env create -f environment.yml
  • Hints and troubleshooting:

    • When activating the Hide input all extension, the code cells can be hidden which tiedies the notebook up.
    • Some of the cells are locked with the Freeze extension and have to be unlocked for modification.
    • When the Potree viewer does not update, this is most probably caused by the browser cache. Deactivating or clearing it will help.

interactive-mbes-processing's People

Contributors

sophiehcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vanhog

interactive-mbes-processing's Issues

Kongsberg_MBES_preprocessing.py: IndexError

Hi.

Thank you for this solution.

I am attempting to process a small dataset from NOAA -> data here (~80MB).

Kongsberg_MBES_preprocessing.py fails.
All I've done is replace line 412 ~bathymetry, backscatter = main('./test/EM122_data.all')
with bathymetry, backscatter = main('./data/0001_20111103_155105_melville.all.mb58').
The distribution format is MBF_EM710RAW -> dataset metadata overview here

Console printout and message:

Decoded 1798 position datagram(s).
Decoded 5098 XYZ datagram(s).
2 ping(s) could not be positioned.
Dataset includes 2201472 soundings.
Traceback (most recent call last):

  File "C:\...\Interactive-MBES-processing-main\software\Kongsberg_MBES_preprocessing.py", line 415, in <module>
    bathymetry, backscatter = main('./data/0001_20111103_155105_melville.all.mb58')

  File "C:\...\Interactive-MBES-processing-main\software\Kongsberg_MBES_preprocessing.py", line 404, in main
    backscatter = decode_raw_backscatter(filename, bathymetry)

  File "C:\...\Interactive-MBES-processing-main\software\Kongsberg_MBES_preprocessing.py", line 371, in decode_raw_backscatter
    reduce(

  File "C:\...\Interactive-MBES-processing-main\software\Kongsberg_MBES_preprocessing.py", line 372, in <lambda>
    lambda acc, beam: acc.update(beam),

  File "C:\...\Interactive-MBES-processing-main\software\Kongsberg_MBES_preprocessing.py", line 275, in update
    nextBeam.samples[nextBeam.centreSampleNumber]*0.1

IndexError: tuple index out of range

I know nothing about bathymetry and less about hydrography.
Your help is appreciated.

Setting path to raw data folder

In the documentation, par 3.1 , when setting the path to the folder containing a set of .all files, it is stated that in this case " basepath could also
be assigned an absolute path such as basepath = 'C:/whatever/comes/in/here' to any other directory
" .
Shouldn´t that be Path( 'C:/whatever/comes/in/here') instead? I am having trouble running the code.

BTW, excellent thesis and amazing work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.