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

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

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


Revision 1.7 - (hide 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 edhill 1.7 C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/diagnostics_write.F,v 1.6 2004/05/05 00:39:21 edhill Exp $
2 edhill 1.6 C $Name: $
3    
4 edhill 1.7 #include "DIAG_OPTIONS.h"
5    
6 molod 1.2 subroutine diagnostics_write (myThid, myIter)
7 molod 1.1 C***********************************************************************
8     C Purpose
9     C -------
10 molod 1.2 C Output sequence for the (multiple) diagnostics output files
11 molod 1.1 C
12     C Arguments Description
13     C ----------------------
14 molod 1.2 C myIter ..... Current Iteration Number
15     C myThid ..... Current Process(or)
16 molod 1.1 C***********************************************************************
17 molod 1.2 implicit none
18 molod 1.1 #include "SIZE.h"
19     #include "diagnostics_SIZE.h"
20     #include "diagnostics.h"
21 molod 1.4 #include "EEPARAMS.h"
22     #include "PARAMS.h"
23 molod 1.1
24 molod 1.2 integer myThid, myIter
25 molod 1.1
26     c Local variables
27     c ===============
28 molod 1.2 integer n
29 molod 1.1
30     C***********************************************************************
31 molod 1.2 C*** Check to see if its time for Diagnostic Output ***
32 molod 1.1 C***********************************************************************
33 edhill 1.7 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 molod 1.1 enddo
41    
42     return
43     end

  ViewVC Help
Powered by ViewVC 1.1.22