Changeset 3481 for branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zflx.F90
- Timestamp:
- 2012-10-02T14:38:42+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zflx.F90
r3443 r3481 57 57 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: satmco2 !: atmospheric pco2 58 58 59 REAL(wp) :: t_oce_co2_flx !: Total ocean carbon flux60 REAL(wp) :: t_atm_co2_flx !: global mean of atmospheric pco261 REAL(wp) :: area !: ocean surface62 59 REAL(wp) :: xconv = 0.01_wp / 3600._wp !: coefficients for conversion 63 60 … … 200 197 201 198 t_oce_co2_flx = t_oce_co2_flx + glob_sum( oce_co2(:,:) ) ! Cumulative Total Flux of Carbon 202 IF( kt == nitend ) THEN 203 t_atm_co2_flx = glob_sum( satmco2(:,:) * patm(:,:) * e1e2t(:,:) ) ! Total atmospheric pCO2 204 ! 205 t_oce_co2_flx = (-1.) * t_oce_co2_flx * 12. / 1.e15 ! Conversion in PgC ; negative for out of the ocean 206 t_atm_co2_flx = t_atm_co2_flx / area ! global mean of atmospheric pCO2 207 ! 208 IF( lwp) THEN 209 WRITE(numout,*) 210 WRITE(numout,*) ' Global mean of atmospheric pCO2 (ppm) at it= ', kt, ' date= ', ndastp 211 WRITE(numout,*) '------------------------------------------------------- : ',t_atm_co2_flx 212 WRITE(numout,*) 213 WRITE(numout,*) ' Cumulative total Flux of Carbon out of the ocean (PgC) :' 214 WRITE(numout,*) '------------------------------------------------------- ',t_oce_co2_flx 215 ENDIF 216 ! 217 ENDIF 199 t_atm_co2_flx = glob_sum( satmco2(:,:) * patm(:,:) * e1e2t(:,:) ) ! Total atmospheric pCO2 218 200 219 201 IF(ln_ctl) THEN ! print mean trends (used for debugging) … … 299 281 ENDIF 300 282 ! 301 area = glob_sum( e1e2t(:,:) ) ! interior global domain surface302 !303 283 oce_co2(:,:) = 0._wp ! Initialization of Flux of Carbon 304 284 t_atm_co2_flx = 0._wp
Note: See TracChangeset
for help on using the changeset viewer.