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

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

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


Revision 1.3 - (show annotations) (download) (as text)
Sat Jan 31 04:13:09 2004 UTC (20 years, 4 months ago) by edhill
Branch: MAIN
Changes since 1.2: +11 -1 lines
File MIME type: application/x-troff
 o more work on the file-independent layer ("wrapper")

1 C $Header: /u/u3/gcmpack/MITgcm/pkg/mnc/mnc_test_002.T,v 1.2 2004/01/29 05:30:37 edhill Exp $
2 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
24 CALL MNC_CW_ADD_VNAME(0, 'v_vel', 'V_xy_Hn__C__t')
25 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
34 CALL MNC_CW_DUMP()
35
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