Bugs: dmtype2split
Table of Contents
Caveats
Caveats
Does not support files with string columns
dmtype2split does not support files with string columns. They must be removed from the file for dmtype2split to reformat the remaining columns.
The extension name for the output file must be included as part of the output file name(s).
Since dmtype2split is used for many different types of files it does not set the extension name, rather leaving it up to the user to specify. If the block name is omitted, the basename (no path) of the file name is used.
unix% dmtype2split "pha2[#row=1]" pha1 unix% dmlist pha1 blocks -------------------------------------------------------------------------------- Dataset: pha1 -------------------------------------------------------------------------------- Block Name Type Dimensions -------------------------------------------------------------------------------- Block 1: PRIMARY Null Block 2: pha1 Table 7 cols x 8192 rows
Workaround:
As some analysis systems require certain files to contain specific block names to comply with different standards, the block name may need to be set as shown below
unix% dmtype2split "pha2[#row=1]" "pha1[SPECTRUM]" unix% dmlist pha1 blocks -------------------------------------------------------------------------------- Dataset: pha1 -------------------------------------------------------------------------------- Block Name Type Dimensions -------------------------------------------------------------------------------- Block 1: PRIMARY Null Block 2: SPECTRUM Table 7 cols x 8192 rows