source: CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/modeles/NEMO/tools/SECTIONS_DIADCT/run/job.ksh @ 5501

Last change on this file since 5501 was 5501, checked in by aclsce, 4 years ago

First import of IPSLCM6.5_work_ENSEMBLES working configuration

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#!/bin/ksh
2set -x
3#####################################################
4#     CONFIGURATION CHOICE                          #
5#####################################################
6#CONFIG=ORCA2_LIM GYRE
7CONFIG=ORCA2_LIM
8
9#####################################################
10#     CONFIGURATION DESCRIPTION                     #
11#####################################################
12# each configuration is defined by:
13#   - INSPACE: directory the coordinate netcdf file is
14#   - COOR_FIL: configuration's coordinate netcdf file
15#   - LIST:     configuration's list of sections
16#
17#####################################################
18case $CONFIG in
19#
20ORCA2_LIM)
21INSPACE=/dataref/rd/INITIALISATION/ORCA2
22COOR_FIL=coordinates.nc
23LIST=list_sections.ascii_global
24;;
25#
26GYRE)
27INSPACE=/perm/ms/fr/ar5
28COOR_FIL=mesh_mask.nc
29LIST=list_sections.ascii_GYRE
30;;
31#
32esac
33
34#####################################################
35#     RUN                                           #
36#####################################################
37BIN=diadct_sections.exe
38
39export CTLDIR=`pwd`
40cd ${CTLDIR}
41rm -f coordinates.nc ${BIN} list_sections.ascii
42cp ../${BIN} .
43ln -sf ${LIST} list_sections.ascii
44ln -s $INSPACE/$COOR_FIL ./coordinates.nc
45./${BIN}
46mv section_ijglobal.diadct section_ijglobal.diadct_$CONFIG 
Note: See TracBrowser for help on using the repository browser.