Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added code to take the NetCDF file out of define mode so that it can …
Browse files Browse the repository at this point in the history
…be written to after the initialization step
  • Loading branch information
daminton committed Sep 23, 2021
1 parent d76cfc0 commit 5f1dced
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/netcdf/netcdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ module subroutine netcdf_initialize_output(self, param)
end select
end do

! Take the file out of define mode
call check( nf90_enddef(self%ncid) )

return
end subroutine netcdf_initialize_output

Expand Down

0 comments on commit 5f1dced

Please sign in to comment.