/[MITgcm]/MITgcm/pkg/mnc/mnc_test_002.T
ViewVC logotype

Annotation of /MITgcm/pkg/mnc/mnc_test_002.T

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


Revision 1.4 - (hide annotations) (download) (as text)
Thu Feb 5 00:13:47 2004 UTC (20 years, 4 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, checkpoint52j_post, checkpoint52l_post, checkpoint52k_post, hrcube5, checkpoint52j_pre, hrcube_3
Changes since 1.3: +2 -2 lines
File MIME type: application/x-troff
 o getting closer to a usable MNC package through the "cw" layer:
   - numerous bug fixes
   - global attributes added
   - improved handling of the unlimited dimension
   - "cw" can handle variables with up to 7 dimensions
   - added list of pre-defined grid types

1 edhill 1.4 C $Header: /u/u3/gcmpack/MITgcm/pkg/mnc/mnc_test_002.T,v 1.3 2004/01/31 04:13:09 edhill Exp $
2 edhill 1.1 C $Name: $
3    
4     C Simple test program for MNC
5    
6     PROGRAM mnc_test_002
7    
8     implicit none
9     #include "MNC_OPTIONS.h"
10     #include "EEPARAMS.h"
11    
12     C Functions
13     integer ILNBLNK
14    
15     C Local Variables
16     integer i
17    
18     print*, '=== Starting Program: mnc_test_002 ==='
19    
20     CALL MNC_INIT()
21     CALL MNC_CW_INIT( 0,
22     & 20,16, 4,4, 1,1, 1,1, 13 )
23 edhill 1.3
24 edhill 1.4 CALL MNC_CW_ADD_VNAME(0, 'v_vel', 'V_xy_Hn__C__t', 4,5 )
25 edhill 1.3 CALL MNC_CW_ADD_VATTR_TEXT(0, 'v_vel', 1,
26     & 'long_name', 'meridional_velocity')
27     CALL MNC_CW_ADD_VATTR_TEXT(0, 'v_vel', 1,
28     & 'units', 'cm/s')
29     CALL MNC_CW_ADD_VATTR_INT(0, 'v_vel', 1,
30     & 'grid_type', -1 )
31     CALL MNC_CW_ADD_VATTR_DBL(0, 'v_vel', 1,
32     & 'MITgcm_grid_ver', 0.1D0 )
33 edhill 1.2
34     CALL MNC_CW_DUMP()
35 edhill 1.1
36     print*, '=== Ending Program: mnc_test_002 ==='
37    
38     END
39    
40     CEH3 ;;; Local Variables: ***
41     CEH3 ;;; mode:fortran ***
42     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22