create a higher rank dataset with dim 1 being a bundle dimension. Each dataset must have the same length. Note this was created before BUNDLE_1 and bundle descriptor datasets were introduced, so this code is suspect. TODO: review and ensure compatibility with updates to bundle dataset semantics. Copied from JoinDataSet in June 2009 Modification History:
add the dataset to the bundle of datasets. Currently this implementation only supports rank N-1 datasets (N is this dataset's rank), but the QDataSet spec allows for qube datasets of any rank>1 to be bundled. This limitation will be removed in a future version. (Note QDataSet changes http://autoplot.org/QDataSet#2011-Apr-13)
return a BundleDataSet for bundling rank 0 datasets. The result will be a rank 1 datasets with BUNDLE_0 non-null.
return a BundleDataSet for bundling rank 1 datasets. The result will be a rank 2 datasets with BUNDLE_1 non-null.
allow to simply unbundle the dataset. If the bundle has DEPEND_0, then DEPEND_0 may be added to the result.