summaryrefslogtreecommitdiffstats
path: root/fortran/examples/hyperslab.f90
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2014-04-12 03:26:21 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2014-04-12 03:26:21 (GMT)
commit19c485a128e4d860a537a14c91e38bc87dc6db25 (patch)
tree7333e607cf9093aa8020f5a2fa9af159379d845a /fortran/examples/hyperslab.f90
parent33956e594a10ecab24867ab0c3347452f22b4e11 (diff)
downloadhdf5-19c485a128e4d860a537a14c91e38bc87dc6db25.zip
hdf5-19c485a128e4d860a537a14c91e38bc87dc6db25.tar.gz
hdf5-19c485a128e4d860a537a14c91e38bc87dc6db25.tar.bz2
[svn-r25027] Merged changes from the trunk to the branch,
svn merge -r24929:25009 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran tested: jam (gnu)
Diffstat (limited to 'fortran/examples/hyperslab.f90')
-rw-r--r--fortran/examples/hyperslab.f9011
1 files changed, 4 insertions, 7 deletions
diff --git a/fortran/examples/hyperslab.f90 b/fortran/examples/hyperslab.f90
index ca27f35..7823ff6 100644
--- a/fortran/examples/hyperslab.f90
+++ b/fortran/examples/hyperslab.f90
@@ -33,8 +33,6 @@
INTEGER(HSIZE_T), DIMENSION(3) :: dimsm = (/7,7,3/) ! Dataset dimensions
! in memory
- INTEGER(HSIZE_T), DIMENSION(2) :: dims_out ! Buffer to read in dataset
- ! dimesions
INTEGER(HSIZE_T), DIMENSION(2) :: dimsf = (/5,6/) ! Dataset dimensions.
INTEGER(HSIZE_T), DIMENSION(2) :: count = (/3,4/)
@@ -49,16 +47,15 @@
INTEGER, DIMENSION(7,7,3) :: data_out ! Output buffer
INTEGER :: dsetrank = 2 ! Dataset rank ( in file )
INTEGER :: memrank = 3 ! Dataset rank ( in memory )
- INTEGER :: rank
INTEGER :: i, j, k
- INTEGER :: error, error_n ! Error flags
+ INTEGER :: error ! Error flag
INTEGER(HSIZE_T), DIMENSION(3) :: data_dims
- !
- ! Write data to the HDF5 file.
- !
+ !
+ ! Write data to the HDF5 file.
+ !
!
! Data initialization.