[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode
do k=1,linenum_max
        read(unit=num,FMT='(I5,X,F7.3)', IOSTAT=res), nouse, read_data(k,i) 
        if(res/=0)then
                  write(*,*)'-999.9'
            end if
                write(*,*),read_data(k,i)
      end do
      close(unit=num)
    end do
[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode
open(unit=12,file='windspeed.txt')
    do k=1,filenum_read
          do i=1,filenum_valid
            write(12,30)read_data(k,i)
          end do
        end do
  close(unit=12)
  30 format(60F7.3,/)]
[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode
open(unit=12,file='windspeed.txt')
    do k=1,filenum_read
            write(12,30)read_data(k,1:filenum_valid)
        end do
  close(unit=12)
  30 format(60F7.3,/)