1 ! Abderrahmane Idelkadi Septebmre 2009
2 ! Sorties journalieres
de COSP
3 ! Pour
l'instant sorties Lidar et ISCCP
11 ! PRINT*, 'La frequence
de sortie hf3d est
de ', ecrit_hf
15 CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
16 CALL histbeg_phy("histmthCOSP",itau_phy,zjulian,dtime,nhori,nid_mth_cosp)
18 ! Definition de l'axe vertical
19 print*,
'height_mlev=',vgrid%
mz
34 if (cfg%Llidar_sim) then
35 if (cfg%Lcllcalipso) then
37 "Lidar Low-level Cloud
Fraction", "1", &
41 if (cfg%Lclhcalipso) then
43 "Lidar High-level Cloud Fraction", "1", &
44 iim, jj_nb,nhori,1,1,1,-99,32, &
47 if (cfg%Lclmcalipso) then
49 "Lidar Mid-level Cloud Fraction", "1", &
50 iim, jj_nb,nhori,1,1,1,-99,32, &
53 if (cfg%Lcltcalipso) then
55 "Lidar Total Cloud Fraction", "1", &
56 iim, jj_nb,nhori,1,1,1,-99,32, &
59 if (cfg%Lclcalipso) then
61 "Lidar Cloud Fraction (532 nm)", "1", &
62 iim,jj_nb,nhori, Nlevout,1,Nlevout,nvert, 32, &
64 ! CALL
histdef(nid_mth_cosp, "zlev_m", &
65 ! "Height at Midel model levels", "m", &
66 ! iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,
nvertm, 32, &
69 ! "Height at bottom model levels", "m", &
70 ! iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,nvertm, 32, &
73 if (cfg%Lcfad_lidarsr532) then
75 CALL
histdef(nid_mth_cosp, "cfad_lidarsr532_"
76 "Lidar Scattering Ratio CFAD (532 nm)","1", &
77 iim,jj_nb,nhori, Nlevout,1,Nlevout,nvert, 32, &
81 if (cfg%Lparasol_refl) then
84 iim,jj_nb,nhori, PARASOL_NREFL,1, PARASOL_NREFL,
nvertp,32, &
89 CALL
histdef(nid_mth_cosp, "atb532_"
90 "Lidar Attenuated Total
Backscatter (532 nm)","1", &
91 iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,nvertm, 32, &
95 if (cfg%Lbeta_mol532) then
98 iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,nvertm, 32, &
105 !
if (cfg%Lradar_sim) then
106 ! print*,'Ecriture sorties Radar'
107 !
if (cfg%tttttttttttt) then
108 ! print*,'Ecriture
de cfad_dbze94.nc '
109 ! A revoir
l axe vertical Nlvgrid
111 ! dbze_ax(ii) = CFAD_ZE_MIN + CFAD_ZE_WIDTH*(ii - 0.5)
113 ! call
write_netcdf4d('cfad_dbze94.nc',use_vgrid,nlon,nlat,Nlevout,DBZE_BINS, &
114 !
x,y,out_levs,dbze_ax,
i,ndays,
time,stradar%cfad_ze)
116 !
if (cfg%Lclcalipso2) then
117 ! call write_netcdf3d('clcalipso2.nc',use_vgrid,'clcalipso2', &
118 ! nlon,nlat,Nlevout,x,y,out_levs,i,ndays,time,stradar%lidar_only_freq_cloud)
120 !
if (cfg%Ldbze94) then
124 ! call
write_netcdf4d('dbze94.nc',use_vgrid,nlon,nlat,Nlevout,Ncolumns, &
125 ! x,y,out_levs,xcol,i,ndays,time,sgradar%Ze_tot)
127 !
if (cfg%Lcltlidarradar) then
128 ! call write_netcdf2d('cltlidarradar.nc','cltlidarradar', &
129 ! nlon,nlat,x,y,i,ndays,time,stradar%radar_lidar_tcc)
135 !
if (cfg%Lmisr_sim) then
136 ! print*,'Ecriture sorties Misr'
137 ! call
write_netcdf4d('clMISR.nc',use_vgrid,nlon,nlat,MISR_N_CTH,7, &
138 ! x,y,MISR_CTH,ISCCP_TAU,i,ndays,time,misr%fq_MISR)
142 if (cfg%Lisccp_sim) then
143 if (cfg%Lclisccp2) then
145 CALL
histdef(nid_mth_cosp, "clisccp2_"
146 "Cloud Fraction as Calculated
by the ISCCP
Simulator","1", &
147 iim,jj_nb,nhori,7,1,7,nvertisccp, 32, &
151 if (cfg%Lboxtauisccp) then
153 "Optical Depth in Each Column as Calculated
by the ISCCP Simulator","1", &
154 iim,jj_nb,nhori,Ncolumns,1,Ncolumns,
nvertcol, 32, &
157 if (cfg%Lboxptopisccp) then
159 "Cloud Top
Pressure in Each Column as Calculated
by the ISCCP Simulator","Pa", &
160 iim,jj_nb,nhori,Ncolumns,1,Ncolumns,nvertcol, 32, &
163 if (cfg%Ltclisccp) then
165 "Total Cloud Fraction as Calculated
by the ISCCP Simulator", "1", &
166 iim, jj_nb,nhori,1,1,1,-99,32, &
169 if (cfg%Lctpisccp) then
171 "Mean Cloud Top
Pressure as Calculated
by the ISCCP Simulator", "Pa", &
172 iim, jj_nb,nhori,1,1,1,-99,32, &
175 if (cfg%Ltauisccp) then
177 "Optical Depth as Calculated
by the ISCCP Simulator", "1", &
178 iim, jj_nb,nhori,1,1,1,-99,32, &
181 if (cfg%Lalbisccp) then
183 "Mean Cloud Albedo as Calculated
by the ISCCP Simulator", "1", &
184 iim, jj_nb,nhori,1,1,1,-99,32, &
187 if (cfg%Lmeantbisccp) then
189 " Mean all-sky 10.5 micron brightness temperature as calculated
by the ISCCP Simulator","
K", &
190 iim, jj_nb,nhori,1,1,1,-99,32, &
193 if (cfg%Lmeantbclrisccp) then
195 "Mean clear-sky 10.5 micron brightness temperature as calculated
by the ISCCP Simulator","K", &
196 iim, jj_nb,nhori,1,1,1,-99,32, &
202 CALL histend(nid_mth_cosp)