H5Z.filter_avail

Determine if filter is available

Syntax

output = H5Z.filter_avail(filter_id)

Description

output = H5Z.filter_avail(filter_id) determines whether the filter specified by the filter identifier is available to the application. filter_id can be specified by one of the following character vectors or string scalars, or its numeric equivalent.

'H5Z_FILTER_DEFLATE'
'H5Z_FILTER_SHUFFLE'
'H5Z_FILTER_FLETCHER32'
'H5Z_FILTER_SZIP'
'H5Z_FILTER_NBIT'
'H5Z_FILTER_SCALEOFFSET'

Examples

Determine if the shuffle filter is available.

bool = H5Z.filter_avail('H5Z_FILTER_SHUFFLE');