|
@@ -120,9 +120,11 @@ contains
|
|
|
endif
|
|
|
case(2) ! 3D ocean variable
|
|
|
if (gorp=='get') then
|
|
|
- error = nf90_get_var(ncid, varID, fld, start=(/1,1,zvlevel/), count=(/nx,ny,1/)); if (error.ne.nf90_noerr) call handle_err(error, "getting ocean variable")
|
|
|
+ error = nf90_get_var(ncid, varID, fld, start=(/1,1,zvlevel/), count=(/nx,ny,1/))
|
|
|
+ if (error.ne.nf90_noerr) call handle_err(error, "getting ocean variable")
|
|
|
elseif (gorp=='put') then
|
|
|
- error = nf90_put_var(ncid, varID, fld, start=(/1,1,zvlevel/), count=(/nx,ny,1/)); if (error.ne.nf90_noerr) call handle_err(error, "putting ocean variable")
|
|
|
+ error = nf90_put_var(ncid, varID, fld, start=(/1,1,zvlevel/), count=(/nx,ny,1/))
|
|
|
+ if (error.ne.nf90_noerr) call handle_err(error, "putting ocean variable")
|
|
|
else
|
|
|
if (master) print *, "(io_mod_fld): Either 'put' or 'get'!"
|
|
|
call stop_mpi()
|