/[MITgcm]/MITgcm/pkg/ocn_compon_interf/CPL_TAVE.h
ViewVC logotype

Contents of /MITgcm/pkg/ocn_compon_interf/CPL_TAVE.h

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


Revision 1.1 - (show annotations) (download)
Sun Jan 3 19:26:54 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint65r, checkpoint65p, checkpoint65q, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
File MIME type: text/plain
- rename: CPL_DIAGS.h --> CPL_TAVE.h
- use simpler (no level index) cumulative-time counter: CPL_timeAve(bi,bj)
- cumulate fields only if doing time-ave output (cpl_taveFreq > 0)

1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/CPL_DIAGS.h,v 1.5 2007/10/01 15:17:55 jmc Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: LAND_TAVE.h
6 C !INTERFACE:
7 C include "LAND_TAVE.h"
8 C !DESCRIPTION:
9 C \bv
10 C *==========================================================*
11 C | CPL_TAVE.h
12 C | o Header for CPL time-average diagnostics
13 C *==========================================================*
14 C | Declares global arrays used for holding/accumulating
15 C | diagnostic output from CPL.
16 C *==========================================================*
17 C \ev
18 CEOP
19
20 #ifdef COMPONENT_MODULE
21 #ifdef ALLOW_TIMEAVE
22
23 C-- COMMON /CPL_TAVE_VARS/ Time average CPL-variables
24 C CPL_timeAve :: Cumulated time [s]
25 C SLPtave :: Atmospheric Sea-Level pressure [Pa=N/m2]
26 C HFtave :: Net surface heat-flux [W/m2, +=upward]
27 C QSWtave :: Net shortwave heat flux [W/m2, +=upward]
28 C QLTtave :: Latent heat flux [W/m2, +=upward]
29 C QSNtave :: Sensible heat flux [W/m2, +=upward]
30 C QLWtave :: Net longwave heat flux [W/m2, +=upward]
31 C UGtave :: Wind speed @ ground, zonal component [m/s]
32 C VGtave :: Wind speed @ ground, merid. component [m/s]
33 C TXtave :: Surface stress [Pa=N/m2], zonal compon.
34 C TYtave :: Surface stress [Pa=N/m2], merid compon.
35 C FWtave :: Net fresh water flux (=E-P-R) [kg/m2/s, +=upward]
36 C SFxtave :: Salt flux (from sea-ice) [psu.kg/m2/s, +=upward]
37 C SICtave :: Sea-ice mass [kg/m2]
38 C MXLtave :: Ocean mixed-layer depth [m]
39 C SSTtave :: Ocean surface temperature [oC]
40 C SSStave :: Ocean surface salinity [psu]
41 C vSqtave :: Ocean surface velocity square [m2/s2]
42 C aC02tave :: CO2 level in atm [parts by volume]
43 C sWSpdtave :: Surface wind speed [m/s]
44 C iceftave :: Fraction of ocean covered by seaice
45 C fCO2tave :: Flux of CO2 from ocean->atm [mol/m2/s]
46 COMMON /CPL_TAVE_VARS/
47 & CPL_timeAve,
48 & SLPtave, HFtave, QSWtave,
49 c & QLTtave, QSNtave, QLWtave,
50 c & UGtave, VGtave,
51 & TXtave, TYtave,
52 & FWtave, SFxtave, SICtave,
53 & MXLtave, SSTtave, SSStave, vSqtave,
54 & aCO2tave, sWSpdtave,
55 & iceftave, fCO2tave
56
57 _RL CPL_timeAve(nSx,nSy)
58 _RL SLPtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
59 _RL HFtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
60 _RL QSWtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
61 c _RL QLTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
62 c _RL QSNtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
63 c _RL QLWtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
64 c _RL UGtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
65 c _RL VGtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
66 _RL TXtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
67 _RL TYtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
68 _RL FWtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
69 _RL SFxtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
70 _RL SICtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
71 _RL MXLtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
72 _RL SSTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
73 _RL SSStave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
74 _RL vSqtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
75 _RL aCO2tave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
76 _RL sWSpdtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
77 _RL iceftave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
78 _RL fCO2tave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
79
80 #endif /* ALLOW_TIMEAVE */
81 #endif /* COMPONENT_MODULE */
82
83 CEH3 ;;; Local Variables: ***
84 CEH3 ;;; mode:fortran ***
85 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22