1 |
edhill |
1.5 |
C $Header: /u/u3/gcmpack/MITgcm/pkg/mnc/mnc_test_002.T,v 1.4 2004/02/05 00:13:47 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 |
edhill |
1.5 |
integer i, myThid |
17 |
edhill |
1.1 |
|
18 |
edhill |
1.5 |
myThid = 0 |
19 |
edhill |
1.1 |
print*, '=== Starting Program: mnc_test_002 ===' |
20 |
|
|
|
21 |
edhill |
1.5 |
CALL MNC_INIT(myThid) |
22 |
|
|
CALL MNC_CW_INIT(20,16, 4,4, 1,1, 1,1, 13, myThid) |
23 |
edhill |
1.2 |
|
24 |
edhill |
1.5 |
CALL MNC_CW_ADD_VNAME('v_vel', 'V_xy_Hn__C__t', 4,5, myThid ) |
25 |
|
|
CALL MNC_CW_ADD_VATTR_TEXT('v_vel', 1, |
26 |
|
|
& 'long_name', 'meridional_velocity', myThid) |
27 |
|
|
CALL MNC_CW_ADD_VATTR_TEXT('v_vel', 1, |
28 |
|
|
& 'units', 'cm/s', myThid) |
29 |
|
|
CALL MNC_CW_ADD_VATTR_INT('v_vel', 1, |
30 |
|
|
& 'grid_type', -1, myThid ) |
31 |
|
|
CALL MNC_CW_ADD_VATTR_DBL('v_vel', 1, |
32 |
|
|
& 'MITgcm_grid_ver', 0.1D0, myThid ) |
33 |
|
|
|
34 |
|
|
CALL MNC_CW_DUMP(myThid) |
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: *** |