Python interface to the Open Centrifugal Fan Database (OpenCeFaDB).
Project description
____ _____ ______ _____ ____
/ __ \ / ____| | ____| | __ \| _ \
| | | |_ __ ___ _ __ | | ___| |__ __ _| | | | |_) |
| | | | '_ \ / _ \ '_ \| | / _ \ __/ _` | | | | _ <
| |__| | |_) | __/ | | | |___| __/ | | (_| | |__| | |_) |
\____/| .__/ \___|_| |_|\_____\___|_| \__,_|_____/|____/
| |
|_|
A FAIR Database for a Generic Centrifugal Fan
The openCeFaDB package provides access and interface to the OpenCeFaDB, a database for a generic centrifugal fan,
which focuses on accomplishing the FAIR principles in the database design.
Data is published on Zenodo, which contains raw data as HDF5 files together with the metadata in RDF/Turtle format.
The key design is to work with the (semantic) metadata to identify relevant data files for further analysis. Here are the main features of the database:
- Separation of data and metadata: The actual data files (HDF5) are separated from the metadata (RDF/Turtle). This allows flexible and efficient querying of metadata without the need to load large data files.
- Use of standard formats: The database uses standard formats for both data (HDF5) and metadata (RDF/Turtle), which ensures compatibility with a wide range of tools and software.
- FAIR principles: The database (content) is designed to be Findable, Accessible, Interoperable, and Reusable (FAIR).
- Extensibility: The database is designed to be extensible, allowing for the addition of new data and metadata as needed.
- Open access: The database is openly accessible to anyone, promoting transparency and collaboration in research.
- Comprehensive metadata: The metadata includes detailed information about the data, including its provenance, and context, which enhances its usability and reusability.
In principle, the database interface provided through this package allows users to work with any RDF data. In order to narrow down the scope, the OpenCeFaDB defines a configuration file, which describes the files, that are relevant for the database.
Working with the OpenCeFaDB
The following steps are needed to work with the OpenCeFaDB:
- Download the configuration (https://doi.org/10.5281/zenodo.18349358)
- Download the metadata files defined in the configuration
- Load the metadata into an RDF store
- Query the metadata to identify relevant data files
- Download the relevant raw (hdf) data files for further analysis
Since this above steps may require seme technical knowledge and knowledge about RDF stores, this repository provides ready-to-use commands and functions to perform these tasks. We recommend using the command line interface (CLI) for initial setup of the database.
Install the package
The package is available via PyPI. You can install it via pip:
pip install opencefadb
Quickstart
A quickstart guide is provided as Jupyter Notebook in the notebooks/ folder.
Database Analysis
The further analysis should be made in Python scripts or Jupyter Notebooks.
Viewer (experimental!)
The package also provides a simple viewer to explore the metadata in a streamlit app:
The viewer provides an easy-to-use interface to explore the metadata and identify relevant data files for further analysis. Upload options are provided to load the metadata from a local RDF store (GraphDB) or a SPARQL endpoint.
opencefadb viewer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opencefadb-1.0.2.tar.gz.
File metadata
- Download URL: opencefadb-1.0.2.tar.gz
- Upload date:
- Size: 74.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33c78f80f9c83b408bcdf73ffc4f245c6871ebebde3c5ede5c2a8d02079bcca5
|
|
| MD5 |
67a64204dd6db99c5a20b810e4121a86
|
|
| BLAKE2b-256 |
736c87750c55d41357ae341ec90a236932bbde63c6643dccbc882df5e54d580d
|
File details
Details for the file opencefadb-1.0.2-py3-none-any.whl.
File metadata
- Download URL: opencefadb-1.0.2-py3-none-any.whl
- Upload date:
- Size: 79.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d3e77a343c06b8407ef1442b3fb40401917f6bbc8d36de7c5acb84ba677816b
|
|
| MD5 |
eb110c6e3ce28a37d89b89d7c92a6721
|
|
| BLAKE2b-256 |
2fa8e99156ab23e0f3413fa2ca74bd944cfb7ff2bdc0401209a11b01cb37a285
|