Changeset 1622


Ignore:
Timestamp:
12/16/11 10:57:15 (11 years ago)
Author:
jgipsl
Message:

Changed default values for type_ocean and VEGET in run.def. Now the default is LMDZ forced without ORCHIDEE and without ocean. Theses values are changed automatically if oasis.driver and/or orchidee.driver is used.

Location:
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/oasis.driver

    r1549 r1622  
    11#!/bin/ksh 
    22#----------------------------------- 
     3function LMDZ_sed 
     4{ 
     5    IGCM_debug_PushStack "LMDZ_sed" 
     6 
     7    sed -e "s/^${2}\ *=.*/${2}= ${3}/" ${1} > ${1}.tmp 
     8    RET=$? 
     9    echo "LMDZ_sed : ${1} ${2} ${3}" 
     10    \mv ${1}.tmp ${1} 
     11 
     12    IGCM_debug_PopStack "LMDZ_sed" 
     13    return $RET 
     14} 
     15 
     16 
    317CPL_Initialize () 
    418{ 
     
    6983    fi 
    7084 
     85 
     86    ## Activate coupling to ocean model in LMDZ run.def file 
     87    LMDZ_sed run.def type_ocean couple 
     88 
    7189    ## Calculate lag for transfer of fields from atmosphere -> ocean. 
    7290    ## LAG_ATM="1day in sec"/day_step * iphysiq/nsplit_phys 
  • CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/orchidee.driver

    r1549 r1622  
    1414     
    1515    IGCM_debug_PopStack "ORCHIDEE_sed" 
     16    return $RET 
     17} 
     18 
     19function LMDZ_sed 
     20{ 
     21    IGCM_debug_PushStack "LMDZ_sed" 
     22 
     23    sed -e "s/^${2}\ *=.*/${2}= ${3}/" ${1} > ${1}.tmp 
     24    RET=$? 
     25    echo "LMDZ_sed : ${1} ${2} ${3}" 
     26    \mv ${1}.tmp ${1} 
     27 
     28    IGCM_debug_PopStack "LMDZ_sed" 
    1629    return $RET 
    1730} 
     
    113126    #IGCM_sys_Put_Out ${RUN_DIR}/run.def ${R_SAVE}/${PREFIX}_run.def 
    114127 
     128 
     129# Activate vegetation model in LMDZ run.def file 
     130    LMDZ_sed run.def VEGET y 
     131 
    115132    IGCM_debug_PopStack "SRF_Update" 
    116133} 
  • CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/PARAM/run.def

    r1543 r1622  
    3535### 
    3636### type_ocean = force / slab  /couple 
    37 type_ocean=couple 
     37### type_ocean is modified automatically to couple if oasis.driver is used 
     38type_ocean=force 
    3839### version_ocean = nemo / opa8 
    3940version_ocean=nemo 
     
    4142cpl_current=y 
    4243### VEGET= y si ORCHIDEE, =n si bucket 
    43 VEGET=y 
     44### VEGET is modified automatically to y if orchidee.driver is used  
     45VEGET=n 
    4446 
Note: See TracChangeset for help on using the changeset viewer.