Ignore:
Timestamp:
2022-07-20T11:30:43+02:00 (2 years ago)
Author:
josefine.ghattas
Message:

Integrated new irrigation scheme developed by Pedro Arboleda. See ticket #857
This corresponds to revsion 7708 of version pedro.arboleda/ORCHIDEE. Following differences were made but were not made on the pedro.arboleda/ORCHIDEE :

  • argumet place in call to routing_wrapper_intialize changed order
  • lines with only change in space were not taken
  • some indentation changed
  • set irrigation output as enalbled false if not do_irrigation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/diffuco.f90

    r7326 r7709  
    332332    REAL(r_std),DIMENSION (kjpindex,nvm)     :: cim                !! Intercellular CO2 over nlai  
    333333 
     334    !! Based on ZunYin for correct transport 
     335    REAL(r_std),DIMENSION (kjpindex,nvm)     :: humrel_tmp         !! Soil moisture stress (within range 0 to 1) 
     336    REAL(r_std),DIMENSION (kjpindex,nvm)     :: vbeta3_tmp         !! Beta for transpiration (-) 
     337    REAL(r_std),DIMENSION (kjpindex,nvm)     :: rveget_tmp         !! Stomatal resistance for the whole canopy (s m^{-1}) 
     338    REAL(r_std),DIMENSION (kjpindex,nvm)     :: rstruct_tmp        !! Structural resistance for the vegetation 
     339    REAL(r_std),DIMENSION (kjpindex,nvm)     :: cimean_tmp         !! Mean leaf Ci (ppm) 
     340    REAL(r_std),DIMENSION (kjpindex,nvm)     :: gsmean_tmp         !! Mean stomatal conductance to CO2 (umol m-2 s-1) 
     341    REAL(r_std),DIMENSION (kjpindex,nvm)     :: gpp_tmp            !! Assimilation ((gC m^{-2} s^{-1}), total area) 
     342    REAL(r_std),DIMENSION (kjpindex,nvm)     :: cim_tmp            !! Intercellular CO2 over nlai 
     343 
    334344!_ ================================================================================================================================ 
    335345     
     
    368378 
    369379  !! 5. Calculate the beta coefficient for transpiration 
     380    !! Dummy variables to compute vbeta3pot (humrel_temp = 1, no water stress) 
     381    humrel_tmp(:,:) = un 
     382    vbeta3_tmp = vbeta3 
     383    rveget_tmp = rveget 
     384    rstruct_tmp = rstruct 
     385    cimean_tmp = cimean 
     386    gsmean_tmp = gsmean 
     387    gpp_tmp = gpp 
     388    cim_tmp = cim 
    370389 
    371390    CALL diffuco_trans_co2 (kjpindex, swdown, pb, qsurf, qair, temp_air, temp_growth, rau, u, v, q_cdrag, humrel, & 
     
    374393         rveget, rstruct, cimean, gsmean, gpp, & 
    375394         vbeta23, hist_id, indexveg, indexlai, index, kjit, cim) 
     395 
     396   !! New resistance calc. with temporary (dummy) variables, just for vbeta3pot 
     397    CALL diffuco_trans_co2 (kjpindex, swdown, pb, qsurf, qair, temp_air, temp_growth, rau, u, v, q_cdrag, humrel_tmp, & 
     398         assim_param, ccanopy, & 
     399         veget, veget_max, lai, qsintveg, qsintmax, vbeta3_tmp, vbeta3pot, & 
     400         rveget_tmp, rstruct_tmp, cimean_tmp, gsmean_tmp, gpp_tmp, & 
     401         vbeta23, hist_id, indexveg, indexlai, index, kjit, cim_tmp) 
    376402 
    377403    ! 
Note: See TracChangeset for help on using the changeset viewer.