Bugs: dmtype2split
Caveats
The extension name for the output file must be included as part of the output file name(s). (14 Sep 2012)
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

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)