Ignore:
Timestamp:
07/21/17 15:33:34 (7 years ago)
Author:
acosce
Message:

Inca configuration :
allowed inca.card to manage the parameter value for threshold or weibull10m method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/inca.driver

    r3317 r3319  
    201201    fi 
    202202 
     203    if [  X${inca_UserChoices_10m_winds_method} = X ] ; then 
     204    IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method  threshold 
     205    else 
     206    IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method ${inca_UserChoices_10m_winds_method} 
     207    fi 
     208 
     209 
     210    if [ ! X${inca_UserChoices_wind_parameter} = X ] ; then  
     211        if [  X${inca_UserChoices_10m_winds_method} = Xthreshold ] ; then  
     212            IGCM_comp_modifyDefFile nonblocker inca.def  tref ${inca_UserChoices_wind_parameter} 
     213            IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
     214        else 
     215            IGCM_comp_modifyDefFile nonblocker inca.def  kref ${inca_UserChoices_wind_parameter} 
     216            IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
     217        fi 
     218    else 
     219            IGCM_comp_modifyDefFile nonblocker inca.def  kref DEFAULT 
     220            IGCM_comp_modifyDefFile nonblocker inca.def  tref DEFAULT 
     221    fi 
     222 
     223 
    203224    # inca.def : choose write frequency for inca_avgr in inca.card 
    204225    if [ ! X${inca_UserChoices_freq_write_chem} = X ] ; then 
     
    263284    fi 
    264285 
    265  
    266     if [  X${inca_UserChoices_10m_winds_method} = X ] ; then 
    267     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method  threshold 
    268     else 
    269     IGCM_comp_modifyDefFile nonblocker inca.def  10m_winds_method ${inca_UserChoices_10m_winds_method} 
    270     fi 
    271286 
    272287 
Note: See TracChangeset for help on using the changeset viewer.