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 6227 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO – NEMO

Ignore:
Timestamp:
2016-01-08T13:19:16+01:00 (8 years ago)
Author:
jpalmier
Message:

JPALM -- 08-01-2016 -- MEDUSA debugg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/trcrst.F90

    r6226 r6227  
    4848   PUBLIC   trc_rst_cal 
    4949   PUBLIC   trc_rst_stat 
     50   PUBLIC   trc_rst_dia_stat 
    5051 
    5152   !! * Substitutions 
     
    671672      ztraf = glob_sum( dgtr(:,:) * zvol(:,:) ) 
    672673      areasf = glob_sum(e1e2t(:,:) * tmask(:,:,1) ) 
    673       zmin  = MINVAL( dgtr(:,:), mask= ((tmask(:,:,1)*SPREAD(tmask_i,DIM=2,NCOPIES=1).NE.0.)) ) 
    674       zmax  = MAXVAL( dgtr(:,:), mask= ((tmask(:,:,1)*SPREAD(tmask_i,DIM=2,NCOPIES=1).NE.0.)) ) 
     674      zmin  = MINVAL( dgtr(:,:), mask= ((tmask(:,:,1).NE.0.)) ) 
     675      zmax  = MAXVAL( dgtr(:,:), mask= ((tmask(:,:,1).NE.0.)) ) 
    675676      IF( lk_mpp ) THEN 
    676677         CALL mpp_min( zmin )      ! min over the global domain 
Note: See TracChangeset for help on using the changeset viewer.