Skip to content
Snippets Groups Projects
Commit 91916c5f authored by Jacques Grelet's avatar Jacques Grelet
Browse files

update usage with config toml file

parent c728a5ee
No related branches found
No related tags found
No related merge requests found
......@@ -28,10 +28,26 @@ Duplicate your environment on another machine, just export it to a YAML file:
conda env export > environment.yml
```
## Build and run
To build, run tests, build (compiled version), test examples (CTD/XBT), with GUI, you can use make:
``` bash
make test
make build
make ctd
make xbt
make ladcp
make ctd GUI=-g
```
## Usage
By default, the program uses the configuration file under: tests/test.toml, should change in future versions.
``` bash
python oceano.py data/CTD/cnv/dfr2900[1-3].cnv -i CTD -d
python oceano.py data/CTD/cnv/dfr2900[1-3].cnv -i CTD
python oceano.py data/CTD/cnv/dfr2900[1-3].cnv -c <config.toml> -i CTD -d
python oceano.py data/CTD/cnv/dfr2900[1-3].cnv -i CTD -k PRES TEMP PSAL DOX2 DENS
python oceano.py data/CTD/cnv/dfr29*.cnv -i CTD -d
python oceano.py data/XBT/T7_0000*.EDF -i XBT -k DEPTH TEMP SVEL
......@@ -67,18 +83,7 @@ The user must describe in the TOML configuration file the metadata and the struc
We use Visual Studio Code (VSC) with Python, better TOML, markdownlint and makefile extensions
## Build and run
To build, run tests, build (compiled version), test examples (CTD/XBT), with GUI, you can use make:
``` bash
make test
make build
make ctd
make xbt
make ladcp
make ctd GUI=-g
```
If you want use QT instead of Tk, replace in oceano.py:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment