/[MITgcm]/MITgcm/pkg/fizhi/fizhi_write_datetime.F
ViewVC logotype

Contents of /MITgcm/pkg/fizhi/fizhi_write_datetime.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Sep 30 19:37:54 2004 UTC (19 years, 9 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint55d_pre, checkpoint55h_post, checkpoint55g_post, checkpoint55f_post, checkpoint55e_post, checkpoint55d_post
Write out current date and time for next run segment to read

1 C $Header: $
2 C $Name: $
3
4 #include "FIZHI_OPTIONS.h"
5
6 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7 CBOP 0
8 C !INTERFACE:
9 SUBROUTINE FIZHI_WRITE_DATETIME( myTime, myIter, myThid )
10
11 C !DESCRIPTION:
12 C Write Fizhi date and time to ascii file
13
14 implicit none
15
16 #include "chronos.h"
17
18 C !INPUT PARAMETERS:
19 integer myTime, myIter, myThid
20 CEOP
21
22 integer ku
23
24 if( myThid.eq.1) then
25 C Write Supplemental Ascii File with Current Time Info
26 open(10,file='datetime',form='formatted')
27 write(10,1000)nymd,nhms
28 print *,' Writing datetime file: NYMD = ',nymd,' NHMS = ',nhms
29 close (10)
30 endif
31 1000 format(i8,2x,i6)
32
33 return
34 end

  ViewVC Help
Powered by ViewVC 1.1.22