Changeset 4616 for CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/opa9.driver
- Timestamp:
- 07/15/19 16:23:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/opa9.driver
r4480 r4616 7 7 JOB_NAME=${config_UserChoices_JobName} 8 8 9 RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 10 case ${RESOL_OCE_ICE} in 11 ( *LIM2* ) SEAICE_MODEL=LIM2 ; LIM_VERSION=2 ;; 12 ( *LIM3* ) SEAICE_MODEL=LIM3 ; LIM_VERSION=3 ;; 13 ( *CICE* ) SEAICE_MODEL=CICE ;; 14 ( * ) SEAICE_MODEL=UNKNOWN ;; 15 esac 16 RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 17 18 IGCM_debug_Print 1 "RESOL : ${RESOL}" 19 IGCM_debug_Print 1 "RESOL_OCE_ICE : ${RESOL_OCE_ICE}" 20 IGCM_debug_Print 1 "SEAICE_MODEL : ${SEAICE_MODEL}" 21 IGCM_debug_Print 1 "LIM_VERSION : ${LIM_VERSION}" 22 IGCM_debug_Print 1 "RESOL_OCE : ${RESOL_OCE}" 9 if [ X$ResolOce != X ]; then 10 #ResolOce is set in config.card 11 RESOL_OCE=${ResolOce} 12 IGCM_debug_Print 1 "RESOL_OCE : ${RESOL_OCE}" 13 14 elif [ -f ${SUBMIT_DIR}/../.resol ] ; then 15 RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 16 case ${RESOL_OCE_ICE} in 17 ( *LIM2* ) SEAICE_MODEL=LIM2 ; LIM_VERSION=2 ;; 18 ( *LIM3* ) SEAICE_MODEL=LIM3 ; LIM_VERSION=3 ;; 19 ( *CICE* ) SEAICE_MODEL=CICE ;; 20 ( * ) SEAICE_MODEL=UNKNOWN ;; 21 esac 22 RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 23 IGCM_debug_Print 1 "RESOL_OCE_ICE : ${RESOL_OCE_ICE}" 24 IGCM_debug_Print 1 "RESOL : ${RESOL}" 25 IGCM_debug_Print 1 "SEAICE_MODEL : ${SEAICE_MODEL}" 26 IGCM_debug_Print 1 "LIM_VERSION : ${LIM_VERSION}" 27 IGCM_debug_Print 1 "RESOL_OCE : ${RESOL_OCE}" 28 else 29 IGCM_debug_Exit "ResolAtm is not set in config.card and the .resol file does not exist." 30 IGCM_debug_Verif_Exit 31 fi 23 32 24 33 # Local function to find namelists parameters
Note: See TracChangeset
for help on using the changeset viewer.