Skip to content

Commit

Permalink
HACK: io_netcdf: write NetCDF4 files under 'lcdf64=.true.'
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-blain committed Aug 18, 2022
1 parent fea412a commit 4e053a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -149,7 +149,7 @@ subroutine ice_write_hist (ns)

! create file
iflag = nf90_clobber
if (lcdf64) iflag = ior(iflag,nf90_64bit_offset)
if (lcdf64) iflag = ior(iflag,nf90_netcdf4)
status = nf90_create(ncfile(ns), iflag, ncid)
if (status /= nf90_noerr) call abort_ice(subname// &
'ERROR: creating history ncfile '//ncfile(ns))
Expand Down
Expand Up @@ -220,7 +220,7 @@ subroutine init_restart_write(filename_spec)
close(nu_rst_pointer)

iflag = 0
if (lcdf64) iflag = nf90_64bit_offset
if (lcdf64) iflag = nf90_netcdf4
status = nf90_create(trim(filename), iflag, ncid)
if (status /= nf90_noerr) call abort_ice(subname// &
'ERROR: creating restart ncfile '//trim(filename))
Expand Down

0 comments on commit 4e053a7

Please sign in to comment.