Scroll to navigation

NXTRANSLATE(1) General Commands Manual NXTRANSLATE(1)

NAME

nxtranslate - convert anything into a NeXus file

SYNOPSIS

nxtranslate [options] [--hd4|--hdf5|--xml] [infile] [-o|--append outfile]

DESCRIPTION

nxtranslate is an anything to NeXus converter. This is accomplished by using translation files and a plugin style of architecture where nxtranslate can read from new formats as plugins become available. This document describes the usage of nxtranslate by three types of individuals: the person using existing translation files to create NeXus files, the person creating translation files, and the person writing new Retrievers. All of these concepts are discussed in detail.

OPTIONS

The following options are supported

Print out the help message and exit
Print out the version and exit
Specify output file. The default is the translation file with ".nxs" appended.
Specify appending to the output file.
Write file using the hdf4 base.
Write file using the hdf5 base.
Write file using the xml base.
Specify a macro. The macro should be in the form of "FILE=old_nexus.nxs". The "=" is required.

SEE ALSO

nxconvert(1), nxdir(1), http://www.nexusformat.org

AUTHOR

nxtranslate was originally written by Peter Peterson <petersonpf@ornl.gov> and may be used by others.

October 2011