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 1312 for trunk/NEMO/OPA_SRC/TRD/trdmld.F90 – NEMO

Ignore:
Timestamp:
2009-02-16T17:35:36+01:00 (15 years ago)
Author:
smasson
Message:

add a namelist logical to mask land points in NetCDF outputs, see ticket:322

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRD/trdmld.F90

    r1310 r1312  
    824824      ! II.1 Define frequency of output and means 
    825825      ! ----------------------------------------- 
     826      IF( ln_mskland )   THEN   ;   clop = "only(x)"   ! put 1.e+20 on land (very expensive!!) 
     827      ELSE                      ;   clop = "x"         ! no use of the mask value (require less cpu time) 
     828      ENDIF 
    826829#  if defined key_diainstant 
    827830      IF( .NOT. ln_trdmld_instant ) THEN 
     
    829832      END IF 
    830833      zsto = ntrd * rdt 
    831       clop ="inst(only(x))" 
     834      clop = "inst("//TRIM(clop)//")" 
    832835#  else 
    833836      IF( ln_trdmld_instant ) THEN 
     
    836839         zsto = ntrd * rdt          ! mean  diags : we DO NOT use any IOIPSL time averaging 
    837840      END IF 
    838       clop ="ave(only(x))" 
     841      clop = "ave("//TRIM(clop)//")" 
    839842#  endif 
    840843      zout = ntrd * rdt 
Note: See TracChangeset for help on using the changeset viewer.