diff --git a/src/Utilities/Export/DisNCStructured.f90 b/src/Utilities/Export/DisNCStructured.f90 index 328f38b4130..0fa9db4688a 100644 --- a/src/Utilities/Export/DisNCStructured.f90 +++ b/src/Utilities/Export/DisNCStructured.f90 @@ -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 diff --git a/src/Utilities/Export/MeshNCModel.f90 b/src/Utilities/Export/MeshNCModel.f90 index 4e4ff3fab09..6b28d79261c 100644 --- a/src/Utilities/Export/MeshNCModel.f90 +++ b/src/Utilities/Export/MeshNCModel.f90 @@ -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