H5Part  1.6.6
Functions/Subroutines
Reading and Writing Attributes

Functions/Subroutines

integer *8 function h5bl_3d_get_field_origin (filehandle, name, x, y, z)
 
integer *8 function h5bl_3d_get_field_spacing (filehandle, name, x, y, z)
 
integer *8 function h5bl_3d_set_field_origin (filehandle, name, x, y, z)
 
integer *8 function h5bl_3d_set_field_spacing (filehandle, name, x, y, z)
 
integer *8 function h5bl_getfieldattribinfo (filehandle, field_name, idx, attrib_name, attrib_nelem)
 
integer *8 function h5bl_getnfieldattribs (filehandle, field_name)
 
integer *8 function h5bl_readfieldattrib_i8 (filehandle, field_name, attrib_name, attrib_value)
 
integer *8 function h5bl_readfieldattrib_r8 (filehandle, field_name, attrib_name, attrib_value)
 
integer *8 function h5bl_readfieldattrib_string (filehandle, field_name, attrib_name, attrib_value)
 
integer *8 function h5bl_writefieldattrib_i4 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 
integer *8 function h5bl_writefieldattrib_i8 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 
integer *8 function h5bl_writefieldattrib_r4 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 
integer *8 function h5bl_writefieldattrib_r8 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 
integer *8 function h5bl_writefieldattrib_string (filehandle, field_name, attrib_name, attrib_value)
 

Detailed Description

Function/Subroutine Documentation

◆ h5bl_3d_get_field_origin()

integer*8 function h5bl_3d_get_field_origin ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  name,
real*8, intent(out)  x,
real*8, intent(out)  y,
real*8, intent(out)  z 
)

See H5Block3dGetFieldOrigin

Returns
0 on success or error code

◆ h5bl_3d_get_field_spacing()

integer*8 function h5bl_3d_get_field_spacing ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  name,
real*8, intent(out)  x,
real*8, intent(out)  y,
real*8, intent(out)  z 
)

See H5Block3dGetFieldSpacing

Returns
0 on success or error code

◆ h5bl_3d_set_field_origin()

integer*8 function h5bl_3d_set_field_origin ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  name,
real*8, intent(in)  x,
real*8, intent(in)  y,
real*8, intent(in)  z 
)

See H5Block3dSetFieldOrigin

Returns
0 on success or error code

◆ h5bl_3d_set_field_spacing()

integer*8 function h5bl_3d_set_field_spacing ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  name,
real*8, intent(in)  x,
real*8, intent(in)  y,
real*8, intent(in)  z 
)

See H5Block3dSetFieldSpacing

Returns
0 on success or error code

◆ h5bl_getfieldattribinfo()

integer*8 function h5bl_getfieldattribinfo ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
integer*8, intent(in)  idx,
character(len=*), intent(out)  attrib_name,
integer*8, intent(out)  attrib_nelem 
)

See H5BlockGetFieldAttribInfo

Returns
0 on success or error code

◆ h5bl_getnfieldattribs()

integer*8 function h5bl_getnfieldattribs ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name 
)

See H5BlockGetNumFieldAttribs

Returns
number of attributes or error code

◆ h5bl_readfieldattrib_i8()

integer*8 function h5bl_readfieldattrib_i8 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
integer*8, dimension(*), intent(out)  attrib_value 
)

Read the attribute attrib_name from the field field_name at the current timestep, and store the int64 value in attrib_value.

Returns
0 on success or error code

◆ h5bl_readfieldattrib_r8()

integer*8 function h5bl_readfieldattrib_r8 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
real*8, dimension(*), intent(out)  attrib_value 
)

Read the attribute attrib_name from the field field_name at the current timestep, and store the float64 value in attrib_value.

Returns
0 on success or error code

◆ h5bl_readfieldattrib_string()

integer*8 function h5bl_readfieldattrib_string ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
character(len=*), intent(in)  attrib_value 
)

Read the attribute attrib_name from the field field_name at the current timestep, and store the string value in attrib_value.

Returns
0 on success or error code

◆ h5bl_writefieldattrib_i4()

integer*8 function h5bl_writefieldattrib_i4 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
integer*4, dimension(*), intent(in)  attrib_value,
integer*8, intent(in)  attrib_nelem 
)

See H5BlockWriteFieldAttribInt32

Returns
0 on success or error code
Parameters
[in]filehandlethe handle returned at file open
[in]field_namethe name of the field
[in]attrib_namethe name of the attribute
[in]attrib_valuethe array of data to write into the attribute
[in]attrib_nelemthe number of elements in the array

◆ h5bl_writefieldattrib_i8()

integer*8 function h5bl_writefieldattrib_i8 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
integer*8, dimension(*), intent(in)  attrib_value,
integer*8, intent(in)  attrib_nelem 
)

See H5BlockWriteFieldAttribInt64

Returns
0 on success or error code
Parameters
[in]filehandlethe handle returned at file open
[in]field_namethe name of the field
[in]attrib_namethe name of the attribute
[in]attrib_valuethe array of data to write into the attribute
[in]attrib_nelemthe number of elements in the array

◆ h5bl_writefieldattrib_r4()

integer*8 function h5bl_writefieldattrib_r4 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
real*4, dimension(*), intent(in)  attrib_value,
integer*8, intent(in)  attrib_nelem 
)

See H5BlockWriteFieldAttribFloat32

Returns
0 on success or error code
Parameters
[in]filehandlethe handle returned at file open
[in]field_namethe name of the field
[in]attrib_namethe name of the attribute
[in]attrib_valuethe array of data to write into the attribute
[in]attrib_nelemthe number of elements in the array

◆ h5bl_writefieldattrib_r8()

integer*8 function h5bl_writefieldattrib_r8 ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
real*8, dimension(*), intent(in)  attrib_value,
integer*8, intent(in)  attrib_nelem 
)

See H5BlockWriteFieldAttribFloat64

Returns
0 on success or error code
Parameters
[in]filehandlethe handle returned at file open
[in]field_namethe name of the field
[in]attrib_namethe name of the attribute
[in]attrib_valuethe array of data to write into the attribute
[in]attrib_nelemthe number of elements in the array

◆ h5bl_writefieldattrib_string()

integer*8 function h5bl_writefieldattrib_string ( integer*8, intent(in)  filehandle,
character(len=*), intent(in)  field_name,
character(len=*), intent(in)  attrib_name,
character(len=*), intent(in)  attrib_value 
)

See H5BlockWriteFieldAttribString

Returns
0 on success or error code