Skip to main content

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:

  1. 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.
  2. 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.
  3. FAIR principles: The database (content) is designed to be Findable, Accessible, Interoperable, and Reusable (FAIR).
  4. Extensibility: The database is designed to be extensible, allowing for the addition of new data and metadata as needed.
  5. Open access: The database is openly accessible to anyone, promoting transparency and collaboration in research.
  6. 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:

  1. Download the configuration (https://doi.org/10.5281/zenodo.18349358)
  2. Download the metadata files defined in the configuration
  3. Load the metadata into an RDF store
  4. Query the metadata to identify relevant data files
  5. 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

streamlit viewer screenshot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencefadb-1.0.2.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencefadb-1.0.2-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

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

Hashes for opencefadb-1.0.2.tar.gz
Algorithm Hash digest
SHA256 33c78f80f9c83b408bcdf73ffc4f245c6871ebebde3c5ede5c2a8d02079bcca5
MD5 67a64204dd6db99c5a20b810e4121a86
BLAKE2b-256 736c87750c55d41357ae341ec90a236932bbde63c6643dccbc882df5e54d580d

See more details on using hashes here.

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

Hashes for opencefadb-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d3e77a343c06b8407ef1442b3fb40401917f6bbc8d36de7c5acb84ba677816b
MD5 eb110c6e3ce28a37d89b89d7c92a6721
BLAKE2b-256 2fa8e99156ab23e0f3413fa2ca74bd944cfb7ff2bdc0401209a11b01cb37a285

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page