Changeset 3866
- Timestamp:
- 05/30/18 12:03:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/model
r3817 r3866 352 352 d_m1=${d_m}/modeles/NEMOGCM/CONFIG 353 353 cfg_file=${d_m1}/cfg.txt 354 list_cfg='ORCA1_LIM3_PISCES eORCA025_LIM3 eORCA025_LIM3_PISCES '354 list_cfg='ORCA1_LIM3_PISCES eORCA025_LIM3 eORCA025_LIM3_PISCES ORCA1_OFF_PISCES' 355 355 # Creates configuration ORCA1_LIM3_PISCES 356 356 # (see https://forge.ipsl.jussieu.fr/shaconemo/wiki/README_ORCA1_LIM3_PISCES ) … … 362 362 if [[ ${err} = 1 ]] ; then 363 363 pis=`echo ${cfg} | grep "PISCES" | wc -l` 364 off=`echo ${cfg} | grep "OFF" | wc -l` 364 365 if [[ ${pis} = 1 ]] ; then 365 echo "${cfg} OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" >> ${cfg_file} 366 if [[ ${off} = 1 ]] ; then 367 echo "${cfg} OPA_SRC OFF_SRC TOP_SRC" >> ${cfg_file} 368 else 369 echo "${cfg} OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC" >> ${cfg_file} 370 fi 366 371 else 367 372 echo "${cfg} OPA_SRC LIM_SRC_3 NST_SRC" >> ${cfg_file}
Note: See TracChangeset
for help on using the changeset viewer.