Changeset 277 for branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/sechiba.f90
- Timestamp:
- 2011-06-23T11:25:25+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/sechiba.f90
r257 r277 4 4 !! 5 5 !! @author Marie-Alice Foujols and Jan Polcher 6 !! @Version : $Revision: 45 $, $Date: 2011-01-01 21:30:44 +0100 (Sat, 01 Jan 2011) $6 !! @Version : $Revision: 275 $, $Date: 2011-06-21 15:28:18 +0200 (Tue, 21 Jun 2011) $ 7 7 !! 8 8 !< $HeadURL: http://forge.ipsl.jussieu.fr/orchidee/svn/trunk/ORCHIDEE/src_sechiba/sechiba.f90 $ 9 !< $Date: 2011-0 1-01 21:30:44 +0100 (Sat, 01 Jan 2011) $10 !< $Author: m maipsl$11 !< $Revision: 45 $9 !< $Date: 2011-06-21 15:28:18 +0200 (Tue, 21 Jun 2011) $ 10 !< $Author: martial.mancip $ 11 !< $Revision: 275 $ 12 12 !! IPSL (2006) 13 13 !! This software is governed by the CeCILL licence see ORCHIDEE/ORCHIDEE_CeCILL.LIC … … 186 186 & precip_rain, precip_snow, lwdown, swnet, swdown, pb, & 187 187 ! Output : Fluxes 188 & vevapp, fluxsens, fluxlat, coastalflow, riverflow, &188 & vevapp, fluxsens, fluxlat, coastalflow, riverflow, netco2flux, fco2_lu, & 189 189 ! Surface temperatures and surface properties 190 190 & tsol_rad, temp_sol_new, qsurf_out, albedo_out, emis_out, z0_out, & … … 249 249 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: fluxlat !! Latent chaleur flux 250 250 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: emis_out !! Emissivity 251 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: netco2flux !! Sum CO2 flux over PFTs (gC/m**2 of average ground/s) 252 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: fco2_lu !! Land Cover Change CO2 flux (gC/m**2 of average ground/s) 251 253 252 254 REAL(r_std), ALLOCATABLE, DIMENSION (:) :: runoff1,drainage1, soilcap1,soilflx1 … … 322 324 lai, height, veget, frac_nobio, veget_max, totfrac_nobio, qsintmax, & 323 325 rest_id, hist_id, hist2_id, rest_id_stom, hist_id_stom, hist_id_stom_IPCC, & 324 co2_flux) 326 co2_flux, fco2_lu) 327 netco2flux(:) = zero 328 DO jv = 2,nvm 329 netco2flux(:) = netco2flux(:) + co2_flux(:,jv)*veget_max(:,jv) 330 ENDDO 325 331 ! 326 332 ! computes initialisation of diffusion coeff … … 570 576 lai, height, veget, frac_nobio, veget_max, totfrac_nobio, qsintmax, & 571 577 rest_id, hist_id, hist2_id, rest_id_stom, hist_id_stom, hist_id_stom_IPCC, & 572 co2_flux) 573 578 co2_flux, fco2_lu) 579 ! 580 ! Compute global CO2 flux 581 ! 582 netco2flux(:) = zero 583 DO jv = 2,nvm 584 netco2flux(:) = netco2flux(:) + co2_flux(:,jv)*veget_max(:,jv) 585 ENDDO 574 586 ! 575 587 ! call swap from new computed variables … … 831 843 lai, height, veget, frac_nobio, veget_max, totfrac_nobio, qsintmax, & 832 844 rest_id, hist_id, hist2_id, rest_id_stom, hist_id_stom, hist_id_stom_IPCC, & 833 co2_flux) 834 845 co2_flux, fco2_lu) 846 netco2flux(:) = zero 847 DO jv = 2,nvm 848 netco2flux(:) = netco2flux(:) + co2_flux(:,jv)*veget_max(:,jv) 849 ENDDO 835 850 836 851 var_name= 'shumdiag'
Note: See TracChangeset
for help on using the changeset viewer.