Skip to content

Commit

Permalink
further netcdf write development
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Nov 6, 2023
1 parent ef13e37 commit 0e619c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/src/w3iopomd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1076,8 +1076,8 @@ SUBROUTINE W3IOPON_WRITE (NDSOP, IMOD, filename, ncerr)
integer :: v_iceho, v_icefo, v_grdid, v_spco

! ! Create the netCDF file.
! ncerr = nf90_create(filename, NF90_NETCDF4, fh)
! if (ncerr .ne. 0) return
ncerr = nf90_create(filename, NF90_NETCDF4, fh)
if (ncerr .ne. 0) return

! ! Define dimensions.
! ncerr = nf90_def_dim(fh, 'NOPTS', NOPTS, d_nopts)
Expand Down Expand Up @@ -1140,8 +1140,8 @@ SUBROUTINE W3IOPON_WRITE (NDSOP, IMOD, filename, ncerr)
! if (ncerr .ne. 0) return
! ncerr = nf90_def_var(fh, 'SPCO', NF90_INT, (/d_nspec, d_nopts/), v_spco)
! if (ncerr .ne. 0) return
! ncerr = nf90_close(fh)
! if (ncerr .ne. 0) return
ncerr = nf90_close(fh)
if (ncerr .ne. 0) return

END SUBROUTINE W3IOPON_WRITE

Expand Down

0 comments on commit 0e619c9

Please sign in to comment.