      subroutine   midsum
      common /sixs_atm/z(34),p(34),t(34),wh(34),wo(34)
      real z2(34),p2(34),t2(34),wh2(34),wo2(34)
      real z,p,t,wh,wo
      integer i
c
c     model: midlatitude summer mc clatchey
c
      data(z2(i),i=1, 34)/
     1    0.,    1.,    2.,    3.,    4.,    5.,    6.,    7.,    8.,
     2    9.,   10.,   11.,   12.,   13.,   14.,   15.,   16.,   17.,
     3   18.,   19.,   20.,   21.,   22.,   23.,   24.,   25.,   30.,
     4   35.,   40.,   45.,   50.,   70.,  100.,99999./
      data (p2(i),i=1,34) /
     a1.013e+03,9.020e+02,8.020e+02,7.100e+02,6.280e+02,5.540e+02,
     a4.870e+02,4.260e+02,3.720e+02,3.240e+02,2.810e+02,2.430e+02,
     a2.090e+02,1.790e+02,1.530e+02,1.300e+02,1.110e+02,9.500e+01,
     a8.120e+01,6.950e+01,5.950e+01,5.100e+01,4.370e+01,3.760e+01,
     a3.220e+01,2.770e+01,1.320e+01,6.520e+00,3.330e+00,1.760e+00,
     a9.510e-01,6.710e-02,3.000e-04,0.000e+00/
      data (t2(i),i=1,34) /
     a2.940e+02,2.900e+02,2.850e+02,2.790e+02,2.730e+02,2.670e+02,
     a2.610e+02,2.550e+02,2.480e+02,2.420e+02,2.350e+02,2.290e+02,
     a2.220e+02,2.160e+02,2.160e+02,2.160e+02,2.160e+02,2.160e+02,
     a2.160e+02,2.170e+02,2.180e+02,2.190e+02,2.200e+02,2.220e+02,
     a2.230e+02,2.240e+02,2.340e+02,2.450e+02,2.580e+02,2.700e+02,
     a2.760e+02,2.180e+02,2.100e+02,2.100e+02/
      data (wh2(i),i=1,34) /
     a1.400e+01,9.300e+00,5.900e+00,3.300e+00,1.900e+00,1.000e+00,
     a6.100e-01,3.700e-01,2.100e-01,1.200e-01,6.400e-02,2.200e-02,
     a6.000e-03,1.800e-03,1.000e-03,7.600e-04,6.400e-04,5.600e-04,
     a5.000e-04,4.900e-04,4.500e-04,5.100e-04,5.100e-04,5.400e-04,
     a6.000e-04,6.700e-04,3.600e-04,1.100e-04,4.300e-05,1.900e-05,
     a1.300e-06,1.400e-07,1.000e-09,0.000e+00/
      data (wo2(i),i=1,34) /
     a6.000e-05,6.000e-05,6.000e-05,6.200e-05,6.400e-05,6.600e-05,
     a6.900e-05,7.500e-05,7.900e-05,8.600e-05,9.000e-05,1.100e-04,
     a1.200e-04,1.500e-04,1.800e-04,1.900e-04,2.100e-04,2.400e-04,
     a2.800e-04,3.200e-04,3.400e-04,3.600e-04,3.600e-04,3.400e-04,
     a3.200e-04,3.000e-04,2.000e-04,9.200e-05,4.100e-05,1.300e-05,
     a4.300e-06,8.600e-08,4.300e-11,0.000e+00/
      do 1 i=1,34
      z(i)=z2(i)
      p(i)=p2(i)
      t(i)=t2(i)
      wh(i)=wh2(i)
      wo(i)=wo2(i)
    1 continue
      return
      end
