/[MITgcm]/MITgcm/pkg/diagnostics/diagnostics_write.F
ViewVC logotype

Contents of /MITgcm/pkg/diagnostics/diagnostics_write.F

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


Revision 1.7 - (show annotations) (download)
Tue Jul 6 03:55:53 2004 UTC (19 years, 10 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint54e_post, checkpoint55d_pre, checkpoint55j_post, checkpoint56b_post, checkpoint55h_post, checkpoint54b_post, checkpoint55b_post, checkpoint54d_post, checkpoint56c_post, checkpoint55, checkpoint57a_post, checkpoint54f_post, checkpoint55g_post, checkpoint55f_post, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, checkpoint55e_post, checkpoint55a_post, checkpoint54c_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.6: +10 -9 lines
 o prepare diagnostics for MNC/NetCDF output
   - add Nrphys to MNC
   - encode KDIAG within GDIAG
   - add use_mdsio and use_mnc flags to data.diagnostics
   - start converting diagnostics to Protex format
   - mdsio-based output for hs94.cs-32x32x5 is *identical*

1 C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/diagnostics_write.F,v 1.6 2004/05/05 00:39:21 edhill Exp $
2 C $Name: $
3
4 #include "DIAG_OPTIONS.h"
5
6 subroutine diagnostics_write (myThid, myIter)
7 C***********************************************************************
8 C Purpose
9 C -------
10 C Output sequence for the (multiple) diagnostics output files
11 C
12 C Arguments Description
13 C ----------------------
14 C myIter ..... Current Iteration Number
15 C myThid ..... Current Process(or)
16 C***********************************************************************
17 implicit none
18 #include "SIZE.h"
19 #include "diagnostics_SIZE.h"
20 #include "diagnostics.h"
21 #include "EEPARAMS.h"
22 #include "PARAMS.h"
23
24 integer myThid, myIter
25
26 c Local variables
27 c ===============
28 integer n
29
30 C***********************************************************************
31 C*** Check to see if its time for Diagnostic Output ***
32 C***********************************************************************
33 do n = 1,nlists
34 if ( myIter.ne.niter0) then
35 if ( mod(myIter,freq(n)).eq.0 ) then
36 call diagout(myThid,myIter,n)
37 call clrindx(myThid,n)
38 endif
39 endif
40 enddo
41
42 return
43 end

  ViewVC Help
Powered by ViewVC 1.1.22