H5Part  1.6.6
Functions
Reading and Writing Attributes
H5Block F90 API

Functions

INTEGER *8 function h5bl_3d_get_field_origin (filehandle, name, x, y, z)
 See H5Block3dGetFieldOrigin.
INTEGER *8 function h5bl_3d_get_field_spacing (filehandle, name, x, y, z)
 See H5Block3dGetFieldSpacing.
INTEGER *8 function h5bl_3d_set_field_origin (filehandle, name, x, y, z)
 See H5Block3dSetFieldOrigin.
INTEGER *8 function h5bl_3d_set_field_spacing (filehandle, name, x, y, z)
 See H5Block3dSetFieldSpacing.
INTEGER *8 function h5bl_getfieldattribinfo (filehandle, field_name, idx, attrib_name, attrib_nelem)
 See H5BlockGetFieldAttribInfo.
INTEGER *8 function h5bl_getnfieldattribs (filehandle, field_name)
 See H5BlockGetNumFieldAttribs.
INTEGER *8 function h5bl_readfieldattrib_i8 (filehandle, field_name, attrib_name, attrib_value)
 Read the attribute attrib_name from the field field_name at the current timestep, and store the int64 value in attrib_value.
INTEGER *8 function h5bl_readfieldattrib_r8 (filehandle, field_name, attrib_name, attrib_value)
 Read the attribute attrib_name from the field field_name at the current timestep, and store the float64 value in attrib_value.
INTEGER *8 function h5bl_readfieldattrib_string (filehandle, field_name, attrib_name, attrib_value)
 Read the attribute attrib_name from the field field_name at the current timestep, and store the string value in attrib_value.
INTEGER *8 function h5bl_writefieldattrib_i4 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 See H5BlockWriteFieldAttribInt32.
INTEGER *8 function h5bl_writefieldattrib_i8 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 See H5BlockWriteFieldAttribInt64.
INTEGER *8 function h5bl_writefieldattrib_r4 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 See H5BlockWriteFieldAttribFloat32.
INTEGER *8 function h5bl_writefieldattrib_r8 (filehandle, field_name, attrib_name, attrib_value, attrib_nelem)
 See H5BlockWriteFieldAttribFloat64.
INTEGER *8 function h5bl_writefieldattrib_string (filehandle, field_name, attrib_name, attrib_value)
 See H5BlockWriteFieldAttribString.

Function Documentation

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
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
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
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
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
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
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
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
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
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
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
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
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
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