Ignore:
Timestamp:
12/16/08 18:42:45 (16 years ago)
Author:
aclsce
Message:
  • Added possibility to choose "nemo" as parameter in physiq.def
  • Added possibility to have coupling variables in output files (output_mode=y/n) in oasis.card
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5/trunk/EXP00/COMP/oasis.driver

    r375 r483  
    2121CPL_Update () 
    2222{ 
    23  
    2423    IGCM_debug_PushStack "CPL_Update" 
    2524 
     
    2928 
    3029############ Update Other Parameters  ############## 
     30## Read Output_mode option in ${compname}.card --> Put "y" to have coupling variables in ouptut files 
     31IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices Output_mode  
     32eval Output_mode=\${${compname}_UserChoices_Output_mode} > /dev/null 2>&1 
     33echo ${Output_mode} 
     34Output_var='EXPORTED' 
     35if [ ${Output_mode} = y ] ; then 
     36    Output_var='EXPOUT' 
     37fi 
    3138 
    3239############ Update Parameter Files   ############## 
     
    3643    -e "s/<nproc_atm>/${NUM_PROC_ATM}/g" \ 
    3744    -e "s/<nproc_oce>/${NUM_PROC_OCE}/g" \ 
     45    -e "s/<output_mode>/${Output_var}/g" \ 
    3846        namcouple > namcouple.tmp 
    3947 
     
    5159CPL_Finalize () 
    5260{ 
     61    IGCM_debug_PushStack "CPL_Finalize" 
    5362 
    54     IGCM_debug_PushStack "CPL_Finalize" 
     63    DATE_OASIS=$(echo ${PeriodDateBegin} | sed -e "{ s/^\(.\{4\}\)/\1-/;s/\(-.\{2\}\)/\1-/; }"); 
     64    DATE_OASIS=${DATE_OASIS}"T00:00:00" 
    5565 
    5666    echo FINALIZE CPL !!! 
Note: See TracChangeset for help on using the changeset viewer.