if (imageReader instanceof HDF4TeraScanImageReader) {
final HDF4TeraScanImageReader reader = (HDF4TeraScanImageReader) imageReader;
final int numAttributes = reader.getNumGlobalAttributes();
try {
for (int i = 0; i < numAttributes; i++) {
final KeyValuePair keyValuePair = reader.getGlobalAttribute(i);
String attribName = keyValuePair.getKey();
final String attribValue = keyValuePair.getValue();
// //
// Note: IIOMetadata doesn't allow to set attribute name
// containing "\". Therefore we replace that char
// //
if (attribName.contains("\\"))