/[MITgcm]/MITgcm/pkg/land/land_diagnostics_init.F
ViewVC logotype

Contents of /MITgcm/pkg/land/land_diagnostics_init.F

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


Revision 1.2 - (show annotations) (download)
Mon May 23 02:30:48 2005 UTC (19 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint60, checkpoint61, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57l_post
Changes since 1.1: +9 -9 lines
change parser field gdiag_10 from 1 to "g" (for masking in Statistics diag.)

1 C $Header: /u/gcmpack/MITgcm/pkg/land/land_diagnostics_init.F,v 1.1 2005/02/14 00:41:07 jmc Exp $
2 C $Name: $
3
4 #include "LAND_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: LAND_DIAGNOSTICS_INIT
8 C !INTERFACE:
9 SUBROUTINE LAND_DIAGNOSTICS_INIT( myThid )
10
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | SUBROUTINE LAND_DIAGNOSTICS_INIT
14 C | o Routine to initialize list of all available diagnostics
15 C | for LAND package
16 C *==========================================================*
17 C \ev
18 C !USES:
19 IMPLICIT NONE
20
21 C === Global variables ===
22 #include "EEPARAMS.h"
23 c #include "SIZE.h"
24 c #include "PARAMS.h"
25 c #include "LAND_PARAMS.h"
26
27 C !INPUT/OUTPUT PARAMETERS:
28 C === Routine arguments ===
29 C myThid :: my thread Id number
30 INTEGER myThid
31 CEOP
32
33 #ifdef ALLOW_DIAGNOSTICS
34 C !LOCAL VARIABLES:
35 C === Local variables ===
36 C diagNum :: diagnostics number in the (long) list of available diag.
37 C diagName :: local short name (8c) of a diagnostics
38 C diagCode :: local parser field with characteristics of the diagnostics
39 C cf head of S/R DIAGNOSTICS_INIT_EARLY or DIAGNOSTICS_MAIN_INIT
40 C diagUnits :: local string (16c): physical units of a diagnostic field
41 C diagTitle :: local string (80c): description of field in diagnostic
42 INTEGER diagNum
43 CHARACTER*8 diagName
44 CHARACTER*16 diagCode
45 CHARACTER*16 diagUnits
46 CHARACTER*(80) diagTitle
47
48 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
49
50 c IF ( useDiagnostics ) THEN
51
52 C-- Land state variables:
53 diagName = 'GrdSurfT'
54 diagTitle = 'Surface Temperature over land'
55 diagUnits = 'degC '
56 diagCode = 'SM Lg '
57 CALL DIAGNOSTICS_ADD2LIST( diagNum,
58 I diagName, diagCode, diagUnits, diagTitle, myThid )
59
60 diagName = 'GrdTemp '
61 diagTitle = 'Ground Temperature at each level'
62 diagUnits = 'degC '
63 diagCode = 'SM MG '
64 CALL DIAGNOSTICS_ADD2LIST( diagNum,
65 I diagName, diagCode, diagUnits, diagTitle, myThid )
66
67 diagName = 'GrdEnth '
68 diagTitle = 'Ground Enthalpy at each level'
69 diagUnits = 'J/m3 '
70 diagCode = 'SM MG '
71 CALL DIAGNOSTICS_ADD2LIST( diagNum,
72 I diagName, diagCode, diagUnits, diagTitle, myThid )
73
74 diagName = 'GrdWater'
75 diagTitle =
76 & 'Ground Water (vs Field Capacity) Fraction at each level'
77 diagUnits = '0-1 '
78 diagCode = 'SM P MG '
79 CALL DIAGNOSTICS_ADD2LIST( diagNum,
80 I diagName, diagCode, diagUnits, diagTitle, myThid )
81
82 c cdiag(160) = 'SNOW '
83 c tdiag(160) = 'Snow Depth (mm water equivalent)'
84 c udiag(160) = 'mm water equiv '
85 c gdiag(160) = 'SM L1 '
86 c---
87 diagName = 'LdSnowH '
88 diagTitle = 'Snow Thickness over land'
89 diagUnits = 'm '
90 diagCode = 'SM P Lg '
91 CALL DIAGNOSTICS_ADD2LIST( diagNum,
92 I diagName, diagCode, diagUnits, diagTitle, myThid )
93
94 diagName = 'LdSnwAge'
95 diagTitle = 'Snow Age over land'
96 diagUnits = 's '
97 diagCode = 'SM P Lg '
98 CALL DIAGNOSTICS_ADD2LIST( diagNum,
99 I diagName, diagCode, diagUnits, diagTitle, myThid )
100
101 C-- Fluxes:
102
103 diagName = 'RUNOFF '
104 diagTitle = 'Run-Off per surface unit'
105 diagUnits = 'm/s '
106 diagCode = 'SM L1 '
107 CALL DIAGNOSTICS_ADD2LIST( diagNum,
108 I diagName, diagCode, diagUnits, diagTitle, myThid )
109
110 diagName = 'EnRunOff'
111 diagTitle = 'Energy flux associated with run-Off'
112 diagUnits = 'W/m^2 '
113 diagCode = 'SM L1 '
114 CALL DIAGNOSTICS_ADD2LIST( diagNum,
115 I diagName, diagCode, diagUnits, diagTitle, myThid )
116
117 diagName = 'landHFlx'
118 diagTitle = 'net surface downward Heat flux over land'
119 diagUnits = 'W/m^2 '
120 diagCode = 'SM Lg '
121 CALL DIAGNOSTICS_ADD2LIST( diagNum,
122 I diagName, diagCode, diagUnits, diagTitle, myThid )
123
124 diagName = 'landPmE '
125 diagTitle = 'Precipitation minus Evaporation over land'
126 diagUnits = 'kg/m^2/s '
127 diagCode = 'SM Lg '
128 CALL DIAGNOSTICS_ADD2LIST( diagNum,
129 I diagName, diagCode, diagUnits, diagTitle, myThid )
130
131 diagName = 'ldEnFxPr'
132 diagTitle =
133 & 'Energy flux (over land) associated with Precip (snow,rain)'
134 diagUnits = 'W/m^2 '
135 diagCode = 'SM Lg '
136 CALL DIAGNOSTICS_ADD2LIST( diagNum,
137 I diagName, diagCode, diagUnits, diagTitle, myThid )
138
139 c ENDIF
140
141 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
142
143 #endif /* ALLOW_DIAGNOSTICS */
144
145 RETURN
146 END

  ViewVC Help
Powered by ViewVC 1.1.22