Changeset 1414 for LMDZ4/trunk/libf/cosp/llnl_stats.F90
- Timestamp:
- Jul 15, 2010, 5:21:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/cosp/llnl_stats.F90
r1279 r1414 24 24 25 25 MODULE MOD_LLNL_STATS 26 USE MOD_COSP_CONSTANTS 26 27 IMPLICIT NONE 27 28 … … 62 63 do j = 1, Nlevels, 1 63 64 do k = 1, Ncolumns, 1 64 do i = 1, Npoints, 1 65 if ((x(i,k,j) >= xmin) .and. (x(i,k,j) <= xmax)) then 65 do i = 1, Npoints, 1 66 if (x(i,k,j) == R_GROUND) then 67 cosp_cfad(i,:,j) = R_UNDEF 68 elseif ((x(i,k,j) >= xmin) .and. (x(i,k,j) <= xmax)) then 66 69 ibin = ceiling((x(i,k,j) - bmin)/bwidth) 67 70 if (ibin > Nbins) ibin = Nbins … … 72 75 enddo !k 73 76 enddo !j 74 cosp_cfad = cosp_cfad / Ncolumns77 where ((cosp_cfad /= R_UNDEF).and.(cosp_cfad /= 0.0)) cosp_cfad = cosp_cfad / Ncolumns 75 78 END FUNCTION COSP_CFAD 76 79 … … 98 101 integer :: pr,i,j 99 102 100 !lidar_only_freq_cloud = 0.0101 !tcc = 0.0103 lidar_only_freq_cloud = 0.0 104 tcc = 0.0 102 105 do pr=1,Npoints 103 106 do i=1,Ncolumns
Note: See TracChangeset
for help on using the changeset viewer.