Changeset 2109


Ignore:
Timestamp:
07/11/13 16:57:09 (8 years ago)
Author:
omamce
Message:

O.M. : detection of sea ice model use.

Location:
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/oasis.driver

    r1785 r2109  
    1212    } 
    1313 
    14     RESOL_CPL=$( echo $RESOL | awk "-F-" '{print $1}' ) 
     14    #RESOL_CPL=$( echo $RESOL | awk "-F-" '{print $1}' ) 
     15    RESOL_CPL=${RESOL_OCE}x${RESOL_ATM} 
     16    IGCM_debug_Print 1 "RESOL_CPL      : ${RESOL_CPL}" 
    1517 
    1618    #D- MPI context used to launch the coupled model 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver

    r2083 r2109  
    66 
    77    JOB_NAME=${config_UserChoices_JobName} 
    8     RESOL_OCE=$( echo $RESOL | awk "-Fx" '{print $1}' ) 
     8    RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 
     9    case ${RESOL_OCE_ICE} in 
     10        ( *LIM2*) SEAICE_MODEL=LIM2 ;; 
     11        ( *LIM3*) SEAICE_MODEL=LIM3 ;; 
     12        ( *CICE*) SEAICE_MODEL=CICE ;; 
     13        ( *     ) SEAICE_MODEL=UNKNOWN ;; 
     14    esac 
     15    RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 
     16 
     17    IGCM_debug_Print 1 "RESOL          : ${RESOL}" 
     18    IGCM_debug_Print 1 "RESOL_OCE_ICE  : ${RESOL_OCE_ICE}" 
     19    IGCM_debug_Print 1 "SEAICE_MODEL   : ${SEAICE_MODEL}" 
     20    IGCM_debug_Print 1 "RESOL_OCE      : ${RESOL_OCE}" 
    921 
    1022    ORCA_NPDT_JOUR=${opa9_UserChoices_OPA_NPDT_JOURS:=15} 
     
    4557    PAT_NPRG=$(   supergrep nn_prg     ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    4658    PAT_NF_PTR=$( supergrep nf_ptr_wri ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     59    PAT_ICE_EMBD=$( supergrep nn_ice_embd ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    4760 
    4861    ORCA_RDT=$(   supergrep rn_rdt     ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | sed 's/ *rn_rdt *=//' | sed 's/\. *//' ) 
     
    179192 
    180193 
     194    case ${SEAICE_MODEL} in 
     195        ( LIM2 ) NN_ICE_EMBD=0 ;; 
     196        ( LIM3 ) NN_ICE_EMBD=1 ;; 
     197    esac 
     198 
    181199    sed -e "s/${PAT_CEXPER}/       cn_exp=\"${config_UserChoices_JobName}\"/" \ 
    182200        -e "s/${PAT_NIT000}/       nn_it000=${ORCA_NIT000}/"                    \ 
     
    191209        -e "s/${PAT_NPRG}/         nn_prg=${ORCA_NWRITE}/"                      \ 
    192210        -e "s/${PAT_NF_PTR}/       nf_ptr_wri=${ORCA_NWRITE}/"                \ 
     211        -e "s/${PAT_ICE_EMBD}/     nn_ice_embd=${NN_ICE_EMBD}/"               \ 
    193212        namelist > namelist.tmp 
    194213 
Note: See TracChangeset for help on using the changeset viewer.