specint_to_specgrid

The specint_to_specgrid tool packages together multiple specint files to make a spectroscopic grid, writing it to a specgrid. It accepts the following command-line arguments:

<manifest_file_name>

Name of input manifest file (see below).

<specgrid_file_name>

Name of output specgrid file.

<allow_dupes> (optional)

Flag governing handling of duplicate grid nodes in the manifest file; set to T to allow duplicates.

The manifest file is a simple text file that lists all the specint files (one per line) that should be included in the grid. The axes and the topology of the grid are automatically determined by the labels attached to each specint file. If two files have identical labels, then the one appearing later in the manifest file is used if <allow_dupes> is T; otherwise, an error is thrown.