Ignore:
Timestamp:
07/19/13 14:48:52 (11 years ago)
Author:
omamce
Message:

O.M.

  • Add features for LIM3
  • Add some flexibility towards diunal cycle
File:
1 edited

Legend:

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

    r2109 r2117  
    7171    fi 
    7272 
     73    FreqCoupling=${oasis_UserChoices_FreqCoupling} 
     74 
    7375    ## Calculate lag for transfer of fields from atmosphere -> ocean. 
    74     ## LAG_ATM="1day in sec"/day_step * iphysiq/nsplit_phys 
     76    ## LagAtm="1day in sec"/day_step * iphysiq/nsplit_phys 
    7577    ## First get day_step, iphyisq and nsplit_phys from LMDZ parameter files 
    76     day_step=$( lmdzgrep day_step gcm.def ) 
    77     iphysiq=$( lmdzgrep iphysiq gcm.def ) 
     78    day_step=$(    lmdzgrep day_step gcm.def ) 
     79    iphysiq=$(     lmdzgrep iphysiq gcm.def ) 
    7880    nsplit_phys=$( lmdzgrep nsplit_phys physiq.def ) 
    7981 
    80     (( LAG_ATM = 86400 / day_step * iphysiq / nsplit_phys )) 
     82    (( LagAtm = 86400 / day_step * iphysiq / nsplit_phys )) 
     83 
     84    (( LagOce = 86400 / opa9_UserChoices_OPA_NPDT_JOURS )) 
    8185 
    8286    ############ Update Parameter Files   ############## 
     
    8892        -e "s/<nproc_oce>/${NUM_PROC_OCE}/g" \ 
    8993        -e "s/<output_mode>/${CPL_OutputVar}/g" \ 
    90         -e "s/<lag_atm>/${LAG_ATM}/g" \ 
     94        -e "s/<freq_coupling>/${FreqCoupling}/g" \ 
     95        -e "s/<lag_atm>/${LagAtm}/g" \ 
     96        -e "s/<lag_oce>/${LagOce}/g" \ 
    9197        namcouple > namcouple.tmp 
    9298    IGCM_sys_Mv namcouple.tmp namcouple 
Note: See TracChangeset for help on using the changeset viewer.