This project provides a Jupyter Notebook to process data from the Mor Braz acquisition campaign. The boat is equipped with a thermosalinograph and a GPS tracker.
The notebook allows you to merge and interpolate data from the onboard instruments, then export the results to the output folder.
- Python 3.7 or higher
- virtualenv
- Jupyter Notebook
-
Clone the repository:
git clone git@github.com:astrolabe-expeditions/MorBraz.git cd MorBraz -
Create a Python virtual environment:
If virtualenv is not installed, follow the documentation.
python -m venv venv-
Launch Virtual Environnement:
For Windows with Powershell
.\venv\Scripts\Activate.ps1
Or for Unix based system (Linux, macOS)
source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt pip install notebook
-
Launch Virtual Environnement:
For Windows with Powershell
.\venv\Scripts\Activate.ps1
Or for Unix based system (Linux, macOS)
source venv/bin/activate -
Start Jupyter Notebook:
jupyter notebook
-
Open the notebook file:
- In your browser, open
interpolate_data_with_track.ipynb.
- In your browser, open
-
Place your data files in the
inputfolder. -
Update the variables in the notebook to match your file names.
-
Run the notebook cell by cell.
-
Check the exported result in the
outputfolder. -
Save the generated file wherever you need.
input/: raw data files (CSV, GPX, etc.)output/: exported results after processinginterpolate_data_with_track.ipynb: main notebookrequirements.txt: Python dependencies