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)
17 CALL histbeg_phy("histdayCOSP",itau_phy,zjulian,dtime,nhori,nid_day_cosp)
19 ! Definition de l'axe vertical
35 if (cfg%Llidar_sim) then
36 if (cfg%Lcllcalipso) then
38 "Lidar Low-level Cloud
Fraction", "1", &
42 if (cfg%Lclhcalipso) then
44 "Lidar High-level Cloud Fraction", "1", &
45 iim, jj_nb,nhori,1,1,1,-99,32, &
48 if (cfg%Lclmcalipso) then
50 "Lidar Mid-level Cloud Fraction", "1", &
51 iim, jj_nb,nhori,1,1,1,-99,32, &
54 if (cfg%Lcltcalipso) then
56 "Lidar Total Cloud Fraction", "1", &
57 iim, jj_nb,nhori,1,1,1,-99,32, &
60 if (cfg%Lclcalipso) then
62 "Lidar Cloud Fraction (532 nm)", "1", &
63 iim,jj_nb,nhori, Nlevout,1,Nlevout,
nvert, 32, &
66 if (cfg%Lcfad_lidarsr532) then
68 CALL
histdef(nid_day_cosp, "cfad_lidarsr532_"
69 "Lidar Scattering Ratio CFAD (532 nm)","1", &
70 iim,jj_nb,nhori, Nlevout,1,Nlevout,nvert, 32, &
74 if (cfg%Lparasol_refl) then
77 iim,jj_nb,nhori, PARASOL_NREFL,1, PARASOL_NREFL,
nvertp,32, &
82 CALL
histdef(nid_day_cosp, "atb532_"
83 "Lidar Attenuated Total
Backscatter (532 nm)","1", &
84 iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,
nvertm, 32, &
88 if (cfg%Lbeta_mol532) then
91 iim,jj_nb,nhori, Nlevlmdz,1,Nlevlmdz,nvertm, 32, &
98 !
if (cfg%Lradar_sim) then
99 ! print*,'Ecriture sorties Radar'
100 !
if (cfg%Lcfad_dbze94) then
101 ! print*,'Ecriture
de cfad_dbze94.nc '
102 ! A revoir
l axe vertical Nlvgrid
104 ! dbze_ax(ii) = CFAD_ZE_MIN + CFAD_ZE_WIDTH*(ii - 0.5)
106 ! call
write_netcdf4d('cfad_dbze94.nc',use_vgrid,nlon,nlat,Nlevout,DBZE_BINS, &
107 !
x,y,out_levs,dbze_ax,
i,ndays,
time,stradar%cfad_ze)
109 !
if (cfg%Lclcalipso2) then
110 ! call write_netcdf3d('clcalipso2.nc',use_vgrid,'clcalipso2', &
111 ! nlon,nlat,Nlevout,x,y,out_levs,i,ndays,time,stradar%lidar_only_freq_cloud)
113 !
if (cfg%Ldbze94) then
117 ! call
write_netcdf4d('dbze94.nc',use_vgrid,nlon,nlat,Nlevout,Ncolumns, &
118 ! x,y,out_levs,xcol,i,ndays,time,sgradar%Ze_tot)
120 !
if (cfg%Lcltlidarradar) then
121 ! call write_netcdf2d('cltlidarradar.nc','cltlidarradar', &
122 ! nlon,nlat,x,y,i,ndays,time,stradar%radar_lidar_tcc)
128 !
if (cfg%Lmisr_sim) then
129 ! print*,'Ecriture sorties Misr'
130 ! call
write_netcdf4d('clMISR.nc',use_vgrid,nlon,nlat,MISR_N_CTH,7, &
131 ! x,y,MISR_CTH,ISCCP_TAU,i,ndays,time,misr%fq_MISR)
135 if (cfg%Lisccp_sim) then
136 if (cfg%Lclisccp2) then
138 CALL
histdef(nid_day_cosp, "clisccp2_"
139 "Cloud Fraction as Calculated
by the ISCCP
Simulator","1", &
140 iim,jj_nb,nhori,7,1,7,nvertisccp, 32, &
144 if (cfg%Lboxtauisccp) then
146 "Optical Depth in Each Column as Calculated
by the ISCCP Simulator","1", &
147 iim,jj_nb,nhori,Ncolumns,1,Ncolumns,
nvertcol, 32, &
150 if (cfg%Lboxptopisccp) then
152 "Cloud Top
Pressure in Each Column as Calculated
by the ISCCP Simulator","
Pa", &
153 iim,jj_nb,nhori,Ncolumns,1,Ncolumns,nvertcol, 32, &
156 if (cfg%Ltclisccp) then
158 "Total Cloud Fraction as Calculated
by the ISCCP Simulator", "1", &
159 iim, jj_nb,nhori,1,1,1,-99,32, &
162 if (cfg%Lctpisccp) then
164 "Mean Cloud Top
Pressure as Calculated
by the ISCCP Simulator", "Pa", &
165 iim, jj_nb,nhori,1,1,1,-99,32, &
168 if (cfg%Ltauisccp) then
170 "Optical Depth as Calculated
by the ISCCP Simulator", "1", &
171 iim, jj_nb,nhori,1,1,1,-99,32, &
174 if (cfg%Lalbisccp) then
176 "Mean Cloud Albedo as Calculated
by the ISCCP Simulator", "1", &
177 iim, jj_nb,nhori,1,1,1,-99,32, &
180 if (cfg%Lmeantbisccp) then
182 " Mean all-sky 10.5 micron brightness temperature as calculated
by the ISCCP Simulator","
K", &
183 iim, jj_nb,nhori,1,1,1,-99,32, &
186 if (cfg%Lmeantbclrisccp) then
188 "Mean clear-sky 10.5 micron brightness temperature as calculated
by the ISCCP Simulator","K", &
189 iim, jj_nb,nhori,1,1,1,-99,32, &
195 CALL histend(nid_day_cosp)