diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2024-02-02 05:42:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 05:42:58 (GMT) |
commit | 6e42618f531df1d0d43fb0976ea65bc862414395 (patch) | |
tree | 7558cbf8131754e4ca8f1bb6ab07ff9573935f79 /HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 | |
parent | 0843a8c1bef82d3bd67f2677f029a9b710af6ac9 (diff) | |
download | hdf5-6e42618f531df1d0d43fb0976ea65bc862414395.zip hdf5-6e42618f531df1d0d43fb0976ea65bc862414395.tar.gz hdf5-6e42618f531df1d0d43fb0976ea65bc862414395.tar.bz2 |
Fixed spacing issues in example tests. (#3979)
* The space difference in the Fortran examples must be fixed to match the expected output for compression filter examples.
Diffstat (limited to 'HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90')
-rw-r--r-- | HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 b/HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 index 86e1b3d..fdd6ecf 100644 --- a/HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 +++ b/HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90 @@ -119,20 +119,22 @@ PROGRAM main nelmts = 1 CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, INT(MaxChrLen,SIZE_T), name, filter_id, hdferr) - WRITE(*,'("Filter type is: ")', ADVANCE='NO') + WRITE(*,'(A,1X)', ADVANCE='NO') "Filter type is:" IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN - WRITE(*,'(" H5Z_FILTER_DEFLATE_F")') + WRITE(*,'(A)') "H5Z_FILTER_DEFLATE_F" ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN - WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")') + WRITE(*,'(A)') "H5Z_FILTER_SHUFFLE_F" ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN - WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")') + WRITE(*,'(A)') "H5Z_FILTER_FLETCHER32_F" ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN - WRITE(*,'(" H5Z_FILTER_SZIP_F")') + WRITE(*,'(A)') "H5Z_FILTER_SZIP_F" ! DEFINED ONLY IN F2003 hdf5 branch ! ELSE IF(filter_id.EQ.H5Z_FILTER_NBIT_F)THEN ! WRITE(*,'(" H5Z_FILTER_NBIT_F")') ! ELSE IF(filter_id.EQ.H5Z_FILTER_SCALEOFFSET_F)THEN ! WRITE(*,'(" H5Z_FILTER_SCALEOFFSET_F")') + ELSE + WRITE(*,'(A)') "UNKNOWN" ENDIF ! ! Read the data using the default properties. |