source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/INCA/src/INCA_VEG/surf_weightedflx.F90 @ 6610

Last change on this file since 6610 was 6610, checked in by acosce, 10 months ago

INCA used for ICOLMDZORINCA_CO2_Transport_GMD_2023

File size: 539 bytes
Line 
1SUBROUTINE SURF_WEIGHTEDFLX() 
2 
3  USE SURF_CHEM_MOD 
4  USE INCA_DIM
5  USE IOIPSL
6  USE PRINT_INCA
7  USE PARAM_CHEM
8   
9  IMPLICIT NONE
10
11  INTEGER :: i, j
12  REAL, DIMENSION(PLON,nb_flux) :: emiflx_tmp
13
14  emiflx_tmp(:,:) = 0.
15  DO j = 1,nb_flux
16     DO i = 1,nbveget
17        emiflx_tmp(:,j) = emiflx_tmp(:,j) + emiflx_fromOrch(:,i,j)* maxvegetfrac_fromOrch(:,i) 
18     ENDDO
19     WHERE ( SUM(maxvegetfrac_fromOrch,dim=2) .NE. 0) 
20        tot_emiflx_fromOrch(:,j) = emiflx_tmp(:,j) 
21     ENDWHERE
22  ENDDO
23 
24END SUBROUTINE SURF_WEIGHTEDFLX
Note: See TracBrowser for help on using the repository browser.