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 1656 for trunk/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2009-10-14T16:30:35+02:00 (15 years ago)
Author:
cetlod
Message:

Creation of the date.file in OFFLINE mode, see ticket:551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/trcdia.F90

    r1457 r1656  
    109109      LOGICAL ::   ll_print = .FALSE. 
    110110      CHARACTER (len=40) :: clhstnam, clop 
     111#if defined key_off_tra 
     112      INTEGER ::   inum = 11             ! temporary logical unit 
     113#endif 
    111114      CHARACTER (len=20) :: cltra, cltrau 
    112115      CHARACTER (len=80) :: cltral 
     
    163166            &                    ' limit storage in depth = ', ipk 
    164167 
     168#if defined key_off_tra 
     169        ! WRITE root name in date.file for use by postpro 
     170         IF(lwp) THEN 
     171            CALL dia_nam( clhstnam, nwritetrc,' ' ) 
     172            CALL ctl_opn( inum, 'date.file', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
     173            WRITE(inum,*) clhstnam 
     174            CLOSE(inum) 
     175         ENDIF 
     176#endif 
    165177 
    166178         ! Define the NETCDF files for passive tracer concentration 
Note: See TracChangeset for help on using the changeset viewer.