Ignore:
Timestamp:
2011-08-01T16:11:34+02:00 (13 years ago)
Author:
didier.solyga
Message:

Merge the revisions 373 + 376 to 389 from the trunk in the externalized version

Location:
branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP/orchidee_ol.card

    r263 r382  
    3030 
    3131[OutputText] 
    32 List=   (used_driver.def, out_orchidee_ol) 
     32List=   (used_driver.def, used_run.def, out_orchidee_ol) 
    3333# avec la // : out_orchidee_* 
    3434 
  • branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP/sechiba.card

    r263 r382  
    55LAIMAP=n 
    66IMPOSE_VEG=n 
     7# if IMPOSE_VEG = n 
    78LAND_USE=n 
     9# if LAND_USE=y 
    810VEGET_UPDATE=1Y 
     11# if LAND_USE=n and we want to use carteveg5km.nc for maxvegetfrac map. 
     12# (instead of default PFTmap_1850to2005_AR5_LUHa.rc2 below) 
     13OLD_VEGET=n 
    914ROUTING=n 
    1015NEWHYDROL=n 
  • branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP/sechiba.driver

    r263 r382  
    6363    typeset SECHIBA_WRITE_STEP 
    6464 
     65    # Get WriteFrenquecies from config.card for SECHIBA 
    6566    SRF_WriteFrequency=$( echo ${config_SRF_WriteFrequency} | sed -e 's/\([0-9]*[yYmMdDs]\).*/\1/' )  
    6667    case ${SRF_WriteFrequency} in 
     
    109110            IGCM_debug_Verif_Exit ;; 
    110111    esac 
    111  
    112     SECHIBA_sed STOMATE_OK_CO2 ${sechiba_UserChoices_OKCO2} 
    113  
    114     SECHIBA_sed RIVER_ROUTING ${sechiba_UserChoices_ROUTING} 
    115     SECHIBA_sed HYDROL_CWRR ${sechiba_UserChoices_NEWHYDROL} 
    116  
    117112    SECHIBA_sed WRITE_STEP ${SECHIBA_WRITE_STEP} 
    118113    SECHIBA_sed SECHIBA_HISTLEVEL ${sechiba_UserChoices_sechiba_LEVEL} 
     
    123118    SECHIBA_sed WRITE_STEP2 10800.0 
    124119 
    125     if [ X${sechiba_UserChoices_LAND_USE} = Xy ] ; then 
    126       SECHIBA_sed LAND_USE ${sechiba_UserChoices_LAND_USE} 
    127       SECHIBA_sed VEGET_UPDATE ${sechiba_UserChoices_VEGET_UPDATE} 
     120    SECHIBA_sed STOMATE_OK_CO2 ${sechiba_UserChoices_OKCO2} 
    128121 
    129       ##MM : cutting PFTmaps of ORCHIDEE : for first year without restart, we must use this year map 
    130       ##     WARNING : the next year map must be avaible and the december month, then this device will 
    131       ##               only work with PeriodLength scrictly less than 1Y. 
    132       # If you want to come back to old BIG LAND USE file 
    133       # (to run on multipple years, just one time with LAND USE activated),  
    134       # you must  
    135       # comment all next 8 lines and check correct parameters in sechiba.def file 
    136       # for your LAND USE specific file. 
    137         SECHIBA_sed VEGET_REINIT y 
    138         if ( [ ${CumulPeriod} -eq 1 ] && [ "${config_SRF_Restart}" = "n" ] ) ; then 
    139             SECHIBA_sed VEGET_YEAR 1 
    140         else 
    141             SECHIBA_sed VEGET_YEAR 0 
    142             IGCM_sys_Mv -f PFTmap_IPCC_${year_p1}.nc PFTmap.nc 
     122    SECHIBA_sed RIVER_ROUTING ${sechiba_UserChoices_ROUTING} 
     123    SECHIBA_sed HYDROL_CWRR ${sechiba_UserChoices_NEWHYDROL} 
     124 
     125    if [ X${sechiba_UserChoices_IMPOSE_VEG} = Xn ] ; then 
     126        if [ X${sechiba_UserChoices_LAND_USE} = Xy ] ; then 
     127            SECHIBA_sed VEGET_UPDATE ${sechiba_UserChoices_VEGET_UPDATE} 
     128 
     129            ##MM : cutting PFTmaps of ORCHIDEE : for first year without restart, we must use this year map 
     130            ##     WARNING : the next year map must be avaible and the december month, then this device will 
     131            ##               only work with PeriodLength scrictly less than 1Y. 
     132            # If you want to come back to old BIG LAND USE file 
     133            # (to run on multipple years, just one time with LAND USE activated),  
     134            # you must  
     135            # comment all next 8 lines and check correct parameters in sechiba.def file 
     136            # for your LAND USE specific file. 
     137            SECHIBA_sed VEGET_REINIT y 
     138            if ( [ ${CumulPeriod} -eq 1 ] && [ "${config_SRF_Restart}" = "n" ] ) ; then 
     139                SECHIBA_sed VEGET_YEAR 1 
     140            else 
     141                SECHIBA_sed VEGET_YEAR 0 
     142                IGCM_sys_Mv -f PFTmap_IPCC_${year_p1}.nc PFTmap.nc 
     143            fi 
     144        elif [ X${sechiba_UserChoices_OLD_VEGET} = Xy ] ; then 
     145            SECHIBA_sed LAND_USE n 
    143146        fi 
     147    else 
     148        SECHIBA_sed IMPOSE_VEG y 
    144149    fi 
    145150 
    146     SECHIBA_sed IMPOSE_VEG ${sechiba_UserChoices_IMPOSE_VEG} 
    147      
    148151    if ( [ ${CumulPeriod} -eq 1 ] && [ "${config_SRF_Restart}" = "n" ] ) ; then 
    149152        SECHIBA_sed SECHIBA_reset_time y 
  • branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP/stomate.card

    r263 r382  
    3838TimeSeriesVars2D= (T2M_MONTH,CONTFRAC,RESOLUTION_X,RESOLUTION_Y,CONVFLUX,CFLUX_PROD10,CFLUX_PROD100,CO2FLUX_MONTHLY_SUM,HARVEST_ABOVE) 
    3939ChunckJob2D = NONE 
    40 TimeSeriesVars3D = (CO2FLUX,LAI,VEGET,VEGET_MAX,NPP,GPP,HET_RESP,MAINT_RESP,GROWTH_RESP,AGE,HEIGHT,TOTAL_M,TOTAL_BM_LITTER,TOTAL_SOIL_CARB) 
     40TimeSeriesVars3D= (CO2FLUX,LAI,VEGET,VEGET_MAX,NPP,GPP,HET_RESP,MAINT_RESP,GROWTH_RESP,AGE,HEIGHT,TOTAL_M,TOTAL_BM_LITTER,TOTAL_SOIL_CARB,ADAPTATION,REGENERATION) 
    4141ChunckJob3D = NONE 
    4242Seasonal=ON 
     
    4545Patches= () 
    4646GatherWithInternal= (lon, lat, PFT, time_counter, Areas) 
    47 TimeSeriesVars2D=(cVeg, cLitter, cSoil, cProduct, lai, gpp, ra, npp, rh, fFire, fHarvest, fLuc, nbp, fVegLitter, fLitterSoil, cLeaf, cWood, cRoot, cMisc, cLitterAbove, cLitterBelow, cSoilFast, cSoilMedium, cSoilSlow, landCoverFrac, treeFracPrimDec, treeFracPrimEver, c3PftFrac, c4PftFrac, rGrowth, rMaint, nppLeaf, nppWood, nppRoot, nep) 
     47TimeSeriesVars2D=(cVeg, cLitter, cSoil, cProduct, cMassVariation, lai, gpp, ra, npp, rh, fFire, fHarvest, fLuc, nbp, fVegLitter, fLitterSoil, cLeaf, cWood, cRoot, cMisc, cLitterAbove, cLitterBelow, cSoilFast, cSoilMedium, cSoilSlow, landCoverFrac, treeFracPrimDec, treeFracPrimEver, c3PftFrac, c4PftFrac, rGrowth, rMaint, nppLeaf, nppWood, nppRoot, nep) 
    4848ChunckJob2D = NONE 
    4949TimeSeriesVars3D=() 
  • branches/ORCHIDEE_EXT/ORCHIDEE_OL/OOL_SEC_STO/COMP/stomate.driver

    r263 r382  
    3232     
    3333    IGCM_debug_PopStack "SBG_Initialize" 
     34} 
     35 
     36#----------------------------------------------------------------- 
     37function SBG_PeriodStart 
     38{ 
     39    IGCM_debug_PushStack "SBG_PeriodStart" 
     40 
     41    IGCM_debug_PopStack "SBG_PeriodStart" 
    3442} 
    3543 
     
    105113function SBG_Finalize 
    106114{ 
    107 #set -vx 
    108115    IGCM_debug_PushStack "SBG_Finalize" 
    109116 
Note: See TracChangeset for help on using the changeset viewer.