Skip to content

Commit

Permalink
refs #539, fixes #169 brief description of cnxvalidate and punx
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 28, 2017
1 parent 1b4457d commit 6819719
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 25 deletions.
71 changes: 47 additions & 24 deletions manual/source/utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,29 +97,6 @@ links to further information, as available.
All of these concepts are discussed in detail in the documentation
provided with the source code.

.. index::
validation
file; validate
nxvalidate (utility)
cnxvalidate
see: cnxvalidate; nxvalidate (utility)

.. _cnxvalidate:

**nxvalidate**
The **nxvalidate** code has been re-written entirely in C,
to rely on the NXDL class files (base classes and application definitions).
The new code is called **cnxvalidate**.

From the :ref:`nxvalidate` source code documentation:

"This is the first version of **nxvalidate** written in C.
Its dependencies are libxml2 and the HDF5 libraries, version 1.8.9 or better.
Its purpose is to validate HDF5 files against NeXus application definitions."

Note: this tool is lives in its own GitHub repository: [#]_ **cnxvalidate**.

.. [#] **cnxvalidate**: https://github.com/nexusformat/cnxvalidate

.. index::
plotting
Expand All @@ -136,10 +113,56 @@ links to further information, as available.
single: software
single: data analysis software

Validation
##########

The list of applications below are for validating NeXus files.
The list is not intended to be a complete list of all available packages.

.. index::
validation
file; validate
nxvalidate (utility)

.. _nxvalidate:

**nxvalidate**
From the source code documentation:

*"This is the first version of nxvalidate written in C.
Its dependencies are libxml2 and the HDF5 libraries,
version 1.8.9 or better. Its purpose is to validate HDF5
data files against NeXus application definitions."*

Note: this tool is lives in its own GitHub repository **cnxvalidate**:
https://github.com/nexusformat/cnxvalidate.git

.. index::
validation
file; validate
punx (utility)

.. _punx:

**punx**
Python Utilities for NeXus HDF5 files

**punx** can validate
both NXDL files and NeXus HDF5 data files, as well as print
the structure of any HDF5 file, even non-NeXus files.

NOTE: project is under initial construction,
not yet released for public use, but is useful in its
present form (version 0.0.9).

See the program documentation for more details:
https://punx.readthedocs.io
+
Data Analysis
#############

The list of applications below are some of the utilities that have been developed (or modified) to read/write NeXus files
The list of applications below are some of the utilities that have been
developed (or modified) to read/write NeXus files
as a data format. It is not intended to be a complete list of all available packages.

.. index::
Expand Down
31 changes: 30 additions & 1 deletion manual/source/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,45 @@ a laboratory, or even an entire user facility.
.. index::
nxvalidate


.. TODO
Chapter should describe how data files are verified (validated)
for conformance to the NeXus standard.
Additional expectation for this chapter
is a description of how validation works.
.. _nxvalidate:

nxvalidate
##########

The :ref:`cnxvalidate <cnxvalidate>` utility [#]_, new in 2016, is available for testing.
The new nxvalidate utility is available for testing from https://github.com/nexusformat/cnxvalidate
For the moment, the most recent documentation is served from the GitHub web site.

This utility only works on HDF5 files and is aimed
to be faster, simpler, more portable and robust than
previous programmes for NeXus file validation.

.. [#] :ref:`cnxvalidate <cnxvalidate>`: from https://github.com/nexusformat/cnxvalidate
.. _punx:

punx
####

Python Utilities for NeXus HDF5 files

**punx** can validate
both NXDL files and NeXus HDF5 data files, as well as print
the structure of any HDF5 file, even non-NeXus files.

NOTE: project is under initial construction,
not yet released for public use, but is useful in its
present form (version 0.0.9).

See the program documentation for more details:
https://punx.readthedocs.io

0 comments on commit 6819719

Please sign in to comment.