hdf_create Module Procedure

module procedure hdf_create module subroutine hdf_create(self, dname, dtype, dims, sid, did, chunk_size, istart, iend, stride, compact)

h5lexists_f can false error with groups--just use h5ltpath_valid

stricter than self%exists() since we're creating and/or writing variable FIXME: read and write slice shape not checked; but should check in future versions open dataset Only new datasets go past this point create properties

don't set COMPACT after CHUNKED, will fail. And it's either or anyway. 64000 byte limit, here we assumed 8 bytes / element create dataspace create dataset

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=HID_T), intent(in) :: dtype
integer(kind=HSIZE_T), intent(in) :: dims(:)
integer(kind=HID_T), intent(out), optional :: sid
integer(kind=HID_T), intent(out), optional :: did
integer, intent(in), optional :: chunk_size(:)
integer, intent(in), optional :: istart(:)
integer, intent(in), optional :: iend(:)
integer, intent(in), optional :: stride(:)
logical, intent(in), optional :: compact

keep istart, iend, stride for future slice shape check


Calls

proc~~hdf_create~~CallsGraph proc~hdf_create hdf_create h5dcreate_f h5dcreate_f proc~hdf_create->h5dcreate_f h5screate_f h5screate_f proc~hdf_create->h5screate_f h5dget_space_f h5dget_space_f proc~hdf_create->h5dget_space_f proc~hdf_wrapup hdf_wrapup proc~hdf_create->proc~hdf_wrapup proc~set_deflate set_deflate proc~hdf_create->proc~set_deflate h5dopen_f h5dopen_f proc~hdf_create->h5dopen_f h5pset_layout_f h5pset_layout_f proc~hdf_create->h5pset_layout_f proc~check check proc~hdf_create->proc~check h5pclose_f h5pclose_f proc~hdf_create->h5pclose_f h5pcreate_f h5pcreate_f proc~hdf_create->h5pcreate_f h5ltpath_valid_f h5ltpath_valid_f proc~hdf_create->h5ltpath_valid_f proc~hdf_wrapup->proc~check h5dclose_f h5dclose_f proc~hdf_wrapup->h5dclose_f h5sclose_f h5sclose_f proc~hdf_wrapup->h5sclose_f proc~set_deflate->proc~check proc~set_deflate->h5pcreate_f h5pset_shuffle_f h5pset_shuffle_f proc~set_deflate->h5pset_shuffle_f h5pset_fletcher32_f h5pset_fletcher32_f proc~set_deflate->h5pset_fletcher32_f proc~guess_chunk_size guess_chunk_size proc~set_deflate->proc~guess_chunk_size h5pset_deflate_f h5pset_deflate_f proc~set_deflate->h5pset_deflate_f

Called by

proc~~hdf_create~~CalledByGraph proc~hdf_create hdf_create interface~hdf_create hdf_create interface~hdf_create->proc~hdf_create proc~hdf_write_scalar_i64 hdf_write_scalar_i64 proc~hdf_write_scalar_i64->interface~hdf_create proc~hdf_write_scalar_i32 hdf_write_scalar_i32 proc~hdf_write_scalar_i32->interface~hdf_create proc~hdf_write_scalar_r64 hdf_write_scalar_r64 proc~hdf_write_scalar_r64->interface~hdf_create proc~hdf_write_scalar_r32 hdf_write_scalar_r32 proc~hdf_write_scalar_r32->interface~hdf_create proc~hdf_write_8d hdf_write_8d proc~hdf_write_8d->interface~hdf_create interface~hdf_write_scalar_r32 hdf_write_scalar_r32 interface~hdf_write_scalar_r32->proc~hdf_write_scalar_r32 interface~hdf_write_scalar_i64 hdf_write_scalar_i64 interface~hdf_write_scalar_i64->proc~hdf_write_scalar_i64 interface~hdf_write_scalar_r64 hdf_write_scalar_r64 interface~hdf_write_scalar_r64->proc~hdf_write_scalar_r64 interface~hdf_write_scalar_i32 hdf_write_scalar_i32 interface~hdf_write_scalar_i32->proc~hdf_write_scalar_i32

Contents

None