Change HDF open statements to read only