/[MITgcm]/MITgcm_contrib/verification_other/global_oce_cs32/code/profiles.h
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/global_oce_cs32/code/profiles.h

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


Revision 1.5 - (hide annotations) (download)
Mon Jul 20 19:37:39 2015 UTC (11 years, 3 months ago) by gforget
Branch: MAIN
Changes since 1.4: +6 -7 lines
File MIME type: text/plain
- bring profiles.h up to date.

1 gforget 1.5 C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_cs32/code/profiles.h,v 1.4 2015/03/27 12:22:37 gforget Exp $
2 gforget 1.1 C $Name: $
3    
4     C============================================================
5     C NOBSMAX : maximal number of profiles
6     C============================================================
7     INTEGER NOBSGLOB
8 gforget 1.3 PARAMETER ( NOBSGLOB = 500 )
9 gforget 1.1 INTEGER NFILESPROFMAX
10     PARAMETER ( NFILESPROFMAX=20 )
11     INTEGER NVARMAX
12     PARAMETER ( NVARMAX=6 )
13     INTEGER NLEVELMAX
14 gforget 1.5 PARAMETER ( NLEVELMAX=110 )
15 gforget 1.1 INTEGER NUM_INTERP_POINTS
16     PARAMETER (NUM_INTERP_POINTS = 1)
17    
18     C===========================================================
19     C variables
20     C===========================================================
21     _RL prof_time(NFILESPROFMAX,NOBSGLOB,nsx,nsy),
22     & prof_lon(NFILESPROFMAX,NOBSGLOB,nsx,nsy),
23     & prof_lat(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
24    
25     #ifdef ALLOW_PROFILES_GENERICGRID
26     _RL prof_interp_xC11(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
27     _RL prof_interp_yC11(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
28     _RL prof_interp_xCNINJ(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
29     _RL prof_interp_yCNINJ(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
30     _RL prof_interp_weights(NFILESPROFMAX,NOBSGLOB,
31     & NUM_INTERP_POINTS,nsx,nsy)
32     integer prof_interp_i(NFILESPROFMAX,NOBSGLOB,
33     & NUM_INTERP_POINTS,nsx,nsy)
34     integer prof_interp_j(NFILESPROFMAX,NOBSGLOB,
35     & NUM_INTERP_POINTS,nsx,nsy)
36     #endif
37    
38     integer prof_ind_glob(NFILESPROFMAX,NOBSGLOB,nsx,nsy)
39     _RL prof_depth(NFILESPROFMAX,NLEVELMAX,nsx,nsy)
40     _RL prof_mask1D_cur(NLEVELMAX,nsx,nsy)
41     _RL prof_etan_mean(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
42     _RL prof_theta_mean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
43     _RL prof_salt_mean(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
44    
45     integer profNo(NFILESPROFMAX,nsx,nsy)
46     integer profDepthNo(NFILESPROFMAX,nsx,nsy)
47    
48     logical vec_quantities(NFILESPROFMAX,NVARMAX,nsx,nsy)
49     integer fidforward(NFILESPROFMAX,nsx,nsy),
50     & fidadjoint(NFILESPROFMAX,nsx,nsy),
51     & fidtangent(NFILESPROFMAX,nsx,nsy)
52     integer fiddata(NFILESPROFMAX,nsx,nsy)
53     character*(8) prof_names(NVARMAX)
54 gforget 1.5 character*(8) prof_namesmod(NVARMAX)
55 gforget 1.1 character*(12) prof_namesmask(NVARMAX)
56     character*(14) prof_namesweight(NVARMAX)
57    
58     _RL profiles_data_buff(NLEVELMAX,1000,NVARMAX,nsx,nsy)
59     _RL profiles_weight_buff(NLEVELMAX,1000,NVARMAX,nsx,nsy)
60     integer profiles_minind_buff(nsx,nsy)
61     integer profiles_maxind_buff(nsx,nsy)
62     integer profiles_curfile_buff(nsx,nsy)
63    
64     logical profilesDoNcOutput, profilesDoGenGrid
65     integer prof_num_var_tot(NFILESPROFMAX,nsx,nsy)
66     integer prof_num_var_cur(NFILESPROFMAX,NVARMAX,nsx,nsy)
67    
68     C===========================================================
69     C Common Blocks
70     C===========================================================
71    
72     COMMON /profiles_r/ prof_time, prof_lon, prof_lat,
73     & prof_depth, prof_mask1D_cur,
74 gforget 1.5 & prof_etan_mean, prof_theta_mean, prof_salt_mean
75 gforget 1.1 COMMON /profiles_i/ prof_ind_glob, profNo, profDepthNo,
76     & fidforward, fidadjoint, fidtangent, fiddata,
77     & prof_num_var_tot, prof_num_var_cur
78     COMMON /profiles_l/ vec_quantities, profilesDoNcOutput,
79     & profilesDoGenGrid
80 gforget 1.5 COMMON /profiles_c/ prof_names, prof_namesmask,
81     & prof_namesweight, prof_namesmod
82 gforget 1.1
83     #ifdef ALLOW_PROFILES_GENERICGRID
84     COMMON /profiles_GenericGrid_r/ prof_interp_weights,
85     & prof_interp_xC11, prof_interp_yC11,
86     & prof_interp_xCNINJ, prof_interp_yCNINJ
87     COMMON /profiles_GenericGrid_i/
88     & prof_interp_i, prof_interp_j
89     #endif
90    
91     COMMON /profiles_buff_r/ profiles_data_buff, profiles_weight_buff
92     COMMON /profiles_buff_i/
93     & profiles_minind_buff, profiles_maxind_buff, profiles_curfile_buff
94    
95    
96     COMMON /profiles_cost_r/
97     & objf_profiles,
98     & num_profiles,
99     & mult_profiles
100     _RL objf_profiles(NFILESPROFMAX,NVARMAX,nsx,nsy)
101     _RL num_profiles(NFILESPROFMAX,NVARMAX,nsx,nsy)
102     _RL mult_profiles(NFILESPROFMAX,NVARMAX)
103    
104     COMMON /profiles_cost_c/
105     & profilesDir, profilesfiles
106     character*(MAX_LEN_FNAM) profilesDir
107 gforget 1.3 character*(MAX_LEN_FNAM) profilesfiles(NFILESPROFMAX)
108 gforget 1.1
109     COMMON /profiles_ctrl_dummy/
110     & profiles_dummy
111     _RL profiles_dummy(NFILESPROFMAX,NVARMAX,nsx,nsy)
112    
113    

  ViewVC Help
Powered by ViewVC 1.1.22