1 | !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
2 | !--------------- SUBROUTINE READ_COSP_OUTPUT_NL ------------------------- |
---|
3 | !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
4 | SUBROUTINE READ_COSP_OUTPUT_NL(cosp_nl,cfg) |
---|
5 | USE MOD_COSP_CONSTANTS |
---|
6 | USE MOD_COSP_TYPES |
---|
7 | USE mod_phys_lmdz_para |
---|
8 | character(len=*),intent(in) :: cosp_nl |
---|
9 | type(cosp_config),intent(out) :: cfg |
---|
10 | ! Local variables |
---|
11 | integer :: i |
---|
12 | |
---|
13 | !! AI |
---|
14 | ! logical, save :: Lradar_sim,Llidar_sim,Lisccp_sim,Lmisr_sim,Lrttov_sim, & |
---|
15 | ! Lalbisccp,Latb532,Lboxptopisccp,Lboxtauisccp,Lcfad_dbze94, & |
---|
16 | ! Lcfad_lidarsr532,Lclcalipso2,Lclcalipso,Lclhcalipso,Lclisccp2,Lcllcalipso, & |
---|
17 | ! Lclmcalipso,Lcltcalipso,Lcltlidarradar,Lctpisccp,Ldbze94,Ltauisccp,Ltclisccp, & |
---|
18 | ! Llongitude,Llatitude,Lparasol_refl,LclMISR,Lmeantbisccp,Lmeantbclrisccp, & |
---|
19 | ! Lfrac_out,Lbeta_mol532,Ltbrttov |
---|
20 | |
---|
21 | ! namelist/COSP_OUTPUT/Lradar_sim,Llidar_sim,Lisccp_sim,Lmisr_sim,Lrttov_sim, & |
---|
22 | ! Lalbisccp,Latb532,Lboxptopisccp,Lboxtauisccp,Lcfad_dbze94, & |
---|
23 | ! Lcfad_lidarsr532,Lclcalipso2,Lclcalipso,Lclhcalipso,Lclisccp2, & |
---|
24 | ! Lcllcalipso,Lclmcalipso,Lcltcalipso,Lcltlidarradar,Lctpisccp,Ldbze94,Ltauisccp, & |
---|
25 | ! Ltclisccp,Llongitude,Llatitude,Lparasol_refl,LclMISR,Lmeantbisccp,Lmeantbclrisccp, & |
---|
26 | ! Lfrac_out,Lbeta_mol532,Ltbrttov |
---|
27 | !! |
---|
28 | |
---|
29 | logical, save :: Lradar_sim,Llidar_sim,Lisccp_sim,Lmodis_sim,Lmisr_sim,Lrttov_sim, & |
---|
30 | Lalbisccp,Latb532,Lboxptopisccp,Lboxtauisccp,LcfadDbze94, & |
---|
31 | LcfadLidarsr532,Lclcalipso2,Lclcalipso,Lclhcalipso,Lclisccp,Lcllcalipso, & |
---|
32 | Lclmcalipso,Lcltcalipso,Lcltlidarradar,Lpctisccp,Ldbze94,Ltauisccp,Lcltisccp, & |
---|
33 | Lclcalipsoliq,Lclcalipsoice,Lclcalipsoun, & |
---|
34 | Lclcalipsotmp,Lclcalipsotmpliq,Lclcalipsotmpice,Lclcalipsotmpun, & |
---|
35 | Lcltcalipsoliq,Lcltcalipsoice,Lcltcalipsoun, & |
---|
36 | Lclhcalipsoliq,Lclhcalipsoice,Lclhcalipsoun, & |
---|
37 | Lclmcalipsoliq,Lclmcalipsoice,Lclmcalipsoun, & |
---|
38 | Lcllcalipsoliq,Lcllcalipsoice,Lcllcalipsoun, & |
---|
39 | Ltoffset,LparasolRefl,LclMISR,Lmeantbisccp,Lmeantbclrisccp, & |
---|
40 | Lfracout,LlidarBetaMol532,Ltbrttov, & |
---|
41 | Lcltmodis,Lclwmodis,Lclimodis,Lclhmodis,Lclmmodis,Lcllmodis,Ltautmodis,Ltauwmodis,Ltauimodis,Ltautlogmodis, & |
---|
42 | Ltauwlogmodis,Ltauilogmodis,Lreffclwmodis,Lreffclimodis,Lpctmodis,Llwpmodis, & |
---|
43 | Liwpmodis,Lclmodis,Lcrimodis,Lcrlmodis,Lclopaquecalipso,Lclthincalipso, & !OPAQ (2) |
---|
44 | Lclzopaquecalipso,Lclcalipsoopaque,Lclcalipsothin,Lclcalipsozopaque,Lclcalipsoopacity, & !OPAQ (5) |
---|
45 | LprofSR,Lproftemp !TIBO (2) |
---|
46 | |
---|
47 | namelist/COSP_OUTPUT/Lradar_sim,Llidar_sim,Lisccp_sim,Lmodis_sim,Lmisr_sim,Lrttov_sim, & |
---|
48 | Lalbisccp,Latb532,Lboxptopisccp,Lboxtauisccp,LcfadDbze94, & |
---|
49 | LcfadLidarsr532,Lclcalipso2,Lclcalipso,Lclhcalipso,Lclisccp, & |
---|
50 | Lcllcalipso,Lclmcalipso,Lcltcalipso,Lcltlidarradar,Lpctisccp,Ldbze94,Ltauisccp, & |
---|
51 | Lclcalipsoliq,Lclcalipsoice,Lclcalipsoun, & |
---|
52 | Lclcalipsotmp,Lclcalipsotmpliq,Lclcalipsotmpice,Lclcalipsotmpun, & |
---|
53 | Lcltcalipsoliq,Lcltcalipsoice,Lcltcalipsoun, & |
---|
54 | Lclhcalipsoliq,Lclhcalipsoice,Lclhcalipsoun, & |
---|
55 | Lclmcalipsoliq,Lclmcalipsoice,Lclmcalipsoun, & |
---|
56 | Lcllcalipsoliq,Lcllcalipsoice,Lcllcalipsoun, & |
---|
57 | Lcltisccp,Ltoffset,LparasolRefl,LclMISR,Lmeantbisccp,Lmeantbclrisccp, & |
---|
58 | Lfracout,LlidarBetaMol532,Ltbrttov, & |
---|
59 | Lcltmodis,Lclwmodis,Lclimodis,Lclhmodis,Lclmmodis,Lcllmodis,Ltautmodis,Ltauwmodis,Ltauimodis,Ltautlogmodis, & |
---|
60 | Ltauwlogmodis,Ltauilogmodis,Lreffclwmodis,Lreffclimodis,Lpctmodis,Llwpmodis, & |
---|
61 | Liwpmodis,Lclmodis,Lcrimodis,Lcrlmodis,Lclopaquecalipso,Lclthincalipso, & !OPAQ (2) |
---|
62 | Lclzopaquecalipso,Lclcalipsoopaque,Lclcalipsothin,Lclcalipsozopaque,Lclcalipsoopacity, & !OPAQ (5) |
---|
63 | LprofSR,Lproftemp !TIBO (2) |
---|
64 | |
---|
65 | do i=1,N_OUT_LIST |
---|
66 | cfg%out_list(i)='' |
---|
67 | enddo |
---|
68 | |
---|
69 | IF (is_master) THEN |
---|
70 | open(10,file=cosp_nl,status='old') |
---|
71 | read(10,nml=cosp_output) |
---|
72 | close(10) |
---|
73 | ENDIF |
---|
74 | |
---|
75 | CALL bcast(Lradar_sim) |
---|
76 | CALL bcast(Llidar_sim) |
---|
77 | CALL bcast(Lisccp_sim) |
---|
78 | CALL bcast(Lmodis_sim) |
---|
79 | CALL bcast(Lmisr_sim) |
---|
80 | CALL bcast(Lrttov_sim) |
---|
81 | CALL bcast(Lalbisccp) |
---|
82 | CALL bcast(Latb532) |
---|
83 | CALL bcast(Lboxptopisccp) |
---|
84 | CALL bcast(Lboxtauisccp) |
---|
85 | CALL bcast(Lcfad_dbze94) |
---|
86 | CALL bcast(Lcfad_lidarsr532) |
---|
87 | CALL bcast(Lclcalipso2) |
---|
88 | CALL bcast(Lclcalipso) |
---|
89 | CALL bcast(Lclhcalipso) |
---|
90 | CALL bcast(Lclcalipsoliq) |
---|
91 | CALL bcast(Lclcalipsoice) |
---|
92 | CALL bcast(Lclcalipsoun) |
---|
93 | CALL bcast(Lclcalipsotmp) |
---|
94 | CALL bcast(Lclcalipsotmpliq) |
---|
95 | CALL bcast(Lclcalipsotmpice) |
---|
96 | CALL bcast(Lclcalipsotmpun) |
---|
97 | CALL bcast(Lcltcalipsoliq) |
---|
98 | CALL bcast(Lcltcalipsoice) |
---|
99 | CALL bcast(Lcltcalipsoun) |
---|
100 | CALL bcast(Lclhcalipsoliq) |
---|
101 | CALL bcast(Lclhcalipsoice) |
---|
102 | CALL bcast(Lclhcalipsoun) |
---|
103 | CALL bcast(Lclmcalipsoliq) |
---|
104 | CALL bcast(Lclmcalipsoice) |
---|
105 | CALL bcast(Lclmcalipsoun) |
---|
106 | CALL bcast(Lcllcalipsoliq) |
---|
107 | CALL bcast(Lcllcalipsoice) |
---|
108 | CALL bcast(Lcllcalipsoun) |
---|
109 | CALL bcast(Lclisccp2) |
---|
110 | CALL bcast(Lcllcalipso) |
---|
111 | CALL bcast(Lclmcalipso) |
---|
112 | CALL bcast(Lcltcalipso) |
---|
113 | CALL bcast(Lcltlidarradar) |
---|
114 | CALL bcast(Lctpisccp) |
---|
115 | CALL bcast(Ldbze94) |
---|
116 | CALL bcast(Ltauisccp) |
---|
117 | CALL bcast(Lcltisccp) |
---|
118 | CALL bcast(Lparasol_refl) |
---|
119 | CALL bcast(LclMISR) |
---|
120 | CALL bcast(Lmeantbisccp) |
---|
121 | CALL bcast(Lmeantbclrisccp) |
---|
122 | CALL bcast(Lfrac_out) |
---|
123 | CALL bcast(Lbeta_mol532) |
---|
124 | CALL bcast(Lcltmodis) |
---|
125 | CALL bcast(Lclwmodis) |
---|
126 | CALL bcast(Lclimodis) |
---|
127 | CALL bcast(Lclhmodis) |
---|
128 | CALL bcast(Lclmmodis) |
---|
129 | CALL bcast(Lcllmodis) |
---|
130 | CALL bcast(Ltautmodis) |
---|
131 | CALL bcast(Ltauwmodis) |
---|
132 | CALL bcast(Ltauimodis) |
---|
133 | CALL bcast(Ltautlogmodis) |
---|
134 | CALL bcast(Ltauwlogmodis) |
---|
135 | CALL bcast(Ltauilogmodis) |
---|
136 | CALL bcast(Lreffclwmodis) |
---|
137 | CALL bcast(Lreffclimodis) |
---|
138 | CALL bcast(Lpctmodis) |
---|
139 | CALL bcast(Llwpmodis) |
---|
140 | CALL bcast(Liwpmodis) |
---|
141 | CALL bcast(Lclmodis) |
---|
142 | CALL bcast(Ltbrttov) |
---|
143 | CALL bcast(Lcrimodis) |
---|
144 | CALL bcast(Lcrlmodis) |
---|
145 | CALL bcast(Lclopaquecalipso) !OPAQ |
---|
146 | CALL bcast(Lclthincalipso) !OPAQ |
---|
147 | CALL bcast(Lclzopaquecalipso) !OPAQ |
---|
148 | CALL bcast(Lclcalipsoopaque) !OPAQ |
---|
149 | CALL bcast(Lclcalipsothin) !OPAQ |
---|
150 | CALL bcast(Lclcalipsozopaque) !OPAQ |
---|
151 | CALL bcast(Lclcalipsoopacity) !OPAQ |
---|
152 | CALL bcast(LprofSR) !TIBO |
---|
153 | CALL bcast(Lproftemp) !TIBO |
---|
154 | |
---|
155 | !$OMP BARRIER |
---|
156 | |
---|
157 | ! print*,' Cles sorties cosp :' |
---|
158 | ! print*,' Lradar_sim,Llidar_sim,Lisccp_sim,Lmisr_sim,Lrttov_sim', & |
---|
159 | ! Lradar_sim,Llidar_sim,Lisccp_sim,Lmisr_sim,Lrttov_sim |
---|
160 | |
---|
161 | ! Deal with dependencies |
---|
162 | if (.not.Lradar_sim) then |
---|
163 | Lcfad_dbze94 = .false. |
---|
164 | Lclcalipso2 = .false. |
---|
165 | Lcltlidarradar = .false. |
---|
166 | Ldbze94 = .false. |
---|
167 | endif |
---|
168 | if (.not.Llidar_sim) then |
---|
169 | Latb532 = .false. |
---|
170 | Lcfad_lidarsr532 = .false. |
---|
171 | Lclcalipso2 = .false. |
---|
172 | Lclcalipso = .false. |
---|
173 | Lclhcalipso = .false. |
---|
174 | Lcllcalipso = .false. |
---|
175 | Lclmcalipso = .false. |
---|
176 | Lcltcalipso = .false. |
---|
177 | Lcltlidarradar = .false. |
---|
178 | Lparasol_refl = .false. |
---|
179 | Lbeta_mol532 = .false. |
---|
180 | !! AI |
---|
181 | Lclcalipsoliq = .false. |
---|
182 | Lclcalipsoice = .false. |
---|
183 | Lclcalipsoun = .false. |
---|
184 | Lclcalipsotmp = .false. |
---|
185 | Lclcalipsotmpun = .false. |
---|
186 | Lclcalipsotmpliq = .false. |
---|
187 | Lclcalipsotmpice = .false. |
---|
188 | Lclhcalipsoliq = .false. |
---|
189 | Lcllcalipsoliq = .false. |
---|
190 | Lclmcalipsoliq = .false. |
---|
191 | Lcltcalipsoliq = .false. |
---|
192 | Lclhcalipsoice = .false. |
---|
193 | Lcllcalipsoice = .false. |
---|
194 | Lclmcalipsoice = .false. |
---|
195 | Lcltcalipsoice = .false. |
---|
196 | Lclhcalipsoun = .false. |
---|
197 | Lcllcalipsoun = .false. |
---|
198 | Lclmcalipsoun = .false. |
---|
199 | Lcltcalipsoun = .false. |
---|
200 | Lclopaquecalipso = .false. !OPAQ |
---|
201 | Lclthincalipso = .false. !OPAQ |
---|
202 | Lclzopaquecalipso = .false. !OPAQ |
---|
203 | Lclcalipsoopaque = .false. !OPAQ |
---|
204 | Lclcalipsothin = .false. !OPAQ |
---|
205 | Lclcalipsozopaque = .false. !OPAQ |
---|
206 | Lclcalipsoopacity = .false. !OPAQ |
---|
207 | LprofSR = .false. !TIBO |
---|
208 | Lproftemp = .false. !TIBO |
---|
209 | endif |
---|
210 | |
---|
211 | if (.not.Lisccp_sim) then |
---|
212 | Lalbisccp = .false. |
---|
213 | Lboxptopisccp = .false. |
---|
214 | Lboxtauisccp = .false. |
---|
215 | Lclisccp2 = .false. |
---|
216 | Lctpisccp = .false. |
---|
217 | Ltauisccp = .false. |
---|
218 | Ltclisccp = .false. |
---|
219 | Lmeantbisccp = .false. |
---|
220 | Lmeantbclrisccp = .false. |
---|
221 | endif |
---|
222 | if (.not.Lmisr_sim) then |
---|
223 | LclMISR = .false. |
---|
224 | endif |
---|
225 | if (.not.Lrttov_sim) then |
---|
226 | Ltbrttov = .false. |
---|
227 | endif |
---|
228 | if ((.not.Lradar_sim).and.(.not.Llidar_sim).and. & |
---|
229 | (.not.Lisccp_sim).and.(.not.Lmisr_sim)) then |
---|
230 | Lfrac_out = .false. |
---|
231 | endif |
---|
232 | if (.not.Lmodis_sim) then |
---|
233 | Lcltmodis=.false. |
---|
234 | Lclwmodis=.false. |
---|
235 | Lclimodis=.false. |
---|
236 | Lclhmodis=.false. |
---|
237 | Lclmmodis=.false. |
---|
238 | Lcllmodis=.false. |
---|
239 | Ltautmodis=.false. |
---|
240 | Ltauwmodis=.false. |
---|
241 | Ltauimodis=.false. |
---|
242 | Ltautlogmodis=.false. |
---|
243 | Ltauwlogmodis=.false. |
---|
244 | Ltauilogmodis=.false. |
---|
245 | Lreffclwmodis=.false. |
---|
246 | Lreffclimodis=.false. |
---|
247 | Lpctmodis=.false. |
---|
248 | Llwpmodis=.false. |
---|
249 | Liwpmodis=.false. |
---|
250 | Lclmodis=.false. |
---|
251 | Lcrimodis=.false. |
---|
252 | Lcrlmodis=.false. |
---|
253 | endif |
---|
254 | if (Lmodis_sim) Lisccp_sim = .true. |
---|
255 | |
---|
256 | ! Diagnostics that use Radar and Lidar |
---|
257 | if (((Lclcalipso2).or.(Lcltlidarradar)).and.((Lradar_sim).or.(Llidar_sim))) then |
---|
258 | Lclcalipso2 = .true. |
---|
259 | Lcltlidarradar = .true. |
---|
260 | Llidar_sim = .true. |
---|
261 | Lradar_sim = .true. |
---|
262 | endif |
---|
263 | |
---|
264 | cfg%Lstats = .false. |
---|
265 | if ((Lradar_sim).or.(Llidar_sim).or.(Lisccp_sim)) cfg%Lstats = .true. |
---|
266 | |
---|
267 | ! Copy instrument flags to cfg structure |
---|
268 | cfg%Lradar_sim = Lradar_sim |
---|
269 | cfg%Llidar_sim = Llidar_sim |
---|
270 | cfg%Lisccp_sim = Lisccp_sim |
---|
271 | cfg%Lmodis_sim = Lmodis_sim |
---|
272 | cfg%Lmisr_sim = Lmisr_sim |
---|
273 | cfg%Lrttov_sim = Lrttov_sim |
---|
274 | |
---|
275 | ! Flag to control output to file |
---|
276 | cfg%Lwrite_output = .false. |
---|
277 | if (cfg%Lstats.or.cfg%Lmisr_sim.or.cfg%Lrttov_sim) then |
---|
278 | cfg%Lwrite_output = .true. |
---|
279 | endif |
---|
280 | |
---|
281 | ! Output diagnostics |
---|
282 | i = 1 |
---|
283 | if (Lalbisccp) cfg%out_list(i) = 'albisccp' |
---|
284 | i = i+1 |
---|
285 | if (Latb532) cfg%out_list(i) = 'atb532' |
---|
286 | i = i+1 |
---|
287 | if (Lboxptopisccp) cfg%out_list(i) = 'boxptopisccp' |
---|
288 | i = i+1 |
---|
289 | if (Lboxtauisccp) cfg%out_list(i) = 'boxtauisccp' |
---|
290 | i = i+1 |
---|
291 | if (LcfadDbze94) cfg%out_list(i) = 'cfadDbze94' |
---|
292 | i = i+1 |
---|
293 | if (LcfadLidarsr532) cfg%out_list(i) = 'cfadLidarsr532' |
---|
294 | i = i+1 |
---|
295 | if (Lclcalipso2) cfg%out_list(i) = 'clcalipso2' |
---|
296 | i = i+1 |
---|
297 | if (Lclcalipso) cfg%out_list(i) = 'clcalipso' |
---|
298 | i = i+1 |
---|
299 | if (Lclhcalipso) cfg%out_list(i) = 'clhcalipso' |
---|
300 | i = i+1 |
---|
301 | if (Lclisccp) cfg%out_list(i) = 'clisccp' |
---|
302 | i = i+1 |
---|
303 | if (Lcllcalipso) cfg%out_list(i) = 'cllcalipso' |
---|
304 | i = i+1 |
---|
305 | if (Lclmcalipso) cfg%out_list(i) = 'clmcalipso' |
---|
306 | i = i+1 |
---|
307 | if (Lcltcalipso) cfg%out_list(i) = 'cltcalipso' |
---|
308 | i = i+1 |
---|
309 | |
---|
310 | if (Lcllcalipsoice) cfg%out_list(i) = 'cllcalipsoice' |
---|
311 | i = i+1 |
---|
312 | if (Lclmcalipsoice) cfg%out_list(i) = 'clmcalipsoice' |
---|
313 | i = i+1 |
---|
314 | if (Lclhcalipsoice) cfg%out_list(i) = 'clhcalipsoice' |
---|
315 | i = i+1 |
---|
316 | if (Lcltcalipsoice) cfg%out_list(i) = 'cltcalipsoice' |
---|
317 | i = i+1 |
---|
318 | if (Lcllcalipsoliq) cfg%out_list(i) = 'cllcalipsoliq' |
---|
319 | i = i+1 |
---|
320 | if (Lclmcalipsoliq) cfg%out_list(i) = 'clmcalipsoliq' |
---|
321 | i = i+1 |
---|
322 | if (Lclhcalipsoliq) cfg%out_list(i) = 'clhcalipsoliq' |
---|
323 | i = i+1 |
---|
324 | if (Lcltcalipsoliq) cfg%out_list(i) = 'cltcalipsoliq' |
---|
325 | i = i+1 |
---|
326 | if (Lcllcalipsoun) cfg%out_list(i) = 'cllcalipsoun' |
---|
327 | i = i+1 |
---|
328 | if (Lclmcalipsoun) cfg%out_list(i) = 'clmcalipsoun' |
---|
329 | i = i+1 |
---|
330 | if (Lclhcalipsoun) cfg%out_list(i) = 'clhcalipsoun' |
---|
331 | i = i+1 |
---|
332 | if (Lcltcalipsoun) cfg%out_list(i) = 'cltcalipsoun' |
---|
333 | i = i+1 |
---|
334 | |
---|
335 | if (Lclcalipsoice) cfg%out_list(i) = 'clcalipsoice' |
---|
336 | i = i+1 |
---|
337 | if (Lclcalipsoliq) cfg%out_list(i) = 'clcalipsoliq' |
---|
338 | i = i+1 |
---|
339 | if (Lclcalipsoun) cfg%out_list(i) = 'clcalipsoun' |
---|
340 | i = i+1 |
---|
341 | |
---|
342 | if (Lclcalipsotmp) cfg%out_list(i) = 'clcalipsotmp' |
---|
343 | i = i+1 |
---|
344 | if (Lclcalipsotmpice) cfg%out_list(i) = 'clcalipsotmpice' |
---|
345 | i = i+1 |
---|
346 | if (Lclcalipsotmpliq) cfg%out_list(i) = 'clcalipsotmpliq' |
---|
347 | i = i+1 |
---|
348 | if (Lclcalipsotmpun) cfg%out_list(i) = 'clcalipsotmpun' |
---|
349 | i = i+1 |
---|
350 | if (Lcltlidarradar) cfg%out_list(i) = 'cltlidarradar' |
---|
351 | i = i+1 |
---|
352 | if (Lpctisccp) cfg%out_list(i) = 'pctisccp' |
---|
353 | i = i+1 |
---|
354 | if (Ldbze94) cfg%out_list(i) = 'dbze94' |
---|
355 | i = i+1 |
---|
356 | if (Ltauisccp) cfg%out_list(i) = 'tauisccp' |
---|
357 | i = i+1 |
---|
358 | if (Lcltisccp) cfg%out_list(i) = 'cltisccp' |
---|
359 | i = i+1 |
---|
360 | if (Ltoffset) cfg%out_list(i) = 'toffset' |
---|
361 | i = i+1 |
---|
362 | if (LparasolRefl) cfg%out_list(i) = 'parasolRefl' |
---|
363 | i = i+1 |
---|
364 | if (LclMISR) cfg%out_list(i) = 'clMISR' |
---|
365 | i = i+1 |
---|
366 | if (Lmeantbisccp) cfg%out_list(i) = 'meantbisccp' |
---|
367 | i = i+1 |
---|
368 | if (Lmeantbclrisccp) cfg%out_list(i) = 'meantbclrisccp' |
---|
369 | i = i+1 |
---|
370 | if (Lfracout) cfg%out_list(i) = 'fracout' |
---|
371 | i = i+1 |
---|
372 | if (LlidarBetaMol532) cfg%out_list(i) = 'lidarBetaMol532' |
---|
373 | i = i+1 |
---|
374 | if (Ltbrttov) cfg%out_list(i) = 'tbrttov' |
---|
375 | i = i+1 |
---|
376 | if (Lcltmodis) cfg%out_list(i) = 'cltmodis' |
---|
377 | i = i+1 |
---|
378 | if (Lclwmodis) cfg%out_list(i) = 'clwmodis' |
---|
379 | i = i+1 |
---|
380 | if (Lclimodis) cfg%out_list(i) = 'climodis' |
---|
381 | i = i+1 |
---|
382 | if (Lclhmodis) cfg%out_list(i) = 'clhmodis' |
---|
383 | i = i+1 |
---|
384 | if (Lclmmodis) cfg%out_list(i) = 'clmmodis' |
---|
385 | i = i+1 |
---|
386 | if (Lcllmodis) cfg%out_list(i) = 'cllmodis' |
---|
387 | i = i+1 |
---|
388 | if (Ltautmodis) cfg%out_list(i) = 'tautmodis' |
---|
389 | i = i+1 |
---|
390 | if (Ltauwmodis) cfg%out_list(i) = 'tauwmodis' |
---|
391 | i = i+1 |
---|
392 | if (Ltauimodis) cfg%out_list(i) = 'tauimodis' |
---|
393 | i = i+1 |
---|
394 | if (Ltautlogmodis) cfg%out_list(i) = 'tautlogmodis' |
---|
395 | i = i+1 |
---|
396 | if (Ltauwlogmodis) cfg%out_list(i) = 'tauwlogmodis' |
---|
397 | i = i+1 |
---|
398 | if (Ltauilogmodis) cfg%out_list(i) = 'tauilogmodis' |
---|
399 | i = i+1 |
---|
400 | if (Lreffclwmodis) cfg%out_list(i) = 'reffclwmodis' |
---|
401 | i = i+1 |
---|
402 | if (Lreffclimodis) cfg%out_list(i) = 'reffclimodis' |
---|
403 | i = i+1 |
---|
404 | if (Lpctmodis) cfg%out_list(i) = 'pctmodis' |
---|
405 | i = i+1 |
---|
406 | if (Llwpmodis) cfg%out_list(i) = 'lwpmodis' |
---|
407 | i = i+1 |
---|
408 | if (Liwpmodis) cfg%out_list(i) = 'iwpmodis' |
---|
409 | i = i+1 |
---|
410 | if (Lclmodis) cfg%out_list(i) = 'clmodis' |
---|
411 | i = i+1 |
---|
412 | if (Lcrimodis) cfg%out_list(i) = 'crimodis' |
---|
413 | i = i+1 |
---|
414 | if (Lcrlmodis) cfg%out_list(i) = 'crlmodis' |
---|
415 | |
---|
416 | i = i+1 !OPAQ |
---|
417 | if (Lclopaquecalipso) cfg%out_list(i) = 'clopaquecalipso' !OPAQ |
---|
418 | i = i+1 !OPAQ |
---|
419 | if (Lclthincalipso) cfg%out_list(i) = 'clthincalipso' !OPAQ |
---|
420 | i = i+1 !OPAQ |
---|
421 | if (Lclzopaquecalipso) cfg%out_list(i) = 'clzopaquecalipso' !OPAQ |
---|
422 | i = i+1 !OPAQ |
---|
423 | if (Lclcalipsoopaque) cfg%out_list(i) = 'clcalipsoopaque' !OPAQ |
---|
424 | i = i+1 !OPAQ |
---|
425 | if (Lclcalipsothin) cfg%out_list(i) = 'clcalipsothin' !OPAQ |
---|
426 | i = i+1 !OPAQ |
---|
427 | if (Lclcalipsozopaque) cfg%out_list(i) = 'clcalipsozopaque' !OPAQ |
---|
428 | i = i+1 !OPAQ |
---|
429 | if (Lclcalipsoopacity) cfg%out_list(i) = 'clcalipsoopacity' !OPAQ |
---|
430 | i = i+1 !TIBO |
---|
431 | if (LprofSR) cfg%out_list(i) = 'profSR' !TIBO |
---|
432 | i = i+1 !TIBO |
---|
433 | if (Lproftemp) cfg%out_list(i) = 'proftemp' !TIBO |
---|
434 | |
---|
435 | if (i /= N_OUT_LIST) then |
---|
436 | print *, 'COSP_IO: wrong number of output diagnostics' |
---|
437 | print *, i,N_OUT_LIST |
---|
438 | stop |
---|
439 | endif |
---|
440 | |
---|
441 | ! Copy diagnostic flags to cfg structure |
---|
442 | ! ISCCP simulator |
---|
443 | cfg%Lalbisccp = Lalbisccp |
---|
444 | cfg%Latb532 = Latb532 |
---|
445 | cfg%Lboxptopisccp = Lboxptopisccp |
---|
446 | cfg%Lboxtauisccp = Lboxtauisccp |
---|
447 | cfg%Lmeantbisccp = Lmeantbisccp |
---|
448 | cfg%Lmeantbclrisccp = Lmeantbclrisccp |
---|
449 | cfg%Lclisccp = Lclisccp |
---|
450 | cfg%Lpctisccp = Lpctisccp |
---|
451 | cfg%Ltauisccp = Ltauisccp |
---|
452 | cfg%Lcltisccp = Lcltisccp |
---|
453 | ! CloudSat simulator |
---|
454 | cfg%Ldbze94 = Ldbze94 |
---|
455 | cfg%LcfadDbze94 = LcfadDbze94 |
---|
456 | ! CALIPSO/PARASOL simulator |
---|
457 | cfg%LcfadLidarsr532 = LcfadLidarsr532 |
---|
458 | cfg%Lclcalipso2 = Lclcalipso2 |
---|
459 | cfg%Lclcalipso = Lclcalipso |
---|
460 | cfg%Lclhcalipso = Lclhcalipso |
---|
461 | cfg%Lcllcalipso = Lcllcalipso |
---|
462 | cfg%Lclmcalipso = Lclmcalipso |
---|
463 | cfg%Lcltcalipso = Lcltcalipso |
---|
464 | cfg%Lclhcalipsoice = Lclhcalipsoice |
---|
465 | cfg%Lcllcalipsoice = Lcllcalipsoice |
---|
466 | cfg%Lclmcalipsoice = Lclmcalipsoice |
---|
467 | cfg%Lcltcalipsoice = Lcltcalipsoice |
---|
468 | cfg%Lclhcalipsoliq = Lclhcalipsoliq |
---|
469 | cfg%Lcllcalipsoliq = Lcllcalipsoliq |
---|
470 | cfg%Lclmcalipsoliq = Lclmcalipsoliq |
---|
471 | cfg%Lcltcalipsoliq = Lcltcalipsoliq |
---|
472 | cfg%Lclhcalipsoun = Lclhcalipsoun |
---|
473 | cfg%Lcllcalipsoun = Lcllcalipsoun |
---|
474 | cfg%Lclmcalipsoun = Lclmcalipsoun |
---|
475 | cfg%Lcltcalipsoun = Lcltcalipsoun |
---|
476 | cfg%Lclcalipsoice = Lclcalipsoice |
---|
477 | cfg%Lclcalipsoliq = Lclcalipsoliq |
---|
478 | cfg%Lclcalipsoun = Lclcalipsoun |
---|
479 | cfg%Lclcalipsotmp = Lclcalipsotmp |
---|
480 | cfg%Lclcalipsotmpice = Lclcalipsotmpice |
---|
481 | cfg%Lclcalipsotmpliq = Lclcalipsotmpliq |
---|
482 | cfg%Lclcalipsotmpun = Lclcalipsotmpun |
---|
483 | cfg%Lcltlidarradar = Lcltlidarradar |
---|
484 | cfg%LparasolRefl = LparasolRefl |
---|
485 | cfg%Lclopaquecalipso = Lclopaquecalipso !OPAQ |
---|
486 | cfg%Lclthincalipso = Lclthincalipso !OPAQ |
---|
487 | cfg%Lclzopaquecalipso = Lclzopaquecalipso !OPAQ |
---|
488 | cfg%Lclcalipsoopaque = Lclcalipsoopaque !OPAQ |
---|
489 | cfg%Lclcalipsothin = Lclcalipsothin !OPAQ |
---|
490 | cfg%Lclcalipsozopaque = Lclcalipsozopaque !OPAQ |
---|
491 | cfg%Lclcalipsoopacity = Lclcalipsoopacity !OPAQ |
---|
492 | cfg%LprofSR = LprofSR !TIBO |
---|
493 | cfg%Lproftemp = Lproftemp !TIBO |
---|
494 | ! MISR simulator |
---|
495 | cfg%LclMISR = LclMISR |
---|
496 | ! Other |
---|
497 | cfg%Ltoffset = Ltoffset |
---|
498 | cfg%Lfracout = Lfracout |
---|
499 | cfg%LlidarBetaMol532 = LlidarBetaMol532 |
---|
500 | ! RTTOV |
---|
501 | cfg%Ltbrttov = Ltbrttov |
---|
502 | ! MODIS simulator |
---|
503 | cfg%Lcltmodis=Lcltmodis |
---|
504 | cfg%Lclwmodis=Lclwmodis |
---|
505 | cfg%Lclimodis=Lclimodis |
---|
506 | cfg%Lclhmodis=Lclhmodis |
---|
507 | cfg%Lclmmodis=Lclmmodis |
---|
508 | cfg%Lcllmodis=Lcllmodis |
---|
509 | cfg%Ltautmodis=Ltautmodis |
---|
510 | cfg%Ltauwmodis=Ltauwmodis |
---|
511 | cfg%Ltauimodis=Ltauimodis |
---|
512 | cfg%Ltautlogmodis=Ltautlogmodis |
---|
513 | cfg%Ltauwlogmodis=Ltauwlogmodis |
---|
514 | cfg%Ltauilogmodis=Ltauilogmodis |
---|
515 | cfg%Lreffclwmodis=Lreffclwmodis |
---|
516 | cfg%Lreffclimodis=Lreffclimodis |
---|
517 | cfg%Lpctmodis=Lpctmodis |
---|
518 | cfg%Llwpmodis=Llwpmodis |
---|
519 | cfg%Liwpmodis=Liwpmodis |
---|
520 | cfg%Lclmodis=Lclmodis |
---|
521 | cfg%Lcrimodis=Lcrimodis |
---|
522 | cfg%Lcrlmodis=Lcrlmodis |
---|
523 | |
---|
524 | END SUBROUTINE READ_COSP_OUTPUT_NL |
---|
525 | |
---|