Skip to content

Commit 1cc4ed2

Browse files
committed
Adding HDF5C type to legacy fortran interface
Adding PIO_IOTYPE_HDF5C to the legacy fortran interface
1 parent cdc3a16 commit 1cc4ed2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/flib_legacy/pio.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ module pio
2626
pio_rearr_comm_p2p, pio_rearr_comm_coll,&
2727
pio_int, pio_real, pio_double, pio_noerr, iotype_netcdf, &
2828
iotype_pnetcdf, pio_iotype_netcdf4p, pio_iotype_netcdf4p_nczarr, pio_iotype_netcdf4c, &
29-
pio_iotype_pnetcdf,pio_iotype_netcdf, pio_iotype_adios, pio_iotype_adiosc, pio_iotype_hdf5, &
29+
pio_iotype_pnetcdf,pio_iotype_netcdf, pio_iotype_adios, pio_iotype_adiosc, &
30+
pio_iotype_hdf5, pio_iotype_hdf5c, &
3031
pio_global, pio_char, pio_write, pio_nowrite, pio_clobber, pio_noclobber, &
3132
pio_max_name, pio_max_var_dims, pio_rearr_subset, pio_rearr_box, pio_rearr_any,&
3233
#if defined(_NETCDF) || defined(_PNETCDF)

src/flib_legacy/pio_types.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ module pio_types
104104
!! - PIO_iotype_adios : parallel write of ADIOS files with subset rearrangement only
105105
!! - PIO_iotype_adiosc : parallel write of ADIOS files with data compression
106106
!! - PIO_iotype_hdf5 : parallel write of HDF5 files
107+
!! - PIO_iotype_hdf5c : parallel read/write of HDF5 files with data compression
107108
!>
108109
integer(i4), public, parameter :: &
109110
PIO_iotype_pnetcdf = 1, & ! parallel read/write of pNetCDF files
@@ -113,7 +114,8 @@ module pio_types
113114
PIO_iotype_netcdf4p_nczarr = 5, & ! netcdf4 (hdf5 format) NCZarr file opened in parallel
114115
PIO_iotype_adios = 6, & ! parallel read/write of ADIOS files
115116
PIO_iotype_adiosc = 7, & ! parallel read/write of ADIOS files with compression
116-
PIO_iotype_hdf5 = 8 ! parallel write of HDF5 files
117+
PIO_iotype_hdf5 = 8, & ! parallel write of HDF5 files
118+
PIO_iotype_hdf5c = 9 ! parallel read/write of HDF5 files with compression
117119

118120

119121
! These are for backward compatability and should not be used or expanded upon

0 commit comments

Comments
 (0)