Advertisement
Guest User

Untitled

a guest
Mar 8th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ! Write data  for date.dat
  2.        write(14,fmt='(a10,1x,a5,2x,a7,2x,a7,2x,i3)')date2,
  3.      $ dummy(MM)(42:46),dummy(MM)(12:20),dummy(MM)(22:30),i   !write the date,time, latitude, longitude, dive number
  4.  
  5. !        do k=1,j-2  !write 3 Columns data pres,temp & sal in date.dat
  6. !drh 20161130 for downoff       do k=p-2,1,-1 !write 3 Columns data pres,temp & sal in date.dat j-2, up only
  7.        do k=1,p-2,1 !write 3 Columns data pres,temp & sal in date.dat j-2, up only
  8.        if ((sal2(k)+1).ne.sal2(k)) write(14,600)
  9.      $ pres2(k),temp2(k),sal2(k) !DRH 20161021--NaN check, Yes, model wants pressure
  10.        end do
  11.  
  12.   600    format(f7.2,f13.8,f13.8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement