Ignore:
Timestamp:
03/11/11 10:07:19 (13 years ago)
Author:
jgipsl
Message:

Modified lmdz.driver to read file for GHG forcing not containing year so the same driver could be used for different historical or rcp runs

Location:
CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/lmdz.card_AMIP

    r1222 r1334  
    5151# With AR5 aerosols (including ASSO4M(=SO4), CSSO4M, AIBCM, ASBCM, AIPOMM, ASPOMM, ASSSM, CSSSM, SSSSM, CIDUSTM) 
    5252# With AR5 ozone(tropo + strato from LMDZOR-INCA-REPROBUS simulations) 
    53 ListNonDel= (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/SOLARANDVOLCANOES_1610_2008.txt, .),\ 
    54             (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CO2_1765_2005.txt, .),\ 
    55             (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CH4_1765_2005.txt, .),\ 
    56             (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/N2O_1765_2005.txt, .),\ 
    57             (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CFC11_1765_2005.txt, .),\ 
    58             (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CFC12_1765_2005.txt, .),\ 
     53ListNonDel= (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/SOLARANDVOLCANOES_1610_2008.txt, SOLARANDVOLCANOES.txt),\ 
     54            (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CO2_1765_2005.txt, CO2.txt),\ 
     55            (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CH4_1765_2005.txt, CH4.txt),\ 
     56            (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/N2O_1765_2005.txt, N2O.txt),\ 
     57            (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CFC11_1765_2005.txt, CFC11.txt),\ 
     58            (${R_BC}/ATM/${config_UserChoices_TagName}/IPCC_AR5/HISTORIQUE/CFC12_1765_2005.txt, CFC12.txt),\ 
    5959            (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_1855_v3.nc, aerosols.nat.nc) 
    6060 
  • CONFIG/LMDZOR/branches/LMDZOR_v4/LMDZOR/COMP/lmdz.driver

    r1328 r1334  
    179179 
    180180    ##-- GHG forcing for the current year if forcing file is availible 
    181     if [ -f SOLARANDVOLCANOES_1610_2008.txt ] ; then 
    182         IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES_1610_2008.txt | awk -F= '{print $2}'` 
     181    if [ -f SOLARANDVOLCANOES.txt ] ; then 
     182        IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 
    183183        LMDZ_sed physiq.def solaire     ${IPCC_SOLAR} 
    184184    fi 
    185     if [ -f CO2_1765_2005.txt ] ; then 
    186         IPCC_CO2=`grep Annee_${year} CO2_1765_2005.txt | awk -F= '{print $2}'` 
     185    if [ -f CO2.txt ] ; then 
     186        IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 
    187187        LMDZ_sed physiq.def co2_ppm     ${IPCC_CO2} 
    188188    fi 
    189     if [ -f CH4_1765_2005.txt ] ; then 
    190         IPCC_CH4=`grep Annee_${year} CH4_1765_2005.txt | awk -F= '{print $2}'` 
     189    if [ -f CH4.txt ] ; then 
     190        IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 
    191191        LMDZ_sed physiq.def CH4_ppb     ${IPCC_CH4} 
    192192    fi 
    193     if [ -f N2O_1765_2005.txt ] ; then 
    194         IPCC_N2O=`grep Annee_${year} N2O_1765_2005.txt | awk -F= '{print $2}'` 
     193    if [ -f N2O.txt ] ; then 
     194        IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 
    195195        LMDZ_sed physiq.def N2O_ppb     ${IPCC_N2O} 
    196196    fi 
    197     if [ -f CFC11_1765_2005.txt ] ; then 
    198         IPCC_CFC11=`grep Annee_${year} CFC11_1765_2005.txt | awk -F= '{print $2}'` 
     197    if [ -f CFC11.txt ] ; then 
     198        IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 
    199199        LMDZ_sed physiq.def CFC11_ppt   ${IPCC_CFC11} 
    200200    fi 
    201     if [ -f CFC12_1765_2005.txt ] ; then 
    202         IPCC_CFC12=`grep Annee_${year} CFC12_1765_2005.txt | awk -F= '{print $2}'` 
     201    if [ -f CFC12.txt ] ; then 
     202        IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 
    203203        LMDZ_sed physiq.def CFC12_ppt   ${IPCC_CFC12} 
    204204    fi 
Note: See TracChangeset for help on using the changeset viewer.