|
|
|
# datagui installation
|
|
|
|
|
|
|
|
## Prérequis
|
|
|
|
|
|
|
|
- Installer la toolbox [oceano](https://git.outils-is.ird.fr/grelet/oceano) sous Matlab
|
|
|
|
voir: https://us191.ird.fr/spip.php?article29
|
|
|
|
- Installer la toolbox [m_map](https://www.eoas.ubc.ca/~rich/map.html) sous Matlab.
|
|
|
|
|
|
|
|
- Copier le fichier de climato Levitus sous dans un de vos répertoires Matlab accessibles via la commande matlabpath
|
|
|
|
voir: [ftp://ftp.ifremer.fr/ifremer/ird/us191/oceano/lib/matlab/woa01an.nc](ftp://ftp.ifremer.fr/ifremer/ird/us191/oceano/lib/matlab/woa01an.nc)
|
|
|
|
|
|
|
|
- Ne pas oublier de modifier votre path Matlab sous Windows ou variable
|
|
|
|
MATLABPATH sous Linux et ajouter les répertoires oceano\lib\matlab et oceano
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
- Cloner le dépot datagui depuis le Gitlab IRD
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ git clone https://git.outils-is.ird.fr/grelet/datagui.git datagui
|
|
|
|
Cloning into 'datagui'...
|
|
|
|
...
|
|
|
|
Resolving deltas: 100% (51/51), done.
|
|
|
|
(base) jgrelet@BRSCLTPO0062:~/git$ cd datagui
|
|
|
|
```
|
|
|
|
- Basculer sur la branche v1.0, la branche master est une tentative de generation du code avec le nouvel outil Matlab AppDesigner qui n'est pas opérationnelle actuellement.
|
|
|
|
```sh
|
|
|
|
(base) jgrelet@BRSCLTPO0062:~/git/datagui$ git checkout v1.0
|
|
|
|
Branch 'v1.0' set up to track remote branch 'v1.0' from 'origin'.
|
|
|
|
Switched to a new branch 'v1.0'
|
|
|
|
(base) jgrelet@BRSCLTPO0062:~/git/datagui$ ls
|
|
|
|
+datagui @profil @timeserie INSTALL.md TODOS common init_config.m
|
|
|
|
@hashtable @roscop @trajectoire README.md addpathdef_datagui.m datagui.m rmpathdef_datagui.m
|
|
|
|
@oceano @section BUGS README_FR.md callback datagui_startup.m util
|
|
|
|
```
|
|
|
|
## Utilisation
|
|
|
|
|
|
|
|
Lancer datagui depuis la console Matlab:
|
|
|
|
|
|
|
|
```matlab
|
|
|
|
datagui
|
|
|
|
```
|
|
|
|
|
|
|
|
Si vous utilisez les fichiers NetCDF générés par CRDAP, choisir le format OceanSITES et non NetCDF (ancien format ARGO).
|
|
|
|
|