Ignore:
Timestamp:
07/30/10 17:45:12 (11 years ago)
Author:
acosce
Message:

Update ORCHIDEE card in LMDZORINCA

Location:
CONFIG/LMDZORINCA/branches/LMDZORINCA_v2/EXP_AER
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZORINCA/branches/LMDZORINCA_v2/EXP_AER/COMP/orchidee.card

    r1062 r1116  
    44[UserChoices] 
    55NEWHYDROL=n 
    6 sechiba_LEVEL=10 
     6sechiba_LEVEL=11 
    77 
    88[InitialStateFiles] 
    9 List=   (${R_INIT}/SRF/LMDZORINCA/soils_param.nc, .), \ 
    10         (${R_INIT}/SRF/LMDZORINCA/routing.nc, .) 
     9List=   (${R_INIT}/SRF/${config_UserChoices_TagName}/soils_param.nc,      . ), \ 
     10        (${R_INIT}/SRF/${config_UserChoices_TagName}/routing.nc,          . ), \ 
     11        (${R_INIT}/SRF/${config_UserChoices_TagName}/PFTmap_IPCC_2000.nc, PFTmap.nc) 
    1112 
    1213[BoundaryFiles] 
    1314List=   () 
    14 ListNonDel= (${R_BC}/SRF/LMDZORINCA/PFTmap.20C3M.nc, PFTmap.nc) 
     15ListNonDel= () 
     16 
     17[SmoothFiles] 
     18List=() 
    1519 
    1620[ParametersFiles] 
     
    2226 
    2327[OutputText] 
    24 List=   (out_orchidee) 
     28List=   (out_orchidee, orchidee.def) 
    2529 
    2630[OutputFiles] 
    27 List=   (sechiba_history.nc, ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history.nc, Post_1M_sechiba_history) \ 
    28         (sechiba_out_2.nc,   ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_out2.nc,    NONE) \ 
    29         (watchout.nc,        ${R_OUT_SRF_O_M}/${PREFIX}_1M_watchout.nc,        NONE) 
     31List=   (sechiba_history.nc, ${R_OUT_SRF_O_M}/${PREFIX}_1M_sechiba_history.nc, Post_1M_sechiba_history), \ 
     32        (sechiba_out_2.nc, ${R_OUT_SRF_O_H}/${PREFIX}_HF_sechiba_out_2.nc, Post_HF_sechiba_out_2), \ 
     33        (orchidee_watchout.nc, ${R_OUT_SRF_O_M}/${PREFIX}_1M_watchout.nc, NONE) 
    3034 
    3135[Post_1M_sechiba_history] 
    3236Patches = () 
    33 GatherWithInternal = (lon, lat, veget, time_counter, time_counter_bnds, Areas,Contfrac) 
    34 TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, bqsb, evap, fluxlat, fluxsens, gqsb, netrad, qair, rain, runoff, snow, snownobio, snowf, subli, tair, temp_sol, tsol_max, tsol_min, drainage) 
     37GatherWithInternal = (lon, lat, veget, time_counter, time_counter_bnds, Areas, Contfrac) 
     38TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, bqsb, evap, fluxlat, fluxsens, gqsb, netrad, qair, rain, runoff, snow, snownobio, snowf, subli, tair, temp_sol, tsol_max, tsol_min, drainage,mrsos, mrso, mrros, mrro, prveg, evspsblveg, evspsblsoi, tran, treeFrac, grassFrac, cropFrac, baresoilFrac, residualFrac) 
    3539ChunckJob2D = NONE 
    36 TimeSeriesVars3D = (lai, maxvegetfrac, vegetfrac, CO2FLUX) 
     40TimeSeriesVars3D = (lai, maxvegetfrac, vegetfrac, CO2FLUX, ptn, nee) 
    3741ChunckJob3D = NONE 
     42Seasonal=ON 
     43 
     44[Post_HF_sechiba_out_2] 
     45Patches= () 
     46GatherWithInternal= (lon, lat, veget, time_counter, time_counter_bnds, Areas, Contfrac) 
     47TimeSeriesVars2D= (mrsos, mrro) 
     48ChunckJob2D= 50Y 
     49TimeSeriesVars3D= (ptn) 
     50ChunckJob3D= 10Y 
     51Seasonal= OFF 
  • CONFIG/LMDZORINCA/branches/LMDZORINCA_v2/EXP_AER/COMP/orchidee.driver

    r858 r1116  
    2424    RESOL_SRF=ALL 
    2525 
     26    for frequency in ${config_SRF_WriteFrequency} ; do 
     27        case ${frequency} in 
     28            HF|hf) SRF_ok_hf=y ;; 
     29        esac 
     30    done 
     31 
    2632    IGCM_debug_PopStack "SRF_Initialize" 
    2733} 
     
    3440    typeset SECHIBA_WRITE_STEP 
    3541 
    36     case ${config_SRF_WriteFrequency} in 
     42    SRF_WriteFrequency=$( echo ${config_SRF_WriteFrequency} | sed -e 's/\([0-9]*[yYmMdDs]\).*/\1/' )  
     43    case ${SRF_WriteFrequency} in 
    3744        *Y|*y)  
    38             WriteInYears=$( echo ${1} | awk -F '[yY]' "{print ${config_SRF_WriteFrequency}}" ) 
    39             PeriodLengthInYears=$( echo ${1} | awk -F '[yY]' "{print ${config_UserChoices_PeriodLength}}" ) 
     45            WriteInYears=$( echo ${SRF_WriteFrequency} | awk -F '[yY]' '{print $1}' ) 
     46            PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    4047            (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInYears / PeriodLengthInYears * 86400 )) ;; 
    41         *M|*m)  
    42             WriteInMonths=$( echo ${1} | awk -F '[mM]' "{print ${config_SRF_WriteFrequency}}" ) 
     48        1M) 
    4349            case ${config_UserChoices_PeriodLength} in 
    4450            *Y|*y) 
    45                 PeriodLengthInYears=$( echo ${1} | awk -F '[yY]' "{print ${config_UserChoices_PeriodLength}}" ) 
     51                SECHIBA_WRITE_STEP=-1. 
     52                ;; 
     53            *M|*m) 
     54                SECHIBA_WRITE_STEP=-1. 
     55                ;; 
     56            *) 
     57                (( SECHIBA_WRITE_STEP = $( IGCM_date_DaysInMonth $year $month ) * 86400 )) 
     58                ;; 
     59            esac 
     60            ;; 
     61        *M|*m)  
     62            WriteInMonths=$( echo ${SRF_WriteFrequency} | awk -F '[mM]' '{print $1}' ) 
     63            case ${config_UserChoices_PeriodLength} in 
     64            *Y|*y) 
     65                PeriodLengthInYears=$( echo ${config_UserChoices_PeriodLength} | awk -F '[yY]' '{print $1}' ) 
    4666                (( SECHIBA_WRITE_STEP = PeriodLengthInDays * 86400 / PeriodLengthInYears / 12  )) 
    4767                ;; 
    4868            *M|*m) 
    49                 PeriodLengthInMonths=$( echo ${1} | awk -F '[mM]' "{print ${config_UserChoices_PeriodLength}}" ) 
     69                PeriodLengthInMonths=$( echo ${config_UserChoices_PeriodLength} | awk -F '[mM]' '{print $1}' ) 
    5070                (( SECHIBA_WRITE_STEP = PeriodLengthInDays * WriteInMonths  * 86400 / PeriodLengthInMonths  )) 
    5171                ;; 
     
    6080            (( SECHIBA_WRITE_STEP = 86400 )) ;; 
    6181        *s) 
    62             WriteInSeconds=$( echo ${1} | awk -F '[s]' "{print ${config_SRF_WriteFrequency}}" ) 
     82            WriteInSeconds=$( echo ${SRF_WriteFrequency} | awk -F '[s]' '{print $1}' ) 
    6383            (( SECHIBA_WRITE_STEP = WriteInSeconds )) ;; 
    6484        *)  
    65             IGCM_debug_Exit "SRF_Update " ${config_SRF_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D."  
     85            IGCM_debug_Exit "SRF_Update " ${SRF_WriteFrequency} " invalid WriteFrequency : choose in 1Y, 1M, 5D, 1D."  
    6686            IGCM_debug_Verif_Exit ;; 
    6787    esac 
     
    7292    ORCHIDEE_sed SECHIBA_HISTLEVEL ${orchidee_UserChoices_sechiba_LEVEL} 
    7393 
    74 ##    if [ ${year} -eq 1950 ] ; then 
    75 #       ORCHIDEE_sed SECHIBA_HISTFILE2 y 
    76 #       ORCHIDEE_sed SECHIBA_HISTLEVEL2 10 
    77 #       ORCHIDEE_sed WRITE_STEP2 86400.0 
    78 ##    fi 
     94    # Outputs HF in HISTFILE2 if required 
     95    [ X${SRF_ok_hf} = Xy ] && ORCHIDEE_sed SECHIBA_HISTFILE2 y 
     96    ORCHIDEE_sed SECHIBA_HISTLEVEL2 1 
     97    ORCHIDEE_sed WRITE_STEP2 10800.0 
    7998 
    8099    if ( [ ${CumulPeriod} -ne 1 ] || [ "${config_SRF_Restart}" != "n" ] ) ; then 
  • CONFIG/LMDZORINCA/branches/LMDZORINCA_v2/EXP_AER/PARAM/orchidee.def

    r858 r1116  
    248248STOMATE_HISTLEVEL = 10 
    249249# default = 10 
     250 
     251#-------------------------------------------------------------------- 
     252# STOMATE_IPCC_OUTPUT_FILE 
     253# This file is going to be created by the model 
     254#    and will contain the output from the model. 
     255#    This file is a truly COADS compliant netCDF file. 
     256#    It will be generated by the hist software from 
     257#    the IOIPSL package. 
     258# Name of file in which STOMATE's output is going 
     259# to be written 
     260STOMATE_IPCC_OUTPUT_FILE = stomate_ipcc_history.nc 
     261# default = stomate_ipcc_history.nc 
     262 
     263# STOMATE_IPCC_HIST_DT 
     264# Time step of the STOMATE IPCC history file 
     265# STOMATE IPCC history time step (d) 
     266STOMATE_IPCC_HIST_DT = -1 
     267# default = 0. 
    250268 
    251269# Write frequency for output files (SECHIBA in seconds et 
     
    572590 
    573591# Total depth of soil reservoir 
    574 HYDROL_SOIL_DEPTH = 2. 
     592HYDROL_SOIL_DEPTH = 4. 
    575593# default = 2. 
     594 
     595# Root profile 
     596# Default values were defined for 2 meters soil depth. 
     597# For 4 meters soil depth, you may use those ones : 
     598# 5., .4, .4, 1., .8, .8, 1., 1., .8, 4., 1., 4., 1. 
     599HYDROL_HUMCSTE = 5., .4, .4, 1., .8, .8, 1., 1., .8, 4., 1., 4., 1. 
     600# default =  5., .8, .8, 1., .8, .8, 1., 1., .8, 4., 4., 4., 4. 
    576601 
    577602# Initial restart deep soil moisture if not found in restart 
     
    682707# Add from Nathalie - the 28 of March 2006 - advice from Fred Hourdin 
    683708# By PFT. 
    684 RVEG_PFT = 1., 0.5, 0.5, 1., 1., 1., 1., 1., 1., 1., 0.5, 1., 0.5 
     709RVEG_PFT = 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1. 
    685710# default = 1. 
    686711 
     
    703728# Year of the land_use vegetation map readed 
    704729# year off the pft map 
    705 # If LAND_USE (11 = 1860 - 1850 +1 for PFTmap.20C3M.nc)  
    706 VEGET_YEAR = 151 
     730# If LAND_USE (11 = 1860 - 1850 +1 for PFTmap.20C3M.nc, 1 for PFTmap_IPCC_2000.nc)  
     731VEGET_YEAR = 1 
    707732# default = 282 
     733 
     734# booleen to indicate that a new LAND USE file will be used (since 1.9.5 version). 
     735# The parameter is used to bypass veget_year count  
     736# and reinitialize it with VEGET_YEAR parameter. 
     737# Then it is possible to change LAND USE file. 
     738# If LAND_USE 
     739VEGET_REINIT = n 
     740# default = n 
    708741 
    709742# Update vegetation frequency (since 2.0 version) 
Note: See TracChangeset for help on using the changeset viewer.