fixed mistake in f90 example

This commit is contained in:
Ed Hartnett 2011-06-03 09:52:56 +00:00
parent be2813aa5c
commit ec91981a4a

View File

@ -37,7 +37,7 @@ program simple_xy_rd
! Open the file. NF90_NOWRITE tells netCDF we want read-only access to
! the file.
call check( nf90_open(FILE_NAME, IOR(NF90_NOWRITE, NF90_MPIIO), ncid) )
call check( nf90_open(FILE_NAME, NF90_NOWRITE, ncid) )
! Get the varid of the data variable, based on its name.
call check( nf90_inq_varid(ncid, "data", varid) )