{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "e02edab2", "metadata": {}, "outputs": [], "source": [ "import h5py" ] }, { "cell_type": "code", "execution_count": 2, "id": "8647ba47", "metadata": {}, "outputs": [], "source": [ "h5_file = \"/home/user/data/PHMbenchdata/PHM-Vibench/metadata_5_29.h5\"\n", "h5 = h5py.File(h5_file, 'r')\n", "# analyze_hdf5_dataset(h5_file)" ] }, { "cell_type": "markdown", "id": "3ecebef1", "metadata": {}, "source": [ "## single fix" ] }, { "cell_type": "code", "execution_count": 3, "id": "c1ab2d25", "metadata": {}, "outputs": [], "source": [ "h5_file = \"/home/user/data/PHMbenchdata/PHM-Vibench/metadata_5_29.h5\"\n", "h5 = h5py.File(h5_file, 'r')\n", "h6_file = \"/home/user/data/PHMbenchdata/PHM-Vibench/metadata_6_1.h5\"\n", "h6 = h5py.File(h6_file, 'r')" ] }, { "cell_type": "code", "execution_count": 4, "id": "5919b4ac", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "id = '47064'\n", "# h5[id],\n", "h6[id]" ] }, { "cell_type": "code", "execution_count": 5, "id": "bbc401df", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "(49653, 49875)" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "len(h5), len(h6)" ] }, { "cell_type": "code", "execution_count": 24, "id": "29a1068e", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ " 0%| | 0/49653 [00:00