{ "cells": [ { "cell_type": "markdown", "id": "b48c6c14-8d8f-4355-9ec7-fc0391af5d88", "metadata": {}, "source": [ "# Using HDF5 file(s) as a database\n", "\n", "HDF files can be considered databases itself, however `h5py` does not implementation query functions. This chapter will take you through everything you need to know to find data within one or more HDF5 files based on attributes or properties. The explanation will be conducted using practical examples.\n", "\n", "In addition to the normal import, we will need some tutorial data:" ] }, { "cell_type": "code", "execution_count": 1, "id": "2b901cbd-b051-49c0-a82c-1c31ecda5ea6", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "using(\"h5py\")" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "import h5rdmtoolbox as h5tbx\n", "from h5rdmtoolbox import tutorial\n", "\n", "h5tbx.use(None)" ] }, { "cell_type": "markdown", "id": "1daa3eeb-b33a-4c31-82e6-8a428aed276e", "metadata": {}, "source": [ "## Test file\n", "\n", "Throughout this section the following test file will be used:" ] }, { "cell_type": "code", "execution_count": 2, "id": "b02c0d3b-1695-4106-afe6-808f54118190", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "