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
sloop.cli.main: INFO     Work directory: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc
sloop.cli.main: INFO     Experiment dir: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc/demo@$LOGNAME/hycom3d/manga
sloop.cli.main: INFO     Created directory: /Users/mcaillau/Documents/ETUDES/PROJET_MED/SRC_CODE/sloop/doc/demo@$LOGNAME/hycom3d/manga
sloop.cli.main: INFO     /Users/mcaillau/Documents/libs/miniconda3/envs/sloop/bin/python will be used by sloop
sloop.cli.main: ERROR    You must provide the vortex directory with the  --vortex option