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 1636 – NEMO

Changeset 1636


Ignore:
Timestamp:
2009-10-02T11:45:31+02:00 (15 years ago)
Author:
smasson
Message:

date.file is no more existing when using key_iomput, see ticket:551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DIA/diaptr.F90

    r1559 r1636  
    608608 
    609609      CHARACTER (len=40)       ::   clhstnam, clop, clop_once, cl_comment   ! temporary names 
    610       INTEGER                  ::   iline, it, itmod, ji, jj, jk      ! 
    611       REAL(wp)                 ::   zsto, zout, zdt, zjulian   ! temporary scalars 
     610      INTEGER                  ::   iline, it, itmod, ji, jj, jk            ! 
     611#if defined key_iomput 
     612      INTEGER                  ::   inum                                    ! temporary logical unit 
     613#endif 
     614      REAL(wp)                 ::   zsto, zout, zdt, zjulian                ! temporary scalars 
    612615      REAL(wp), DIMENSION(jpj) ::   zphi, zfoo 
    613616      REAL(wp), DIMENSION(jpj,jpk) :: z_1 
     
    706709            zjulian = zjulian - adatrj   !   set calendar origin to the beginning of the experiment 
    707710 
     711#if defined key_iomput 
     712            ! Requested by IPSL people, use by their postpro... 
     713            IF(lwp) THEN 
     714               CALL dia_nam( clhstnam, nf_ptr_wri,' ' ) 
     715               CALL ctl_opn( inum, 'date.file', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
     716               WRITE(inum,*) clhstnam 
     717               CLOSE(inum) 
     718            ENDIF 
     719#endif 
     720 
    708721            CALL dia_nam( clhstnam, nf_ptr_wri, 'diaptr' ) 
    709722            IF(lwp)WRITE( numout,*)" Name of diaptr NETCDF file : ", clhstnam 
Note: See TracChangeset for help on using the changeset viewer.