hdf5scan move get_valid_entries to public

3 jobs for add_hdf5 in 1 minute and 9 seconds (queued for 1 second)