o3dfile = T;
o3dfile(2,:) = X;
o3dfile(3,:) = Y;
o3dfile(4,:) = zeros;    % u
o3dfile(5,:) = zeros;    % v
o3dfile(6,:) = zeros;    % ztop
o3dfile(7,:) = Z(50,:);  % zbot
o3dfile(8,:) = Z(50,:);  % hobs
o3dfile = o3dfile';
save en302.o3d o3dfile -ASCII
