Patch for HDF

Add getLocalityInfomation() for HDF4