Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix space difference vs expected output for Fortran examples with compression filters #3975

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions HDF5Examples/FORTRAN/H5D/h5ex_d_checksum.F90
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ PROGRAM main
CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, MaxChrLen, name, filter_id, hdferr)
WRITE(*,'("Filter type is: ")', ADVANCE='NO')
IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_DEFLATE_F")')
WRITE(*,'(" H5Z_FILTER_DEFLATE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SHUFFLE_F")')
WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_FLETCHER32_F")')
WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SZIP_F")')
WRITE(*,'(" H5Z_FILTER_SZIP_F")')
ENDIF
!
! Read the data using the default properties.
Expand Down
8 changes: 4 additions & 4 deletions HDF5Examples/FORTRAN/H5D/h5ex_d_gzip.F90
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ PROGRAM main
CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, MaxChrLen, name, filter_id, hdferr)
WRITE(*,'("Filter type is: ")', ADVANCE='NO')
IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_DEFLATE_F")')
WRITE(*,'(" H5Z_FILTER_DEFLATE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SHUFFLE_F")')
WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_FLETCHER32_F")')
WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SZIP_F")')
WRITE(*,'(" H5Z_FILTER_SZIP_F")')
ENDIF
!
! Read the data using the default properties.
Expand Down
10 changes: 5 additions & 5 deletions HDF5Examples/FORTRAN/H5D/h5ex_d_nbit.F90
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ PROGRAM main
CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, INT(MaxChrLen, SIZE_T), name, filter_id, hdferr)
WRITE(*,'("Filter type is: ")', ADVANCE='NO')
IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_DEFLATE_F")')
WRITE(*,'(" H5Z_FILTER_DEFLATE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SHUFFLE_F")')
WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_FLETCHER32_F")')
WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SZIP_F")')
WRITE(*,'(" H5Z_FILTER_SZIP_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_NBIT_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_NBIT_F")')
WRITE(*,'(" H5Z_FILTER_NBIT_F")')
ENDIF
!
! Read the data using the default properties.
Expand Down
12 changes: 6 additions & 6 deletions HDF5Examples/FORTRAN/H5D/h5ex_d_soint.F90
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,17 @@ PROGRAM main
CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, INT(MaxChrLen, SIZE_T), name, filter_id, hdferr)
WRITE(*,'("Filter type is: ")', ADVANCE='NO')
IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_DEFLATE_F")')
WRITE(*,'(" H5Z_FILTER_DEFLATE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SHUFFLE_F")')
WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_FLETCHER32_F")')
WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SZIP_F")')
WRITE(*,'(" H5Z_FILTER_SZIP_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_NBIT_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_NBIT_F")')
WRITE(*,'(" H5Z_FILTER_NBIT_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SCALEOFFSET_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SCALEOFFSET_F")')
WRITE(*,'(" H5Z_FILTER_SCALEOFFSET_F")')
ENDIF
!
! Read the data using the default properties.
Expand Down
12 changes: 6 additions & 6 deletions HDF5Examples/FORTRAN/H5D/h5ex_d_szip.F90
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,18 @@ PROGRAM main
CALL H5Pget_filter_f(dcpl, 0, flags, nelmts, cd_values, INT(MaxChrLen,SIZE_T), name, filter_id, hdferr)
WRITE(*,'("Filter type is: ")', ADVANCE='NO')
IF(filter_id.EQ.H5Z_FILTER_DEFLATE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_DEFLATE_F")')
WRITE(*,'(" H5Z_FILTER_DEFLATE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SHUFFLE_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SHUFFLE_F")')
WRITE(*,'(" H5Z_FILTER_SHUFFLE_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_FLETCHER32_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_FLETCHER32_F")')
WRITE(*,'(" H5Z_FILTER_FLETCHER32_F")')
ELSE IF(filter_id.EQ.H5Z_FILTER_SZIP_F)THEN
WRITE(*,'(T2,"H5Z_FILTER_SZIP_F")')
WRITE(*,'(" H5Z_FILTER_SZIP_F")')
! DEFINED ONLY IN F2003 hdf5 branch
! ELSE IF(filter_id.EQ.H5Z_FILTER_NBIT_F)THEN
! WRITE(*,'(T2,"H5Z_FILTER_NBIT_F")')
! WRITE(*,'(" H5Z_FILTER_NBIT_F")')
! ELSE IF(filter_id.EQ.H5Z_FILTER_SCALEOFFSET_F)THEN
! WRITE(*,'(T2,"H5Z_FILTER_SCALEOFFSET_F")')
! WRITE(*,'(" H5Z_FILTER_SCALEOFFSET_F")')
ENDIF
!
! Read the data using the default properties.
Expand Down
Loading