Authors: Jan Kotanski
NeXuS BlissData Writer Server is a Tango Server which allows to write NeXus file from (meta)data stored in BlissData by NXSDataWriter tango server
Tango Server API: https://nexdatas.github.io/nxsblisswriter/doc_html
Install the dependencies:
Download the latest version of NeXuS Configuration Server from
Extract the sources and run
$ python setup.py installDebian Trixie, Bookworm, Bullseye and as well as Ubuntu Questing, Noble, Jammy packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpgand then download the corresponding source list, e.g. for trixie
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/trixie-pni-hdri.sourcesFinally,
$ apt-get update
$ apt-get install python3-nxsblisswriterand the NXSBlissWriter tango server (from 2.10.0)
$ apt-get install nxsblisswriter
To install it from pip you need pymysqldb e.g.
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install nxsblisswriterMoreover it is also good to install
$ pip install pytango
$ pip install nxstoolsTo set up NeXus Blissdata WriterServer with the default configuration run
$ nxsetup -x NXSBlissWriterThe nxsetup command comes from the python-nxstools package.