Ignore:
Timestamp:
12/15/16 10:58:34 (8 years ago)
Author:
acosce
Message:

update LMDZORINCA_v6 configuration
1- now LMDZOR experiments are in New Physics
2- add clim_* LMDZOR experiments
3- now timestep is manage in gcm.def in relation with the atm physics choose
4- update value for GHG in config.def files
5- remove files not use anymore (PARAM/file_lmdz.xml PARAM/output.def)
6- add calcul_flux in inca.card / inca.def / inca.driver

Location:
CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL
Files:
11 added
20 deleted
7 edited

Legend:

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

    r2833 r3061  
    111111    fi 
    112112 
     113    #inca.def : choose calcul interactif des diagnostiques flux chimique ou non   
     114    if [ ! X${inca_UserChoices_calcul_flux} = X ]; then  
     115        IGCM_comp_modifyDefFile nonblocker inca.def calcul_flux ${inca_UserChoices_calcul_flux} 
     116    else 
     117        IGCM_comp_modifyDefFile nonblocker inca.def calcul_flux n 
     118    fi 
     119 
    113120    #inca.def : choose output library  
    114121    if [  X${inca_UserChoices_XIOS} = Xy ] ; then 
     
    144151    fi 
    145152 
    146     #Long Name as global attribute (if LongName is not empty) 
     153    # Add LongName as global attribute in XIOS output files (if LongName is not empty) 
    147154    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
    148155        listfile=$(ls file_def*inca.xml) 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/lmdz.driver

    r2954 r3061  
    277277         
    278278 
    279     ## gcm.def parameters :  
    280     # Modification of variable iphysiq depending on the physics 
    281     if [ X${LMDZ_Physics} = X"AP" ] ; then 
    282         if [ ${RESOL_ATM_3D} = 96x95x39 ]; then 
    283             value=10 
    284         elif [ ${RESOL_ATM_3D} = 144x142x39 ]; then 
    285             value=15 
    286         else 
    287             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    288             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    289             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    290         fi 
    291     elif [ X${LMDZ_Physics} = X"NPv3.1" ] ; then 
    292         if  [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    293             value=5 
    294         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    295             value=5 
    296         else 
    297             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    298             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    299             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    300         fi 
    301     elif [ X${LMDZ_Physics} = X"NPv3.2" ] ; then 
    302         if [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    303             value=5 
    304         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    305             value=5 
    306         elif [ ${RESOL_ATM_3D} = 128x118x39 ] ; then 
    307             value=15 
    308         else 
    309             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    310             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    311             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    312         fi 
    313     else 
    314         # Take default value set in gcm.def 
    315         value=DEFAULT 
    316     fi 
    317     IGCM_comp_modifyDefFile nonblocker gcm.def iphysiq $value 
    318      
    319279 
    320280    ## run.def parameters 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/orchidee.driver

    r2907 r3061  
    11#!/bin/ksh 
    2 #D- Driver du script pour ORCHIDEE 
     2## Driver for the component SRF corresponding to the sechiba part of ORCHIDEE 
    33#----------------------------------------------------------------- 
    44function SRF_Initialize 
     
    6363    ## 2. Mangement of output and modifications of related xml files 
    6464 
    65     # Set default values for sechiba1_enabled, sechiba1_freq and sechiba2_enabled. 
     65    # Set default values for sechiba1_enabled and sechiba1_freq. 
     66    # These variables are used only to modify file_def_orchidee.xml 
    6667    sechiba1_enabled=.FALSE. 
    6768    sechiba2_enabled=.FALSE. 
    6869    sechiba1_freq=0s 
     70    sechiba2_freq=0s 
    6971 
    70     # Get WriteFrenquecies from config.card for SECHIBA 
    71     # Note that it is only possible to have one HF and one other option.  
    72     # If more options are set in config.card only the latest will be used. 
     72 
     73    # Get WriteFrenquecy for SRF (SECHIBA) from config.card 
     74    # 1 or 2 frequencies can be set in WriteFrenquecy for SRF 
     75    # The first frequency will always be used for the sechiba_history file and the  
     76    # second frequency will be used for the sechiba_out_2.nc file.  
     77    # The files are activated only if its corresponding frequency is set in WriteFrequency 
     78    ifreq=0 
    7379    for frequency in ${config_SRF_WriteFrequency} ; do 
    7480        case ${frequency} in 
     
    7682                NbYears=$( echo ${frequency} | awk -F '[yY]' '{print $1}' ) 
    7783                NbDaysYear=$( IGCM_date_DaysInYear ${year} ) 
    78                 sechiba1_enabled=.TRUE. 
    79                 sechiba1_freq=${NbYears}y ;; 
     84                file_enabled=.TRUE. 
     85                file_freq=${NbYears}y ;; 
    8086            *M|*m) 
    8187                NbMonths=$( echo ${frequency} | awk -F '[mM]' '{print $1}' ) 
    82                 sechiba1_enabled=.TRUE. 
    83                 sechiba1_freq=${NbMonths}mo ;; 
     88                file_enabled=.TRUE. 
     89                file_freq=${NbMonths}mo ;; 
    8490            *D|*d) 
    8591                NbDays=$( echo ${frequency} | awk -F '[dD]' '{print $1}' ) 
    86                 sechiba1_enabled=.TRUE. 
    87                 sechiba1_freq=${NbDays}d ;; 
     92                file_enabled=.TRUE. 
     93                file_freq=${NbDays}d ;; 
    8894            *s) 
    8995                WriteInSeconds=$( echo ${frequency} | awk -F '[s]' '{print $1}' ) 
    90                 sechiba1_enabled=.TRUE. 
    91                 sechiba1_freq=${WriteInSeconds}s ;; 
     96                file_enabled=.TRUE. 
     97                file_freq=${WriteInSeconds}s ;; 
    9298            HF|hf)  
    93                 sechiba2_enabled=.TRUE. ;; 
     99                file_enabled=.TRUE.  
     100                file_freq=10800s ;; 
    94101            *)  
    95                 IGCM_debug_Exit "SRF WriteFrequency=${frequency} is invalid. Choose between xY, xM, xD, xs and HF for Sechiba." ;; 
     102                IGCM_debug_Exit "SRF_Update " ${frequency} " invalid WriteFrequency : choose in xY, xM, xD, xs and HF"  
     103                IGCM_debug_Verif_Exit ;; 
     104        esac 
     105 
     106        (( ifreq = ifreq + 1 )) 
     107        case ${ifreq} in 
     108            1) 
     109                sechiba1_enabled=${file_enabled} 
     110                sechiba1_freq=${file_freq} ;; 
     111            2) 
     112                sechiba2_enabled=${file_enabled} 
     113                sechiba2_freq=${file_freq} ;; 
     114        *) 
     115                IGCM_debug_Exit "SRF_Update: It is not possible to set more than 2 output files for sechiba from config.card" 
     116                IGCM_debug_Exit "You must correct WriteFrequancy in SRF secion in config.card." 
     117                IGCM_debug_Exit "Adapt file_def_orchidee.xml directly if you want more output files" 
     118                IGCM_debug_Verif_Exit ;; 
    96119        esac 
    97120    done 
    98121 
    99     # Do the modifications in file_def_orchidee.xml 
     122 
     123    # Modify file_def_orchidee.xml file 
    100124    IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 enabled ${sechiba1_enabled} 
    101125    IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba1 output_freq ${sechiba1_freq} 
    102126    IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 enabled ${sechiba2_enabled} 
     127    IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml sechiba2 output_freq ${sechiba2_freq} 
     128     
    103129 
    104130    # Add include of orchidee context in iodef.xml 
     
    110136    rm iodef.xml.tmp add.tmp 
    111137 
    112     #Long Name as global attribute (if LongName is not empty) 
    113         if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
    114             listfile=$(ls file_def*orchidee.xml) 
    115             echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
    116             for file in ${listfile} 
    117             do 
    118                 cp ${file} ${file}.tmp 
    119                 sed -e "/<file id/r add.tmp" \ 
    120                     ${file}.tmp > ${file} 
    121                 rm ${file}.tmp  
    122             done  
    123             rm add.tmp 
    124         fi 
     138    # Add LongName as global attribute in XIOS output files (if LongName is not empty) 
     139    if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     140        listfile=$(ls file_def*orchidee.xml) 
     141        echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     142        for file in ${listfile} 
     143        do 
     144            cp ${file} ${file}.tmp 
     145            sed -e "/<file id/r add.tmp" \ 
     146                ${file}.tmp > ${file} 
     147            rm ${file}.tmp  
     148        done  
     149        rm add.tmp 
     150    fi 
     151 
    125152 
    126153    IGCM_debug_PopStack "SRF_Update" 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/config.def_actuel

    r3024 r3061  
    2424#solaire = _AUTO_ : DEFAULT = 1366.0896 
    2525solaire = _AUTO_ : DEFAULT = 1361.20  
     26### constante solaire lue dans un fichier par defaut => temporairement dans physiq.def 
     27##  ok_suntime_rrtm=y 
    2628# 
    2729# Taux gaz a effet de serre 
    2830# 
    29 ### co2_ppm =    taux CO2 en ppm 
    30 co2_ppm = _AUTO_: DEFAULT = 0.36886500E+03 
    31 ### CH4_ppb =    taux CH4 en ppb 
    32 CH4_ppb = _AUTO_ : DEFAULT = 0.17510225E+04 
    33 ### N2O_ppb =    taux N2O en ppb 
    34 N2O_ppb = _AUTO_ : DEFAULT = 0.31585000E+03 
    35 ### CFC11_ppt = taux CFC11eq CMIP6 en ppt 
     31### co2_ppm =    taux CO2 en ppm, l'année 2000 forcage CMIP6 
     32co2_ppm = _AUTO_: DEFAULT = 3.6912e+02 
     33### CH4_ppb =    taux CH4 en ppb, l'année 2000 forcage CMIP6 
     34CH4_ppb = _AUTO_ : DEFAULT = 1.7780e+03 
     35### N2O_ppb =    taux N2O en ppb, l'année 2000 forcage CMIP6 
     36N2O_ppb = _AUTO_ : DEFAULT = 3.1576e+02 
     37### CFC11_ppt = taux en ppt, l'année 2000 forcage CFC11eq_CMIP6 
    3638CFC11_ppt = _AUTO_ : DEFAULT = 6.3990e+01 
    37 ### CFC12_ppt =  taux CFC12eq CMIP6 en ppt 
     39### CFC12_ppt =  taux en ppt, l'année 2000 forcage CFC12eq_CMIP6 
    3840CFC12_ppt = _AUTO_ : DEFAULT = 1.0511e+03 
    3941# 
     
    6567# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6668read_climoz=_AUTO_ 
     69#  
     70# Aerosols stratospheriques utilises par defaut => temporairement dans physiq.def 
     71##flag_aerosol_strat=2 
     72# 
    6773# COSP 
    6874ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/config.def_preind

    r3024 r3061  
    2525### solaire =    Constante solaire 
    2626solaire = _AUTO_: DEFAULT = 1361.20 
     27### constante solaire lue dans un fichier par defaut => temporairement dans physiq.def 
     28##ok_suntime_rrtm=y 
    2729# 
    2830# Taux gaz a effet de serre 
    2931# 
    30 ### co2_ppm =    taux CO2 en ppm 
    31 co2_ppm = _AUTO_: DEFAULT = 0.28472500E+03 
    32 ### CH4_ppb =    taux CH4 en ppb 
    33 CH4_ppb = _AUTO_: DEFAULT = 0.79097924E+03 
    34 ### N2O_ppb =    taux N2O en ppb 
    35 N2O_ppb = _AUTO_: DEFAULT = 0.27542506E+03 
    36 ### CFC11_ppt = taux CFC11eq CMIP6 en ppt 
     32### co2_ppm =    taux CO2 en ppm, l'année 1850 forcage CMIP6 
     33co2_ppm = _AUTO_: DEFAULT  = 2.8432e+02 
     34### CH4_ppb =    taux CH4 en ppb, l'année 1850 forcage CMIP6 
     35CH4_ppb = _AUTO_: DEFAULT = 8.0825e+02 
     36### N2O_ppb =    taux N2O en ppb, l'année 1850 forcage CMIP6 
     37N2O_ppb = _AUTO_: DEFAULT = 2.7302e+02 
     38### CFC11_ppt = taux en ppt, l'année 2000 forcage CFC11eq_CMIP6 
    3739CFC11_ppt = _AUTO_: DEFAULT = 1.1726e+01 
    38 ### CFC12_ppt = taux CFC12eq CMIP6 en ppt 
     40### CFC12_ppt = taux en ppt, l'année 2000 forcage CFC12eq_CMIP6 
    3941CFC12_ppt = _AUTO_: DEFAULT = 1.6513e+01 
    4042# 
     
    6668# 2: read two ozone climatologies, the average day and night climatology and the daylight climatology 
    6769read_climoz=_AUTO_ 
     70# 
     71# Aerosols stratospheriques utilises par defaut => temporairement dans physiq.def 
     72# 
     73##flag_aerosol_strat=2 
     74# 
    6875# COSP 
     76# 
    6977ok_cosp=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/PARAM/inca.def

    r2735 r3061  
    2020#coupled model with orchidee 
    2121CoupOrchInca=_AUTO_ 
    22  
     22#output diagnostic for chemistry flux 
     23calcul_flux=_AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/POST/monitoring01_lmdz.cfg

    r2784 r3061  
    6161 tro3_strato_forcing    | "tro3"                  | "" | "tro3[x=@din,y=@din,k=1:7@sum,d=1]"  | "ozone strato k=1:7@sum" | "Mole" | "" 
    6262 tro3_tropo_forcing     | "tro3"                  | "" | "tro3[x=@din,y=@din,k=8:17@sum,d=1]" | "ozone trop k=8:17@sum"  | "Mole" | "" 
    63  solaire_forcing        | "solaire"               | "" | "solaire[d=1]"   | "Constante solaire"      | "W/m^2" | "1" 
    64  co2_ppm_forcing        | "co2_ppm"               | "" | "co2_ppm[d=1]"   | "Concentration du CO2"   | "ppm"   | "1" 
    65  CH4_ppb_forcing        | "CH4_ppb"               | "" | "CH4_ppb[d=1]"   | "Concentration du CH4"   | "ppb"   | "1" 
    66  N2O_ppb_forcing        | "N2O_ppb"               | "" | "N2O_ppb[d=1]"   | "Concentration du N2O"   | "ppb"   | "1" 
    67  CFC11_ppt_forcing      | "CFC11_ppt"             | "" | "CFC11_ppt[d=1]" | "Concentration du CFC11" | "ppt"   | "1" 
    68  CFC12_ppt_forcing      | "CFC12_ppt"             | "" | "CFC12_ppt[d=1]" | "Concentration du CFC12" | "ppt"   | "1" 
     63## solaire_forcing        | "solaire"               | "" | "solaire[d=1]"   | "Constante solaire"      | "W/m^2" | "1" 
     64## co2_ppm_forcing        | "co2_ppm"               | "" | "co2_ppm[d=1]"   | "Concentration du CO2"   | "ppm"   | "1" 
     65## CH4_ppb_forcing        | "CH4_ppb"               | "" | "CH4_ppb[d=1]"   | "Concentration du CH4"   | "ppb"   | "1" 
     66## N2O_ppb_forcing        | "N2O_ppb"               | "" | "N2O_ppb[d=1]"   | "Concentration du N2O"   | "ppb"   | "1" 
     67## CFC11_ppt_forcing      | "CFC11_ppt"             | "" | "CFC11_ppt[d=1]" | "Concentration du CFC11" | "ppt"   | "1" 
     68## CFC12_ppt_forcing      | "CFC12_ppt"             | "" | "CFC12_ppt[d=1]" | "Concentration du CFC12" | "ppt"   | "1" 
    6969## R_ecc_forcing      | "R_ecc"                  | "" | "R_ecc[d=1]"   | "Excentricite"      | "-"     | "1" 
    7070## R_peri_forcing     | "R_peri"                 | "" | "R_peri[d=1]"  | "Equinoxe"          | "-"     | "1" 
Note: See TracChangeset for help on using the changeset viewer.