Skip to content

Commit

Permalink
- change file creation mode to logical AND of flags (MODFLOW-USGS#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr-deltares authored Nov 8, 2024
1 parent 9b01fe9 commit 4e30455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Utilities/Export/DisNCStructured.f90
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ subroutine dis_export_init(this, modelname, modeltype, modelfname, disenum, &
!
! -- create the netcdf file
call nf_verify(nf90_create(this%nc_fname, &
IOR(NF90_CLOBBER, NF90_NETCDF4), this%ncid), &
IAND(NF90_CLOBBER, NF90_NETCDF4), this%ncid), &
this%nc_fname)
end subroutine dis_export_init

Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/Export/MeshNCModel.f90
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ subroutine mesh_init(this, modelname, modeltype, modelfname, disenum, &
!
! -- create the netcdf file
call nf_verify(nf90_create(this%nc_fname, &
IOR(NF90_CLOBBER, NF90_NETCDF4), this%ncid), &
IAND(NF90_CLOBBER, NF90_NETCDF4), this%ncid), &
this%nc_fname)
end subroutine mesh_init

Expand Down

0 comments on commit 4e30455

Please sign in to comment.