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/CpiControl/COMP/lmdz.driver

    r1316 r1535  
    138138    [ ${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 ) 
    139139 
    140      ##-- GHG forcing for the current year 
     140 
     141    ##-- GHG forcing : 
     142    ##   If forcing file exist in run directory, read values for the current year and modify physiq.def 
     143    if [ -f SOLARANDVOLCANOES.txt ] ; then 
     144        IPCC_SOLAR=`grep Annee_${year} SOLARANDVOLCANOES.txt | awk -F= '{print $2}'` 
     145        LMDZ_sed physiq.def solaire     ${IPCC_SOLAR} 
     146    fi 
     147    if [ -f CO2.txt ] ; then 
     148        IPCC_CO2=`grep Annee_${year} CO2.txt | awk -F= '{print $2}'` 
     149        LMDZ_sed physiq.def co2_ppm     ${IPCC_CO2} 
     150    fi 
     151    if [ -f CH4.txt ] ; then 
     152        IPCC_CH4=`grep Annee_${year} CH4.txt | awk -F= '{print $2}'` 
     153        LMDZ_sed physiq.def CH4_ppb     ${IPCC_CH4} 
     154    fi 
     155    if [ -f N2O.txt ] ; then 
     156        IPCC_N2O=`grep Annee_${year} N2O.txt | awk -F= '{print $2}'` 
     157        LMDZ_sed physiq.def N2O_ppb     ${IPCC_N2O} 
     158    fi 
     159    if [ -f CFC11.txt ] ; then 
     160        IPCC_CFC11=`grep Annee_${year} CFC11.txt | awk -F= '{print $2}'` 
     161        LMDZ_sed physiq.def CFC11_ppt   ${IPCC_CFC11} 
     162    fi 
     163    if [ -f CFC12.txt ] ; then 
     164        IPCC_CFC12=`grep Annee_${year} CFC12.txt | awk -F= '{print $2}'` 
     165        LMDZ_sed physiq.def CFC12_ppt   ${IPCC_CFC12} 
     166    fi 
    141167 
    142168    if ( ${FirstInitialize} ) ; then 
Note: See TracChangeset for help on using the changeset viewer.