/[MITgcm]/MITgcm/pkg/cal/cal_summary.F
ViewVC logotype

Contents of /MITgcm/pkg/cal/cal_summary.F

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


Revision 1.3 - (show annotations) (download)
Tue Apr 28 23:27:24 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62, checkpoint62b, checkpoint61n, checkpoint61q, checkpoint61o, checkpoint61m, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +4 -4 lines
call WRITE_0D_RL (instead of WRITE_0D_R8) to print "RL" parameters

1 C $Header: /u/gcmpack/MITgcm/pkg/cal/cal_summary.F,v 1.2 2003/10/09 04:19:19 edhill Exp $
2 C $Name: $
3
4 #include "CAL_OPTIONS.h"
5
6 subroutine cal_Summary(
7 I mythid
8 & )
9
10 c ==================================================================
11 c SUBROUTINE cal_Summary
12 c ==================================================================
13 c
14 c o List all the settings of the calendar tool.
15 c
16 c started: Christian Eckert eckert@mit.edu 30-Jun-1999
17 c
18 c changed: Christian Eckert eckert@mit.edu 10-Jan-2000
19 c
20 c - corrected typo: nIterEnd --> nEndIter.
21 c
22 c Christian Eckert eckert@mit.edu 03-Feb-2000
23 c
24 c - Introduced new routine and function names, cal_<NAME>,
25 c for verion 0.1.3.
26 c
27 c ==================================================================
28 c SUBROUTINE cal_Summary
29 c ==================================================================
30
31 implicit none
32
33 c == global variables ==
34
35 #include "EEPARAMS.h"
36 #include "cal.h"
37
38 c == routine arguments ==
39
40 c mythid - thread number for this instance of the routine.
41
42 integer mythid
43
44 c == local variables ==
45
46 character*(max_len_mbuf) msgbuf
47 integer numcaldays
48 integer numcalmonths
49 integer numcalyears
50
51 c == external ==
52
53 integer cal_IntYears
54 external cal_IntYears
55 integer cal_IntMonths
56 external cal_IntMonths
57 integer cal_IntDays
58 external cal_IntDays
59
60 c == end of interface ==
61
62 numcalyears = cal_IntYears ( mythid )
63 numcalmonths = cal_IntMonths( mythid )
64 numcaldays = cal_IntDays ( mythid )
65
66 write(msgbuf,'(a)')
67 &' '
68 call print_message( msgbuf, standardmessageunit,
69 & SQUEEZE_RIGHT , mythid)
70 write(msgbuf,'(a)')
71 &'// ======================================================='
72 call print_message( msgbuf, standardmessageunit,
73 & SQUEEZE_RIGHT , mythid)
74 write(msgbuf,'(a)')
75 &'// Calendar configuration >>> START <<<'
76 call print_message( msgbuf, standardmessageunit,
77 & SQUEEZE_RIGHT , mythid)
78 write(msgbuf,'(a)')
79 &'// ======================================================='
80 call print_message( msgbuf, standardmessageunit,
81 & SQUEEZE_RIGHT , mythid)
82 write(msgbuf,'(a)')
83 &' '
84 call print_message( msgbuf, standardmessageunit,
85 & SQUEEZE_RIGHT , mythid)
86 write(msgbuf,'(a,a)')
87 &'Calendar version: ',calendarversion
88 call print_message( msgbuf, standardmessageunit,
89 & SQUEEZE_RIGHT , mythid)
90 write(msgbuf,'(a)')
91 &' '
92 call print_message( msgbuf, standardmessageunit,
93 & SQUEEZE_RIGHT , mythid)
94
95 call WRITE_0D_RL( modelstart, INDEX_NONE,'startTime =',
96 &' /* Start time of the model integration [s] */')
97 call WRITE_0D_RL( modelend, INDEX_NONE,'endTime =',
98 &' /* End time of the model integration [s] */')
99 call WRITE_0D_RL( modelstep, INDEX_NONE,'deltatclock =',
100 &' /* Time interval for a model forward step [s] */')
101 call write_0d_l( usingGregorianCalendar, INDEX_NONE,
102 & 'usingGregorianCalendar =',
103 &' /* Calendar Type: Gregorian Calendar */')
104 call write_0d_l( usingJulianCalendar, INDEX_NONE,
105 & 'usingJulianCalendar =',
106 &' /* Calendar Type: Julian Calendar */')
107 call write_0d_l( usingModelCalendar, INDEX_NONE,
108 & 'usingModelCalendar =',
109 &' /* Calendar Type: Model Calendar */')
110 call write_0d_l( usingNoCalendar, INDEX_NONE,
111 & 'usingNoCalendar =',
112 &' /* Calendar Type: No Calendar */')
113 call write_0d_i( modelstartdate(1), INDEX_NONE,
114 & 'modelstartdate (YYYYMMDD) =',
115 &' /* Model start date YYYY-MM-DD */')
116 call write_0d_i( modelstartdate(2), INDEX_NONE,
117 & 'modelstartdate (HHMMSS) =',
118 &' /* Model start date HH-MM-SS */')
119 call write_0d_i( modelenddate(1), INDEX_NONE,
120 & 'modelenddate (YYYYMMDD) =',
121 &' /* Model end date YYYY-MM-DD */')
122 call write_0d_i( modelenddate(2), INDEX_NONE,
123 & 'modelenddate (HHMMSS) =',
124 &' /* Model end date HH-MM-SS */')
125 call write_0d_i( numcalyears, INDEX_NONE,
126 & 'intyears =',
127 &' /* Number of calendar years affected by the integration */')
128 call write_0d_i( numcalmonths, INDEX_NONE,
129 & 'intmonths =',
130 &' /* Number of calendar months affected by the integration */')
131 call write_0d_i( numcaldays, INDEX_NONE,
132 & 'intdays =',
133 &' /* Number of calendar days affected by the integration */')
134 call write_0d_i( modeliter0, INDEX_NONE,
135 & 'nIter0 =',
136 &' /* Base timestep number */')
137 call write_0d_i( modeliterend, INDEX_NONE,
138 & 'nEndIter =',
139 &' /* Final timestep number */')
140 call write_0d_i( modelintsteps, INDEX_NONE,
141 & 'nTimeSteps =',
142 &' /* Number of model timesteps */')
143 write(msgbuf,'(a)')
144 &' '
145 call print_message( msgbuf, standardmessageunit,
146 & SQUEEZE_RIGHT , mythid)
147 write(msgbuf,'(a)')
148 &'// ======================================================='
149 call print_message( msgbuf, standardmessageunit,
150 & SQUEEZE_RIGHT , mythid)
151 write(msgbuf,'(a)')
152 &'// Calendar configuration >>> END <<<'
153 call print_message( msgbuf, standardmessageunit,
154 & SQUEEZE_RIGHT , mythid)
155 write(msgbuf,'(a)')
156 &'// ======================================================='
157 call print_message( msgbuf, standardmessageunit,
158 & SQUEEZE_RIGHT , mythid)
159 write(msgbuf,'(a)')
160 &' '
161 call print_message( msgbuf, standardmessageunit,
162 & SQUEEZE_RIGHT , mythid)
163
164 return
165 end

  ViewVC Help
Powered by ViewVC 1.1.22