New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2504 for branches/CMIP5_IPSL/NEMO/TOP_SRC/PISCES/p4zprod.F90 – NEMO

Ignore:
Timestamp:
2010-12-23T09:18:45+01:00 (14 years ago)
Author:
cetlod
Message:

Computation of monthly mean ocean carbon flux in PISCES

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CMIP5_IPSL/NEMO/TOP_SRC/PISCES/p4zprod.F90

    r1830 r2504  
    4949      rpis180                    ,  &  !: rpi / 180 
    5050      tpp                              !: Total primary production 
    51  
    52    INTEGER  ::  nspyr                  !: number of timesteps per year 
    5351 
    5452   !!* Substitution 
     
    347345      END DO 
    348346 
    349  
    350       IF( MOD( kt, nspyr ) == 0 .AND. jnt == nrdttrc ) THEN 
     347     IF( kt == nitend .AND. jnt == nrdttrc ) THEN 
    351348        IF( lk_mpp ) CALL mpp_sum( tpp ) 
    352         WRITE(numout,*) 'Total PP :' 
     349        WRITE(numout,*) 'Total PP (Gtc) :' 
    353350        WRITE(numout,*) '-------------------- : ',tpp * 12. / 1.E12 
    354         WRITE(numout,*) '(GtC/yr)' 
    355         tpp = 0. 
     351        WRITE(numout,*) 
    356352      ENDIF 
    357353 
     
    469465      ENDIF 
    470466 
    471       ! number of timesteps per year 
    472       nspyr  = INT( nyear_len(1) * rday / rdt ) 
    473  
    474467      rpis180   = rpi / 180. 
    475468      texcret   = 1.0 - excret 
Note: See TracChangeset for help on using the changeset viewer.