Skip to content

Commit

Permalink
more work on netcdf out
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Nov 8, 2023
1 parent 882bd6a commit 4c6ab0b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions model/tests/test_io.F90
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,21 @@ program test_io
end do

print *, 'OK!'
print *, 'testing WW3 binary point file write...'
print *, 'testing writing the WW3 binary point file in netCDF...'

! This is not working yet.
! Write in netCDF.
call w3iopon('WRITE', ndsop, iotest)
if (iotest .ne. 0) stop 100
print *, 'OK!'

print *, 'testing reading the WW3 binary point file in netCDF...'
call w3iopon('READ', ndsop, iotest)
print *, iotest
if (iotest .ne. 0) stop 100
print *, 'OK!'

print *, 'OK!'

print *, 'SUCCESS!'
end program test_io

0 comments on commit 4c6ab0b

Please sign in to comment.