2. Initialisation
The second step is to set a directory dedicated to a sloop experiment. To do so, run the sloop init command in a terminal, it will:
Create a experiment directory {WORK_DIR}/{xpid}/{vapp}/{vconf}.
Create a link of the sloop and vortex libraries.
Create a a jobs/ directory.
Import config to conf/{vapp}_{vconf}.ini from sloop/templates/conf/{vapp}.ini.
Import the vortex tasks in the tasks/ directory from sloop/templates/tasks.
Example
$ sloop init hycom3d manga demo@$LOGNAME -n
[32msloop.cli.main: [1mINFO [1m[0m[32m Work directory: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc[0m
[32msloop.cli.main: [1mINFO [1m[0m[32m Experiment dir: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc/demo@$LOGNAME/hycom3d/manga[0m
[32msloop.cli.main: [1mINFO [1m[0m[32m Created directory: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc/demo@$LOGNAME/hycom3d/manga[0m
[32msloop.cli.main: [1mINFO [1m[0m[32m /Users/mcaillau/Documents/libs/miniconda3/envs/sloop/bin/python will be used by sloop[0m
[31msloop.cli.main: [1mERROR [1m[0m[31m You must provide the vortex directory with the --vortex option[0m