Ignore:
Timestamp:
08/18/11 17:41:19 (13 years ago)
Author:
jgipsl
Message:

Modifications in working configuration :

Modifications in lmdz.card and lmdz.driver

  • GHG forcing files should now be copied in files with standard names such as CO2.txt, CH4.txt, N2O.txt, CFC11.txt and CFC12.txt. Now the

lmdz.driver will update the GHG parameters in physiq.def as soon as one
of theses files are added in lmdz.card.

  • removed CO2_1765_2005.txt from Chistorical/COMP/lmdz.card, the file is not used in this experience

Modifications in pisces.driver and pisces.card

  • add option CARBON_CYCLE=y to be set in pisces.card section UserChoices? for experience Chistorical and CpiControl?. With this option, co2 will

be read from co2.log file as before.

  • modified pisces.driver to read co2 from file CO2.txt if existing. As done in lmdz.driver
  • all pisces.driver are now the same
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5-2/historical/COMP/lmdz.driver

    r1172 r1535  
    149149    [ ${CumulPeriod} -gt 1 ] && ( IGCM_sys_Get ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ; IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ) 
    150150 
    151     ##-- GHG forcing for the current year 
    152     IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES_1610_2008.txt | awk -F= '{print $2}'` 
    153     IPCC_CO2=`grep Annee_${year} CO2_1765_2005.txt | awk -F= '{print $2}'` 
    154     IPCC_CH4=`grep Annee_${year} CH4_1765_2005.txt | awk -F= '{print $2}'` 
    155     IPCC_N2O=`grep Annee_${year} N2O_1765_2005.txt | awk -F= '{print $2}'` 
    156     IPCC_CFC11=`grep Annee_${year} CFC11_1765_2005.txt | awk -F= '{print $2}'` 
    157     IPCC_CFC12=`grep Annee_${year} CFC12_1765_2005.txt | awk -F= '{print $2}'` 
     151    ##-- GHG forcing : 
     152    ##   If forcing file exist in run directory, read values for the current year and modify physiq.def 
     153    if [ -f SOLARANDVOLCANOES.txt ] ; then 
     154        IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 
     155        LMDZ_sed physiq.def solaire     ${IPCC_SOLAR} 
     156    fi 
     157    if [ -f CO2.txt ] ; then 
     158        IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 
     159        LMDZ_sed physiq.def co2_ppm     ${IPCC_CO2} 
     160    fi 
     161    if [ -f CH4.txt ] ; then 
     162        IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 
     163        LMDZ_sed physiq.def CH4_ppb     ${IPCC_CH4} 
     164    fi 
     165    if [ -f N2O.txt ] ; then 
     166        IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 
     167        LMDZ_sed physiq.def N2O_ppb     ${IPCC_N2O} 
     168    fi 
     169    if [ -f CFC11.txt ] ; then 
     170        IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 
     171        LMDZ_sed physiq.def CFC11_ppt   ${IPCC_CFC11} 
     172    fi 
     173    if [ -f CFC12.txt ] ; then 
     174        IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 
     175        LMDZ_sed physiq.def CFC12_ppt   ${IPCC_CFC12} 
     176    fi 
    158177 
    159178    ##-- For historical daily cosp must be output during 1979-2005 period 
     
    173192    LMDZ_sed physiq.def ok_hfCOSP   ${LMDZ_COSP_hf} 
    174193    LMDZ_sed physiq.def ok_histNMC  "${LMDZ_NMC_monthly}, ${LMDZ_NMC_daily}, ${LMDZ_NMC_hf}" 
    175     LMDZ_sed physiq.def solaire     ${IPCC_SOLAR} 
    176     LMDZ_sed physiq.def co2_ppm     ${IPCC_CO2} 
    177     LMDZ_sed physiq.def CH4_ppb     ${IPCC_CH4} 
    178     LMDZ_sed physiq.def N2O_ppb     ${IPCC_N2O} 
    179     LMDZ_sed physiq.def CFC11_ppt   ${IPCC_CFC11} 
    180     LMDZ_sed physiq.def CFC12_ppt   ${IPCC_CFC12} 
    181194 
    182195    ## gcm.def parameters : no change since gcm.def_${RESOL_ATM_3D} is used and already modified 
Note: See TracChangeset for help on using the changeset viewer.