Delegate DatasetHdf5Matcher
Decides, from the root group of an HDF5 file, whether the file belongs to a particular product. Contributed per ProductRegistration so an HDF5 product is recognized in the same place it is constructed — the HDF5 sibling of DatasetIso8211Matcher and DatasetGmlMatcher. The factory opens the file once (see Hdf5RootInfo) and returns the spec of the first registered product whose matcher claims it; an HDF5 file nobody claims is unknown.
Matchers must be mutually exclusive: the S-100 coverage products each
claim the files whose root productSpecification attribute declares
them (S-100 Part 10c), so the result does not depend on the order
registrations are enumerated.
public delegate bool DatasetHdf5Matcher(Hdf5RootInfo root)
Parameters
rootHdf5RootInfoA view of the file's root group, valid only during the call.
Returns
- bool
- Decides, from the root group of an HDF5 file, whether the file belongs to a particular product. Contributed per so an HDF5 product is recognized in the same place it is constructed — the HDF5 sibling of and . The factory opens the file once (see ) and returns the spec of the first registered product whose matcher claims it; an HDF5 file nobody claims is unknown. Matchers must be mutually exclusive: the S-100 coverage products each claim the files whose root productSpecification attribute declares them (S-100 Part 10c), so the result does not depend on the order registrations are enumerated.