Ignore:
Timestamp:
08/01/16 12:14:02 (8 years ago)
Author:
acosce
Message:

Homogenization of card between LMDZORINCA_v6 and LDMZOR_v6
+ add new config NMHC in LMDZORINCA_v6
+ compilation with XIOS2
+ add new resolution for LMDZORINCA_v6 (144x142x79 AER)

Location:
CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL
Files:
8 edited

Legend:

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

    r2859 r2954  
    435435    fi  
    436436 
     437    # config.def : Activate COSP 
     438    if [ ! X${lmdz_UserChoices_LMDZ_COSP_OK} = X ]; then  
     439        IGCM_comp_modifyDefFile nonblocker config.def ok_cosp ${lmdz_UserChoices_LMDZ_COSP_OK} 
     440    else 
     441        IGCM_comp_modifyDefFile nonblocker config.def ok_cosp n  
     442    fi  
     443 
     444    # config.def : Modify parameter pmagic if it is set in lmdz.card 
     445    if [ ! X${lmdz_UserChoices_pmagic} = X ]; then  
     446        IGCM_comp_modifyDefFile nonblocker config.def pmagic ${lmdz_UserChoices_pmagic} 
     447    else 
     448        # Take default value set in config.def 
     449        IGCM_comp_modifyDefFile nonblocker config.def pmagic DEFAULT 
     450    fi  
     451 
    437452    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    438453    if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     
    468483    fi 
    469484 
    470     if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    471         # Add include of LMDZ context in iodef.xml 
    472         # In iodef.xml add on next line after "COMPONENT CONTEXT" 
    473         #  <context id="LMDZ" src="./context_lmdz.xml"/> 
    474         echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
    475         cp iodef.xml iodef.xml.tmp 
    476         sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
    477         rm iodef.xml.tmp add.tmp 
    478  
    479         #Long Name as global attribute (if LongName is not empty) 
    480         if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
    481             listfile=$(ls file_def*lmdz.xml) 
    482             echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
    483             for file in ${listfile} 
    484             do 
    485                 cp ${file} ${file}.tmp 
    486                 sed -e "/<file id/r add.tmp" \ 
    487                     ${file}.tmp > ${file} 
    488                 rm ${file}.tmp  
    489             done 
    490             rm add.tmp 
    491         fi 
    492  
    493         # Set ok_all_xml=y in run.def 
    494         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml y 
    495     else 
    496         # Deactivate ok_all_xml in run.def 
    497         IGCM_comp_modifyDefFile nonblocker run.def ok_all_xml n 
    498     fi 
    499      
     485    # Add include of LMDZ context in iodef.xml 
     486    # In iodef.xml add on next line after "COMPONENT CONTEXT" 
     487    #  <context id="LMDZ" src="./context_lmdz.xml"/> 
     488    echo '<context id="LMDZ" src="./context_lmdz.xml"/>' > add.tmp 
     489    cp iodef.xml iodef.xml.tmp 
     490    sed -e "/COMPONENT CONTEXT/r add.tmp" iodef.xml.tmp > iodef.xml 
     491    rm iodef.xml.tmp add.tmp 
     492 
     493    #Long Name as global attribute (if LongName is not empty) 
     494    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     495        listfile=$(ls file_def*lmdz.xml) 
     496        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     497        for file in ${listfile} 
     498        do 
     499            cp ${file} ${file}.tmp 
     500            sed -e "/<file id/r add.tmp" \ 
     501                ${file}.tmp > ${file} 
     502            rm ${file}.tmp  
     503        done 
     504        rm add.tmp 
     505    fi 
     506             
    500507    IGCM_debug_PopStack "ATM_Update" 
    501508} 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/config.def_actuel

    r2505 r2954  
    77 
    88## Nombre  d'appels des routines de rayonnements ( par jour)                  
    9 nbapp_rad=24 
     9nbapp_rad=16 
    1010 
    1111##  Facteur additif pour l'albedo 
    12 pmagic=0.0 
     12pmagic =  _AUTO_: DEFAULT = 0.0 
    1313 
    1414# 
     
    2222R_incl = 23.441 
    2323### solaire =    Constante solaire 
    24 solaire = _AUTO_ : DEFAULT = 1366.0896 
     24#solaire = _AUTO_ : DEFAULT = 1366.0896 
     25solaire = _AUTO_ : DEFAULT = 1361.20  
    2526# 
    2627# Taux gaz a effet de serre 
     
    6465# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6566read_climoz=_AUTO_ 
     67# COSP 
     68ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/config.def_annuel

    r2346 r2954  
    77 
    88## Nombre  d'appels des routines de rayonnements ( par jour)                  
    9 nbapp_rad=24 
     9nbapp_rad=16 
    1010 
    1111##  Facteur additif pour l'albedo 
    12 pmagic=0.0 
     12pmagic =  _AUTO_: DEFAULT = 0.0 
    1313 
    1414# 
     
    6464# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6565read_climoz=_AUTO_ 
     66# COSP 
     67ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/config.def_preind

    r2505 r2954  
    99 
    1010## Nombre  d'appels des routines de rayonnements ( par jour)                  
    11 nbapp_rad=24 
     11nbapp_rad=16 
    1212 
    1313##  Facteur additif pour l'albedo 
    14 pmagic=0.0 
     14pmagic =  _AUTO_: DEFAULT = 0.0 
    1515 
    1616# 
     
    2424R_incl = 23.441 
    2525### solaire =    Constante solaire 
    26 solaire = _AUTO_: DEFAULT = 1365.6537 
     26solaire = _AUTO_: DEFAULT = 1361.20 
    2727# 
    2828# Taux gaz a effet de serre 
     
    6666# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6767read_climoz=_AUTO_ 
     68# COSP 
     69ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/iodef.xml

    r2694 r2954  
    1313  <context id="xios"> 
    1414 
    15     <variable_definition> 
    16          
    17      <!-- We must have buffer_size > jpi*jpj*jpk*8 (with jpi and jpj the subdomain size) --> 
    18           <variable id="buffer_size"               type="integer">10000000</variable> 
    19           <variable id="buffer_server_factor_size" type="integer">2</variable> 
    20           <variable id="info_level"                type="integer">1</variable> 
    21           <variable id="using_server"              type="boolean">false</variable> 
    22           <variable id="using_oasis"               type="boolean">false</variable> 
    23           <variable id="oasis_codes_id"            type="string" >LMDZ,oceanx</variable> 
    24          
    25       </variable_definition> 
    26                 
     15    <variable_definition>        
     16      <variable id="optimal_buffer_size" type="string">performance</variable> 
     17      <variable id="buffer_size_factor" type="double">2.0</variable> 
     18      <variable id="min_buffer_size" type="int">10000000</variable> 
     19      <variable id="info_level"            type="int">1</variable> 
     20      <variable id="using_server"          type="bool">false</variable> 
     21      <variable id="using_oasis"           type="bool">false</variable> 
     22      <variable id="oasis_codes_id"        type="string" >LMDZ,oceanx</variable>         
     23    </variable_definition> 
     24     
    2725  </context> 
    2826 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/orchidee.def_CWRR

    r2784 r2954  
    8080RIVER_DESC_FILE =  river_desc.nc 
    8181 
     82# Parameters related to surface and thermal physical properties 
     83#************************************************************************ 
    8284# Read bare soil albedo from file with background MODIS data 
    8385ALB_BG_MODIS = y 
     86ALB_BG_FILE  = alb_bg.nc 
    8487 
    85 # Parameter related to chemistry bvoc  
     88# ROUGH_DYN : Account for a dynamic roughness height (activation of Su et al. parametrization) 
     89ROUGH_DYN=y 
     90 
     91# OK_FREEZE :  Activate the complet soil freezing scheme 
     92OK_FREEZE=n 
     93 
     94# DEPTH_MAX_T (m) :  Maximum depth of the soil thermodynamics 
     95DEPTH_MAX_T=90 
     96 
     97# OK_EXPLICITSNOW :  Activate explict snow scheme 
     98OK_EXPLICITSNOW=y 
     99  
     100# READ_REFTEMP :  Initialize soil temperature using climatological temperature 
     101READ_REFTEMP=n 
     102 
     103# Parameters related to chemistry bvoc  
    86104#************************************************************************ 
    87 # CHEMISTRY_OK_BVOC ([FLAG]) :  Activate chemistry    {OK_SECHIBA} 
    88 # default =  n  
     105# CHEMISTRY_OK_BVOC :  Activate chemistry 
    89106CHEMISTRY_BVOC =  n 
    90107 
    91 # CO2 FOR BVOC - WILKINSON ([FLAG]) :  CO2 inhibition effect for isoprene based on Wilkinson approach?    {CHEMISTRY_OK_BVOC } 
     108# CO2 FOR BVOC - WILKINSON :  CO2 inhibition effect for isoprene based on Wilkinson approach? 
    92109CO2_FOR_BVOC_WILKINSON=n 
    93110 
    94 # CO2 FOR BVOC - POSSELL ([FLAG]) :  CO2 inhibition effect for isoprene based on Possell approach?    {CHEMISTRY_OK_BVOC } 
     111# CO2 FOR BVOC - POSSELL :  CO2 inhibition effect for isoprene based on Possell approach? 
    95112CO2_FOR_BVOC_POSSELL=n 
    96113 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/run.def

    r2859 r2954  
    5050### config_inca=aero/chem needed only if type_trac=inca 
    5151config_inca=_AUTOBLOCKER_  
    52 ### To activate XIOS ouputs only 
    53 ok_all_xml= _AUTO_ 
     52### To activate XIOS ouputs only, set n to use IOIPSL 
     53ok_all_xml= y 
    5454 
     55 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/POST/monitoring01_orchidee.cfg

    r2330 r2954  
    3939#  field | files patterns | files additionnal | operations | title | units | calcul of area 
    4040#------------------------------------------------------------------------------------------------------------------------------------------------------ 
    41 temp_sol_lands | "temp_sol"         |  ""              | "temp_sol[d=1]"                    | "TSOL (LANDS)"                 | "K/d"    | "Areas[d=1]*Contfrac[d=1]" 
    42 humidity_lands | "bqsb gqsb"        |  ""              | "(bqsb[d=1]+gqsb[d=2])"            | "Total Soil Moisture  (LANDS)" | "1"      | "Areas[d=1]*Contfrac[d=1]" 
    43 albedo_lands   | "alb_vis alb_nir"  |  ""              | "((alb_vis[d=1]+alb_nir[d=2])*0.5)"| "Mean Albedo (LANDS)"          | "1"      | "Areas[d=1]*Contfrac[d=1]" 
    44 snow_lands     | "snow"             |  ""              | "snow[d=1]"                        | "Snow Mass (LANDS)"            | "kg/m^2" | "Areas[d=1]*Contfrac[d=1]" 
    45 maxveget_lands | "maxvegetfrac"     |  ""              | "maxvegetfrac[d=1,K=12:13]"        | "vegetmax[pft=12,13] (LANDS)"  | "1"      | "2" 
    46 nee_lands      | "nee maxvegetfrac" |  ""              | "(nee[d=1]*365*86400*maxvegetfrac[d=2]*Areas[d=1]*Contfrac[d=1]/1e15)"  | "Net Ecosystem Exchange"    | "PgC/yr" | "2" 
    47 maxveget_forcing | "maxvegetfrac"   |  ""              | "((maxvegetfrac[d=1,K=12]+maxvegetfrac[d=1,K=13])*Areas[d=1]*Contfrac[d=1]/1e12)" | "maxveget surface[pft=12,13] "  | "Mkm^2"  | "2" 
    48 #------------------------------------------------------------------------------------------------------------------------------------------------------ 
     41delta_water_stock | "nobiofrac DelSoilMoist_daily DelIntercept_daily DelSWE_daily delstock_routing" |  "" | "((1-nobiofrac[d=1])*DelSoilMoist_daily[d=2] + DelIntercept_daily[d=3] + DelSWE_daily[d=4] + delstock_routing[d=5])" | "Change in total water stock (LANDS) " | "kg/day/m2 of land" | "Areas[d=2]*Contfrac[d=2]" 
     42water_budget_closure | "nobiofrac DelSoilMoist_daily DelIntercept_daily DelSWE_daily delstock_routing rain snowf evap riverflow coastalflow" | "" | "(((1-nobiofrac[d=1])*DelSoilMoist_daily[d=2] + DelIntercept_daily[d=3] + DelSWE_daily[d=4] +  delstock_routing[d=5])*Areas[d=1]*Contfrac[d=1] -  ((rain[d=6] + snowf[d=7] - evap[d=8])*Areas[d=1]*Contfrac[d=1]  - (riverflow[d=9] + coastalflow[d=10])*1000*86400 ))/(4*3.14*6370000*6370000*0.26)" | "Water budget closure (LANDS) " | "kg/day/m2 of land" | "2" 
     43twbr_lands       | "twbr"             |  "" | "twbr[d=1]*86400"                  | "Hydrol water buget residu (LANDS)" | "kg/m^2/d" | "Areas[d=1]*Contfrac[d=1]" 
     44temp_sol_lands   | "temp_sol"         |  "" | "temp_sol[d=1]"                    | "TSOL (LANDS)"                      | "C"        | "Areas[d=1]*Contfrac[d=1]" 
     45fluxsens_lands   | "fluxsens"         |  "" | "fluxsens[d=1]"                    | "Sensible Flux (LANDS)"             | "W/m^2"    | "Areas[d=1]*Contfrac[d=1]" 
     46evap_lands       | "evap"             |  "" | "evap[d=1]"                        | "Evaporation (LANDS)"               | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     47evapnu_lands     | "evapnu"           |  "" | "evapnu[d=1]"                      | "Soil evaporation (LANDS)"          | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     48transpir_lands   | "transpir"         |  "" | "transpir[d=1]"                    | "Transpiration (LANDS)"             | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     49subli_lands      | "subli"            |  "" | "subli[d=1]"                       | "Sublimation (LANDS)"               | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     50snow_swe_lands   | "frac_snow snow"   |  "" | "snow[d=2]"                        | "Snow Mass (LANDS)"                 | "kg/m^2"   | "Areas[d=2]*Contfrac[d=2]" 
     51snownobio_lands  | "snownobio"        |  "" | "snownobio[d=1]"                   | "Snow Other Surfaces (LANDS)"       | "kg/m^2"   | "Areas[d=1]*Contfrac[d=1]" 
     52snowf_lands      | "snowf"            |  "" | "snowf[d=1]"                       | "Snowfall (LANDS)"                  | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     53precip_lands     | "rain snowf"       |  "" | "rain[d=1] + snowf[d=2]"           | "Total precipitaion (LANDS)"        | "mm/d"     | "Areas[d=1]*Contfrac[d=1]" 
     54runoff_lands     | "runoff"           |  "" | "runoff[d=1]"                      | "Surface runoff  (LANDS)"           | "kg/m^2"   | "Areas[d=1]*Contfrac[d=1]" 
     55drainage_lands   | "drainage"         |  "" | "drainage[d=1]"                    | "Drainage  (LANDS)"                 | "kg/m^2"   | "Areas[d=1]*Contfrac[d=1]" 
     56humidity_lands   | "mrso"             |  "" | "mrso[d=1]"                        | "Total Soil Moisture  (LANDS)"      | "kg/m^2"   | "Areas[d=1]*Contfrac[d=1]" 
     57surface_humidity_lands | "mrsos"      |  "" | "mrsos[d=1]"                       | "Top 10cm soil moisture  (LANDS)"   | "kg/m^2"   | "Areas[d=1]*Contfrac[d=1]" 
     58albedo_lands     | "alb_vis alb_nir"  |  "" | "((alb_vis[d=1]+alb_nir[d=2])*0.5)"| "Mean Albedo (LANDS)"               | "1"        | "Areas[d=1]*Contfrac[d=1]" 
     59lai_lands        | "LAImean"          |  "" | "LAImean[d=1]"                     | "LAI (mean excluding PFT=1) (LANDS)"| "1"        | "Areas[d=1]*Contfrac[d=1]" 
     60nee_lands        | "nee maxvegetfrac" |  "" | "(nee[d=1]*365*86400*maxvegetfrac[d=2]*Areas[d=1]*Contfrac[d=1]/1e15)"   | "Net Ecosystem Exchange" | "PgC/yr" | "2" 
     61maxveget_forcing | "maxvegetfrac"     |  "" | "maxvegetfrac[d=1,K=12:13@sum]"    | "veget_max fraction of agriculture [sum of pft=12,13] "| "1"  | "Areas[d=1]*Contfrac[d=1]" 
     62vegetn_lands     | "vegetfrac"        |  "" | "vegetfrac[d=1,K=2:9@sum]"         | "veget trees[sum of pft=2:9] (LANDS)"                  | "1"  | "Areas[d=1]*Contfrac[d=1]" 
     63vegetg_lands     | "vegetfrac"        |  "" | "vegetfrac[d=1,K=10:11@sum]"       | "veget natural grasses[sum of pft=10,11] (LANDS)"      | "1"  | "Areas[d=1]*Contfrac[d=1]" 
     64vegeta_lands     | "vegetfrac"        |  "" | "vegetfrac[d=1,K=12:13@sum]"       | "veget agriculture [sum of pft=12,13] (LANDS)"         | "1"  | "Areas[d=1]*Contfrac[d=1]" 
     65 
Note: See TracChangeset for help on using the changeset viewer.