Python client to ICAT+
Project description
PyIcat-Plus
A python client for ICAT+.
Getting started
Register raw datasets with ICAT
icat-store-raw --beamline id00 \
--proposal id002207 \
--path /data/visitor/path/to/dataset1 \
--dataset test1 \
--sample mysample
icat-store-raw --beamline id00 \
--proposal id002207 \
--path /data/visitor/path/to/dataset2 \
--dataset test2 \
--sample mysample
Register processed data with ICAT
icat-store-processed --beamline id00 \
--proposal id002207 \
--path /data/visitor/path/to/processed \
--dataset testproc \
--sample mysample \
--raw /data/visitor/path/to/dataset1 \
--raw /data/visitor/path/to/dataset2
Test
With threads
python -m pip install -e .[test]
pytest
With gevent
python -m pip install -e .[test]
python -m pip install gevent
python -m gevent.monkey --module pytest
NeXus
Each ICAT field has a NeXus equivalent. Create a NeXus compliant HDF5 file with all ICAT fields:
icat-nexus-definitions [--url https://...]
An example can be found here and opened with myhdf5.
Documentation
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
pyicat_plus-0.2.0rc1.tar.gz
(58.4 kB
view details)
File details
Details for the file pyicat_plus-0.2.0rc1.tar.gz
.
File metadata
- Download URL: pyicat_plus-0.2.0rc1.tar.gz
- Upload date:
- Size: 58.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a8830891032a92f1b58f161c880d3068d027fd681ca1f3dfcceff642219060 |
|
MD5 | 267e3b9ca7faa839a8ad633a690cfa3c |
|
BLAKE2b-256 | f08f5681fd63ad54133fe7127f7c12e128493796c22c8ee8a85e9b99f204758e |