mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r8622] Purpose:
h5dump new version Description: added the changes already made for 1.6 support for dumping of 1) filters 2) storage layout 3) fill value 4) comments 5) superblock 6) file contents 7) array indices Solution: Platforms tested: linux solaris AIX Misc. update:
This commit is contained in:
parent
95da7ce5c4
commit
bad5b7ec31
4
MANIFEST
4
MANIFEST
@ -1311,6 +1311,10 @@
|
||||
./tools/testfiles/tvlstr.ddl
|
||||
./tools/testfiles/tattr2.h5
|
||||
./tools/testfiles/tall-2A.ddl
|
||||
./tools/testfiles/tboot.ddl
|
||||
./tools/testfiles/tcontents.ddl
|
||||
./tools/testfiles/tfilters.h5
|
||||
|
||||
|
||||
# Expected output from h5ls tests
|
||||
./tools/testfiles/help-1.ls
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -68,15 +68,44 @@
|
||||
#define FILE40 "tattr2.h5"
|
||||
#define FILE41 "tcompound_complex.h5"
|
||||
#define FILE42 "tnamed_dtype_attr.h5"
|
||||
#define FILE43 "tvldtypes5.h5"
|
||||
#define FILE43 "tvldtypes5.h5"
|
||||
#define FILE44 "tfilters.h5"
|
||||
|
||||
|
||||
/* prototypes */
|
||||
static int write_attr(hid_t loc_id, int rank, hsize_t *dims, const char *attr_name,
|
||||
/*-------------------------------------------------------------------------
|
||||
* prototypes
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* utility functions */
|
||||
static int
|
||||
write_attr(hid_t loc_id, int rank, hsize_t *dims, const char *attr_name,
|
||||
hid_t type_id, void *buf);
|
||||
static int write_dset( hid_t loc_id, int rank, hsize_t *dims, const char *dset_name,
|
||||
static int
|
||||
write_dset( hid_t loc_id, int rank, hsize_t *dims, const char *dset_name,
|
||||
hid_t type_id, void *buf );
|
||||
|
||||
/* a filter operation callback function */
|
||||
static size_t
|
||||
myfilter(unsigned int UNUSED flags, size_t UNUSED cd_nelmts,
|
||||
const unsigned int UNUSED *cd_values, size_t nbytes,
|
||||
size_t UNUSED *buf_size, void UNUSED **buf);
|
||||
|
||||
/* a "set local" callback */
|
||||
static herr_t
|
||||
set_local_myfilter(hid_t dcpl_id, hid_t type_id, hid_t UNUSED space_id);
|
||||
|
||||
#define MYFILTER_ID 405
|
||||
|
||||
/* This message derives from H5Z */
|
||||
const H5Z_class_t H5Z_MYFILTER[1] = {{
|
||||
MYFILTER_ID, /* Filter id number */
|
||||
"myfilter", /* Filter name for debugging */
|
||||
NULL, /* The "can apply" callback */
|
||||
set_local_myfilter, /* The "set local" callback */
|
||||
myfilter, /* The actual filter function */
|
||||
}};
|
||||
|
||||
|
||||
|
||||
#define LENSTR 50
|
||||
@ -89,6 +118,12 @@ static int write_dset( hid_t loc_id, int rank, hsize_t *dims, const char *dset_n
|
||||
#define SPACE1_RANK 1
|
||||
#define SPACE1_DIM1 4
|
||||
|
||||
#define DIM1 20
|
||||
#define DIM2 10
|
||||
#define CDIM1 DIM1/2
|
||||
#define CDIM2 DIM2/2
|
||||
#define RANK 2
|
||||
|
||||
/* Element selection information */
|
||||
#define POINT1_NPOINTS 10
|
||||
|
||||
@ -4330,6 +4365,499 @@ static void gent_named_dtype_attr(void)
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: make_dset
|
||||
*
|
||||
* Purpose: utility function to create and write a dataset in LOC_ID
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static
|
||||
int make_dset(hid_t loc_id,
|
||||
const char *name,
|
||||
hid_t sid,
|
||||
hid_t dcpl,
|
||||
void *buf)
|
||||
{
|
||||
hid_t dsid;
|
||||
|
||||
/* create the dataset */
|
||||
if((dsid = H5Dcreate (loc_id,name,H5T_NATIVE_INT,sid,dcpl))<0)
|
||||
return -1;
|
||||
|
||||
/* write */
|
||||
if(H5Dwrite(dsid,H5T_NATIVE_INT,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)<0)
|
||||
goto out;
|
||||
|
||||
/* close */
|
||||
if(H5Dclose(dsid)<0)
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
out:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Dclose(dsid);
|
||||
} H5E_END_TRY;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: make_external
|
||||
*
|
||||
* Purpose: make a dataset with external storage
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
make_external(hid_t fid)
|
||||
{
|
||||
hid_t dcpl; /*dataset creation property list */
|
||||
hid_t sid; /*dataspace ID */
|
||||
hid_t dsid; /*dataset ID */
|
||||
hsize_t cur_size[1]; /*data space current size */
|
||||
hsize_t max_size[1]; /*data space maximum size */
|
||||
hsize_t size; /*bytes reserved for data in the external file*/
|
||||
int ret;
|
||||
|
||||
cur_size[0] = max_size[0] = 100;
|
||||
size = (max_size[0]*sizeof(int)/2);
|
||||
|
||||
dcpl=H5Pcreate(H5P_DATASET_CREATE);
|
||||
ret=H5Pset_external(dcpl,"ext1.bin",(off_t)0,size);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_external(dcpl,"ext2.bin",(off_t)0,size);
|
||||
assert(ret>=0);
|
||||
|
||||
sid=H5Screate_simple(1, cur_size, max_size);
|
||||
assert(ret>=0);
|
||||
|
||||
dsid=H5Dcreate(fid, "external", H5T_NATIVE_INT, sid, dcpl);
|
||||
assert(ret>=0);
|
||||
|
||||
H5Dclose(dsid);
|
||||
assert(ret>=0);
|
||||
|
||||
H5Sclose(sid);
|
||||
assert(ret>=0);
|
||||
|
||||
H5Pclose(dcpl);
|
||||
assert(ret>=0);
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: gent_filters
|
||||
*
|
||||
* Purpose: make several datasets with filters, external dataset
|
||||
* fill value
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void gent_filters(void)
|
||||
{
|
||||
hid_t fid; /* file id */
|
||||
hid_t dcpl; /* dataset creation property list */
|
||||
hid_t sid; /* dataspace ID */
|
||||
hid_t sid1; /* dataspace ID */
|
||||
hid_t tid; /* datatype ID */
|
||||
hid_t did; /* dataset ID */
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
unsigned szip_options_mask=H5_SZIP_ALLOW_K13_OPTION_MASK|H5_SZIP_NN_OPTION_MASK;
|
||||
unsigned szip_pixels_per_block=4;
|
||||
#endif
|
||||
hsize_t dims1[RANK]={DIM1,DIM2};
|
||||
hsize_t chunk_dims[RANK]={CDIM1,CDIM2};
|
||||
int buf1[DIM1][DIM2];
|
||||
hsize_t dims2[1]={2};
|
||||
hvl_t buf2[2];
|
||||
hsize_t dims3[1]={1};
|
||||
char buf3[]={"string\n new"};
|
||||
hsize_t dims4[1]={6};
|
||||
char buf4[6]={"abcdef"};
|
||||
hobj_ref_t buf5[2];
|
||||
int i, j, n, ret, fillval, val;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
E_RED,
|
||||
E_GREEN
|
||||
} e_t;
|
||||
|
||||
|
||||
for (i=n=0; i<DIM1; i++){
|
||||
for (j=0; j<DIM2; j++){
|
||||
buf1[i][j]=n++;
|
||||
}
|
||||
}
|
||||
|
||||
/* create a file */
|
||||
fid = H5Fcreate(FILE44, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
|
||||
assert(fid>=0);
|
||||
|
||||
/* create a space */
|
||||
sid = H5Screate_simple(SPACE2_RANK, dims1, NULL);
|
||||
|
||||
/* create a dataset creation property list; the same DCPL is used for all dsets */
|
||||
dcpl = H5Pcreate(H5P_DATASET_CREATE);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* create a compact and contiguous storage layout dataset
|
||||
* add a comment to the datasets
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
ret=H5Pset_layout(dcpl, H5D_COMPACT);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"compact",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Gset_comment(fid,"compact", "This is a dataset with compact storage");
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_layout(dcpl, H5D_CONTIGUOUS);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"contiguous",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Gset_comment(fid,"contiguous", "This is a dataset with contiguous storage");
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* make several dataset with filters
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* set up chunk */
|
||||
ret=H5Pset_chunk(dcpl, SPACE2_RANK, chunk_dims);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* SZIP
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
/* set szip data */
|
||||
ret=H5Pset_szip (dcpl,szip_options_mask,szip_pixels_per_block);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"szip",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* GZIP
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_DEFLATE)
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
/* set deflate data */
|
||||
ret=H5Pset_deflate(dcpl, 9);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"deflate",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* shuffle
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
/* set the shuffle filter */
|
||||
ret=H5Pset_shuffle(dcpl);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"shuffle",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* checksum
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
/* set the checksum filter */
|
||||
ret=H5Pset_fletcher32(dcpl);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"fletcher32",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* all filters
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SHUFFLE)
|
||||
/* set the shuffle filter */
|
||||
ret=H5Pset_shuffle(dcpl);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_SZIP)
|
||||
szip_options_mask=H5_SZIP_CHIP_OPTION_MASK | H5_SZIP_EC_OPTION_MASK;
|
||||
/* set szip data */
|
||||
ret=H5Pset_szip (dcpl,szip_options_mask,szip_pixels_per_block);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_DEFLATE)
|
||||
/* set deflate data */
|
||||
ret=H5Pset_deflate(dcpl, 5);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
#if defined (H5_HAVE_FILTER_FLETCHER32)
|
||||
/* set the checksum filter */
|
||||
ret=H5Pset_fletcher32(dcpl);
|
||||
assert(ret>=0);
|
||||
#endif
|
||||
|
||||
ret=make_dset(fid,"all",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* user defined filter
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
#ifdef H5_WANT_H5_V1_4_COMPAT
|
||||
ret=H5Zregister (MYFILTER_ID, "myfilter", myfilter);
|
||||
#else
|
||||
ret=H5Zregister (H5Z_MYFILTER);
|
||||
#endif
|
||||
assert(ret>=0);
|
||||
|
||||
H5Pset_filter (dcpl, MYFILTER_ID, 0, 0, NULL);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"myfilter",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
/* remove the filters from the dcpl */
|
||||
ret=H5Premove_filter(dcpl,H5Z_FILTER_ALL);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* make an external dataset
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
make_external(fid);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* make datasets with fill value combinations
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
fillval = -99;
|
||||
|
||||
ret=H5Pset_alloc_time(dcpl, H5D_ALLOC_TIME_EARLY);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_fill_time(dcpl, H5D_FILL_TIME_ALLOC);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_fill_value(dcpl, H5T_NATIVE_INT, &fillval);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"fill early",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_fill_time(dcpl, H5D_FILL_TIME_NEVER);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"fill never",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pset_fill_time(dcpl, H5D_FILL_TIME_IFSET);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=make_dset(fid,"fill ifset",sid,dcpl,buf1);
|
||||
assert(ret>=0);
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* commit a H5G_TYPE type with a comment
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
tid=H5Tcopy(H5T_STD_B8LE);
|
||||
ret=H5Tcommit(fid, "my type", tid);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Gset_comment(fid,"my type", "This is a commited datatype");
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* enum type with nonprintable characters in the name
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
tid = H5Tcreate(H5T_ENUM, sizeof(e_t));
|
||||
H5Tenum_insert(tid, "RED 3 \\n", (val = 0, &val));
|
||||
write_dset(fid,2,dims1,"enum",tid,0);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* vlen
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
buf2[0].len = 1;
|
||||
buf2[0].p = malloc( 1 * sizeof(int));
|
||||
((int *)buf2[0].p)[0]=1;
|
||||
buf2[1].len = 2;
|
||||
buf2[1].p = malloc( 2 * sizeof(int));
|
||||
((int *)buf2[1].p)[0]=2;
|
||||
((int *)buf2[1].p)[1]=3;
|
||||
|
||||
sid1=H5Screate_simple(1,dims2,NULL);
|
||||
tid=H5Tvlen_create(H5T_NATIVE_INT);
|
||||
did=H5Dcreate(fid,"vlen",tid,sid1,H5P_DEFAULT);
|
||||
ret=H5Dwrite(did,tid,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf2);
|
||||
assert(ret>=0);
|
||||
ret=H5Tcommit(fid,"myvlen",tid);
|
||||
assert(ret>=0);
|
||||
ret=H5Dvlen_reclaim(tid,sid1,H5P_DEFAULT,buf2);
|
||||
assert(ret>=0);
|
||||
ret=H5Dclose(did);
|
||||
assert(ret>=0);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* bitfield
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
tid = H5Tcopy(H5T_STD_B8LE);
|
||||
write_dset(fid,1,dims3,"bitfield",tid,buf3);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* string
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
tid=H5Tcopy(H5T_C_S1);
|
||||
ret=H5Tset_size(tid, sizeof(buf3));
|
||||
assert(ret>=0);
|
||||
write_dset(fid,1,dims3,"string",tid,buf3);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* char array
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
write_dset(fid,1,dims4,"char",H5T_NATIVE_CHAR,buf4);
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* reference
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
ret=H5Rcreate(&buf5[0],fid,"char",H5R_OBJECT,-1);
|
||||
assert(ret>=0);
|
||||
ret=H5Rcreate(&buf5[1],fid,"string",H5R_OBJECT,-1);
|
||||
assert(ret>=0);
|
||||
write_dset(fid,1,dims2,"reference",H5T_STD_REF_OBJ,buf5);
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
ret=H5Sclose(sid1);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Sclose(sid);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Pclose(dcpl);
|
||||
assert(ret>=0);
|
||||
|
||||
ret=H5Fclose(fid);
|
||||
assert(ret>=0);
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: myfilter
|
||||
*
|
||||
* Purpose: filter operation callback function; the filter does nothing
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
myfilter(unsigned int UNUSED flags, size_t UNUSED cd_nelmts,
|
||||
const unsigned int UNUSED *cd_values, size_t nbytes,
|
||||
size_t UNUSED *buf_size, void UNUSED **buf)
|
||||
{
|
||||
return nbytes;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: set_local_myfilter
|
||||
*
|
||||
* Purpose: filter operation "set local" callback
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
static herr_t
|
||||
set_local_myfilter(hid_t dcpl_id, hid_t UNUSED type_id, hid_t UNUSED space_id)
|
||||
{
|
||||
unsigned flags; /* Filter flags */
|
||||
size_t cd_nelmts=0; /* Number of filter parameters */
|
||||
unsigned cd_values[2]={5,6}; /* Filter parameters */
|
||||
|
||||
/* Get the filter's current parameters */
|
||||
if(H5Pget_filter_by_id(dcpl_id,MYFILTER_ID,&flags,&cd_nelmts,cd_values,0,NULL)<0)
|
||||
return(FAIL);
|
||||
|
||||
cd_nelmts=2;
|
||||
|
||||
/* Modify the filter's parameters for this dataset */
|
||||
if(H5Pmodify_filter(dcpl_id,MYFILTER_ID,flags, cd_nelmts,cd_values)<0)
|
||||
return(FAIL);
|
||||
|
||||
return(SUCCEED);
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: main
|
||||
*
|
||||
@ -4396,6 +4924,8 @@ int main(void)
|
||||
gent_compound_complex();
|
||||
|
||||
gent_named_dtype_attr();
|
||||
|
||||
gent_filters();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -62,8 +62,13 @@ TOOLTEST() {
|
||||
$RUNSERIAL $DUMPER_BIN $@
|
||||
) >$actual 2>$actual_err
|
||||
cat $actual_err >> $actual
|
||||
|
||||
if $CMP $expect $actual; then
|
||||
|
||||
|
||||
if [ ! -f $expect ]; then
|
||||
# Create the expect file if it doesn't yet exist.
|
||||
echo " CREATED"
|
||||
cp $actual $expect
|
||||
elif $CMP $expect $actual; then
|
||||
echo " PASSED"
|
||||
else
|
||||
echo "*FAILED*"
|
||||
@ -92,7 +97,7 @@ TOOLTEST tgroup-2.ddl --group=/g2 --group / -g /y tgroup.h5
|
||||
# test for displaying simple space datasets
|
||||
TOOLTEST tdset-1.ddl tdset.h5
|
||||
# test for displaying selected datasets
|
||||
TOOLTEST tdset-2.ddl -H -d dset1 -d /dset2 -d dset3 --dataset=dset4 tdset.h5
|
||||
TOOLTEST tdset-2.ddl -H -d dset1 -d /dset2 --dataset=dset3 tdset.h5
|
||||
|
||||
# test for displaying attributes
|
||||
TOOLTEST tattr-1.ddl tattr.h5
|
||||
@ -120,7 +125,7 @@ TOOLTEST tcomp-1.ddl tcompound.h5
|
||||
# test for named data types
|
||||
TOOLTEST tcomp-2.ddl -t /type1 --datatype /type2 --datatype=/group1/type3 tcompound.h5
|
||||
# test for unamed type
|
||||
TOOLTEST tcomp-3.ddl -t /#6632 -g /group2 tcompound.h5
|
||||
TOOLTEST tcomp-3.ddl -t /#6632:0 -g /group2 tcompound.h5
|
||||
# test complicated compound datatype
|
||||
TOOLTEST tcomp-4.ddl tcompound_complex.h5
|
||||
|
||||
@ -191,6 +196,13 @@ TOOLTEST tchar1.ddl -r tchar.h5
|
||||
# Missing file name
|
||||
TOOLTEST tnofilename.ddl
|
||||
|
||||
# test for super block
|
||||
TOOLTEST tboot.ddl -H -B -d compact tfilters.h5
|
||||
|
||||
# test for file contents
|
||||
TOOLTEST tcontents.ddl -n tfilters.h5
|
||||
|
||||
|
||||
if test $nerrors -eq 0 ; then
|
||||
echo "All $DUMPER tests passed."
|
||||
fi
|
||||
|
@ -65,7 +65,6 @@ int diff_attr(hid_t loc1_id,
|
||||
char name2[255];
|
||||
int n1, n2, i, j, nfound;
|
||||
H5S_class_t space_type1, space_type2;
|
||||
H5T_class_t tclass1, tclass2;
|
||||
int ret=0;
|
||||
|
||||
if ((n1 = H5Aget_num_attrs(loc1_id))<0)
|
||||
|
@ -43,8 +43,7 @@
|
||||
|
||||
#define ALIGN(A,Z) ((((A) + (Z) - 1) / (Z)) * (Z))
|
||||
|
||||
#define START_OF_DATA 0x0001
|
||||
#define END_OF_DATA 0x0002
|
||||
|
||||
|
||||
/* global variables */
|
||||
int indent;
|
||||
@ -500,7 +499,7 @@ h5tools_simple_prefix(FILE *stream, const h5dump_t *info,
|
||||
* handled correctly.
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
void
|
||||
h5tools_dump_simple_data(FILE *stream, const h5dump_t *info, hid_t container,
|
||||
h5tools_context_t *ctx/*in,out*/, unsigned flags,
|
||||
hsize_t nelmts, hid_t type, void *_mem)
|
||||
|
@ -26,6 +26,8 @@
|
||||
#define ESCAPE_HTML 1
|
||||
#define OPT(X,S) ((X) ? (X) : (S))
|
||||
#define OPTIONAL_LINE_BREAK "\001" /* Special strings embedded in the output */
|
||||
#define START_OF_DATA 0x0001
|
||||
#define END_OF_DATA 0x0002
|
||||
|
||||
/*
|
||||
* Information about how to format output.
|
||||
@ -313,6 +315,9 @@ typedef struct h5dump_t {
|
||||
const char *dset_ptformat_pre;
|
||||
const char *dset_ptformat;
|
||||
|
||||
/*print array indices in output matrix */
|
||||
int pindex;
|
||||
|
||||
} h5dump_t;
|
||||
|
||||
typedef struct dump_header{
|
||||
@ -437,7 +442,7 @@ extern FILE *rawdatastream; /*output stream for raw data */
|
||||
/* taken from h5dump.h*/
|
||||
#define ATTRIBUTE "ATTRIBUTE"
|
||||
#define BLOCK "BLOCK"
|
||||
#define BOOT_BLOCK "BOOT_BLOCK"
|
||||
#define SUPER_BLOCK "SUPER_BLOCK"
|
||||
#define COMPRESSION "COMPRESSION"
|
||||
#define CONCATENATOR "//"
|
||||
#define COMPLEX "COMPLEX"
|
||||
@ -466,6 +471,22 @@ extern FILE *rawdatastream; /*output stream for raw data */
|
||||
#define STRPAD "STRPAD"
|
||||
#define SUBSET "SUBSET"
|
||||
|
||||
#define FILTERS "FILTERS"
|
||||
#define DEFLATE "COMPRESSION DEFLATE"
|
||||
#define DEFLATE_LEVEL "LEVEL"
|
||||
#define SHUFFLE "PREPROCESSING SHUFFLE"
|
||||
#define FLETCHER32 "CHECKSUM FLETCHER32"
|
||||
#define SZIP "COMPRESSION SZIP"
|
||||
#define UNKNOWN_FILTER "UNKNOWN_FILTER"
|
||||
#define STORAGE_LAYOUT "STORAGE_LAYOUT"
|
||||
#define CONTIGUOUS "CONTIGUOUS"
|
||||
#define COMPACT "COMPACT"
|
||||
#define CHUNKED "CHUNKED"
|
||||
#define EXTERNAL_FILE "EXTERNAL_FILE"
|
||||
#define FILLVALUE "FILLVALUE"
|
||||
#define FILE_CONTENTS "FILE_CONTENTS"
|
||||
|
||||
|
||||
#define BEGIN "{"
|
||||
#define END "}"
|
||||
|
||||
@ -480,6 +501,10 @@ extern int h5tools_dump_dset(FILE *stream, const h5dump_t *info, hid_t dset
|
||||
extern int h5tools_dump_mem(FILE *stream, const h5dump_t *info, hid_t obj_id,
|
||||
hid_t type, hid_t space, void *mem, int indentlevel);
|
||||
|
||||
extern void h5tools_dump_simple_data(FILE *stream, const h5dump_t *info, hid_t container,
|
||||
h5tools_context_t *ctx/*in,out*/, unsigned flags,
|
||||
hsize_t nelmts, hid_t type, void *_mem);
|
||||
|
||||
extern int h5tools_canreadf(const char* name,
|
||||
hid_t dcpl_id);
|
||||
|
||||
|
@ -24,31 +24,33 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
|
||||
DATA {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
||||
0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
|
||||
0, 3, 6, 9, 12, 15, 18, 21, 24, 27,
|
||||
0, 4, 8, 12, 16, 20, 24, 28, 32, 36,
|
||||
0, 5, 10, 15, 20, 25, 30, 35, 40, 45,
|
||||
0, 6, 12, 18, 24, 30, 36, 42, 48, 54,
|
||||
0, 7, 14, 21, 28, 35, 42, 49, 56, 63,
|
||||
0, 8, 16, 24, 32, 40, 48, 56, 64, 72,
|
||||
0, 9, 18, 27, 36, 45, 54, 63, 72, 81
|
||||
(0,0) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
(1,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
||||
(2,0) 0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
|
||||
(3,0) 0, 3, 6, 9, 12, 15, 18, 21, 24, 27,
|
||||
(4,0) 0, 4, 8, 12, 16, 20, 24, 28, 32, 36,
|
||||
(5,0) 0, 5, 10, 15, 20, 25, 30, 35, 40, 45,
|
||||
(6,0) 0, 6, 12, 18, 24, 30, 36, 42, 48, 54,
|
||||
(7,0) 0, 7, 14, 21, 28, 35, 42, 49, 56, 63,
|
||||
(8,0) 0, 8, 16, 24, 32, 40, 48, 56, 64, 72,
|
||||
(9,0) 0, 9, 18, 27, 36, 45, 54, 63, 72, 81
|
||||
}
|
||||
ATTRIBUTE "attr1" {
|
||||
DATATYPE H5T_STD_I8BE
|
||||
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
||||
DATA {
|
||||
49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101,
|
||||
32, 111, 102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0
|
||||
(0) 49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117,
|
||||
(11) 116, 101, 32, 111, 102, 32, 100, 115, 101, 116,
|
||||
(21) 49, 46, 49, 46, 49, 0
|
||||
}
|
||||
}
|
||||
ATTRIBUTE "attr2" {
|
||||
DATATYPE H5T_STD_I8BE
|
||||
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
||||
DATA {
|
||||
50, 110, 100, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101,
|
||||
32, 111, 102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0
|
||||
(0) 50, 110, 100, 32, 97, 116, 116, 114, 105, 98, 117,
|
||||
(11) 116, 101, 32, 111, 102, 32, 100, 115, 101, 116,
|
||||
(21) 49, 46, 49, 46, 49, 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -56,8 +58,7 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 20 ) / ( 20 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
19
|
||||
(0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -74,16 +75,16 @@ GROUP "/" {
|
||||
DATATYPE H5T_IEEE_F32BE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
|
||||
(0) 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
|
||||
}
|
||||
}
|
||||
DATASET "dset2.2" {
|
||||
DATATYPE H5T_IEEE_F32BE
|
||||
DATASPACE SIMPLE { ( 3, 5 ) / ( 3, 5 ) }
|
||||
DATA {
|
||||
0, 0.1, 0.2, 0.3, 0.4,
|
||||
0, 0.2, 0.4, 0.6, 0.8,
|
||||
0, 0.3, 0.6, 0.9, 1.2
|
||||
(0,0) 0, 0.1, 0.2, 0.3, 0.4,
|
||||
(1,0) 0, 0.2, 0.4, 0.6, 0.8,
|
||||
(2,0) 0, 0.3, 0.6, 0.9, 1.2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ DATASET "/g2/dset2.1" {
|
||||
DATATYPE H5T_IEEE_F32BE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
|
||||
(0) 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
|
||||
}
|
||||
}
|
||||
SOFTLINK "/g1/g1.2/g1.2.1/slink" {
|
||||
|
@ -11,23 +11,25 @@ DATASET "/g1/g1.1/dset1.1.1" {
|
||||
COUNT ( 3, 2 );
|
||||
BLOCK ( 1, 1 );
|
||||
DATA {
|
||||
1, 3, 5, 4, 12, 20
|
||||
(0,0) 1, 3, 5, 4, 12, 20
|
||||
}
|
||||
}
|
||||
ATTRIBUTE "attr1" {
|
||||
DATATYPE H5T_STD_I8BE
|
||||
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
||||
DATA {
|
||||
49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111,
|
||||
102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0
|
||||
(0) 49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117, 116,
|
||||
(12) 101, 32, 111, 102, 32, 100, 115, 101, 116, 49, 46, 49, 46,
|
||||
(25) 49, 0
|
||||
}
|
||||
}
|
||||
ATTRIBUTE "attr2" {
|
||||
DATATYPE H5T_STD_I8BE
|
||||
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
||||
DATA {
|
||||
50, 110, 100, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111,
|
||||
102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0
|
||||
(0) 50, 110, 100, 32, 97, 116, 116, 114, 105, 98, 117, 116,
|
||||
(12) 101, 32, 111, 102, 32, 100, 115, 101, 116, 49, 46, 49, 46,
|
||||
(25) 49, 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ DATASET "/g1/g1.1/dset1.1.2" {
|
||||
COUNT ( 10 );
|
||||
BLOCK ( 1 );
|
||||
DATA {
|
||||
0, 2, 4, 6, 8, 10, 12, 14, 16, 18
|
||||
(0) 0, 2, 4, 6, 8, 10, 12, 14, 16, 18
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ GROUP "/" {
|
||||
DATATYPE H5T_ARRAY { [4] H5T_STD_I32LE }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ 0, 1, 2, 3 ], [ 10, 11, 12, 13 ], [ 20, 21, 22, 23 ],
|
||||
[ 30, 31, 32, 33 ]
|
||||
(0) [ 0, 1, 2, 3 ], [ 10, 11, 12, 13 ], [ 20, 21, 22, 23 ],
|
||||
(3) [ 30, 31, 32, 33 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,54 +7,54 @@ GROUP "/" {
|
||||
DATATYPE H5T_ARRAY { [3][4][5] H5T_STD_I32LE }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ 0, 1, 2, 3, 4,
|
||||
10, 11, 12, 13, 14,
|
||||
20, 21, 22, 23, 24,
|
||||
30, 31, 32, 33, 34,
|
||||
100, 101, 102, 103, 104,
|
||||
110, 111, 112, 113, 114,
|
||||
120, 121, 122, 123, 124,
|
||||
130, 131, 132, 133, 134,
|
||||
200, 201, 202, 203, 204,
|
||||
210, 211, 212, 213, 214,
|
||||
220, 221, 222, 223, 224,
|
||||
230, 231, 232, 233, 234 ],
|
||||
[ 1000, 1001, 1002, 1003, 1004,
|
||||
1010, 1011, 1012, 1013, 1014,
|
||||
1020, 1021, 1022, 1023, 1024,
|
||||
1030, 1031, 1032, 1033, 1034,
|
||||
1100, 1101, 1102, 1103, 1104,
|
||||
1110, 1111, 1112, 1113, 1114,
|
||||
1120, 1121, 1122, 1123, 1124,
|
||||
1130, 1131, 1132, 1133, 1134,
|
||||
1200, 1201, 1202, 1203, 1204,
|
||||
1210, 1211, 1212, 1213, 1214,
|
||||
1220, 1221, 1222, 1223, 1224,
|
||||
1230, 1231, 1232, 1233, 1234 ],
|
||||
[ 2000, 2001, 2002, 2003, 2004,
|
||||
2010, 2011, 2012, 2013, 2014,
|
||||
2020, 2021, 2022, 2023, 2024,
|
||||
2030, 2031, 2032, 2033, 2034,
|
||||
2100, 2101, 2102, 2103, 2104,
|
||||
2110, 2111, 2112, 2113, 2114,
|
||||
2120, 2121, 2122, 2123, 2124,
|
||||
2130, 2131, 2132, 2133, 2134,
|
||||
2200, 2201, 2202, 2203, 2204,
|
||||
2210, 2211, 2212, 2213, 2214,
|
||||
2220, 2221, 2222, 2223, 2224,
|
||||
2230, 2231, 2232, 2233, 2234 ],
|
||||
[ 3000, 3001, 3002, 3003, 3004,
|
||||
3010, 3011, 3012, 3013, 3014,
|
||||
3020, 3021, 3022, 3023, 3024,
|
||||
3030, 3031, 3032, 3033, 3034,
|
||||
3100, 3101, 3102, 3103, 3104,
|
||||
3110, 3111, 3112, 3113, 3114,
|
||||
3120, 3121, 3122, 3123, 3124,
|
||||
3130, 3131, 3132, 3133, 3134,
|
||||
3200, 3201, 3202, 3203, 3204,
|
||||
3210, 3211, 3212, 3213, 3214,
|
||||
3220, 3221, 3222, 3223, 3224,
|
||||
3230, 3231, 3232, 3233, 3234 ]
|
||||
(0) [ 0, 1, 2, 3, 4,
|
||||
%s 10, 11, 12, 13, 14,
|
||||
%s 20, 21, 22, 23, 24,
|
||||
%s 30, 31, 32, 33, 34,
|
||||
%s 100, 101, 102, 103, 104,
|
||||
%s 110, 111, 112, 113, 114,
|
||||
%s 120, 121, 122, 123, 124,
|
||||
%s 130, 131, 132, 133, 134,
|
||||
%s 200, 201, 202, 203, 204,
|
||||
%s 210, 211, 212, 213, 214,
|
||||
%s 220, 221, 222, 223, 224,
|
||||
%s 230, 231, 232, 233, 234 ],
|
||||
(1) [ 1000, 1001, 1002, 1003, 1004,
|
||||
%s 1010, 1011, 1012, 1013, 1014,
|
||||
%s 1020, 1021, 1022, 1023, 1024,
|
||||
%s 1030, 1031, 1032, 1033, 1034,
|
||||
%s 1100, 1101, 1102, 1103, 1104,
|
||||
%s 1110, 1111, 1112, 1113, 1114,
|
||||
%s 1120, 1121, 1122, 1123, 1124,
|
||||
%s 1130, 1131, 1132, 1133, 1134,
|
||||
%s 1200, 1201, 1202, 1203, 1204,
|
||||
%s 1210, 1211, 1212, 1213, 1214,
|
||||
%s 1220, 1221, 1222, 1223, 1224,
|
||||
%s 1230, 1231, 1232, 1233, 1234 ],
|
||||
(2) [ 2000, 2001, 2002, 2003, 2004,
|
||||
%s 2010, 2011, 2012, 2013, 2014,
|
||||
%s 2020, 2021, 2022, 2023, 2024,
|
||||
%s 2030, 2031, 2032, 2033, 2034,
|
||||
%s 2100, 2101, 2102, 2103, 2104,
|
||||
%s 2110, 2111, 2112, 2113, 2114,
|
||||
%s 2120, 2121, 2122, 2123, 2124,
|
||||
%s 2130, 2131, 2132, 2133, 2134,
|
||||
%s 2200, 2201, 2202, 2203, 2204,
|
||||
%s 2210, 2211, 2212, 2213, 2214,
|
||||
%s 2220, 2221, 2222, 2223, 2224,
|
||||
%s 2230, 2231, 2232, 2233, 2234 ],
|
||||
(3) [ 3000, 3001, 3002, 3003, 3004,
|
||||
%s 3010, 3011, 3012, 3013, 3014,
|
||||
%s 3020, 3021, 3022, 3023, 3024,
|
||||
%s 3030, 3031, 3032, 3033, 3034,
|
||||
%s 3100, 3101, 3102, 3103, 3104,
|
||||
%s 3110, 3111, 3112, 3113, 3114,
|
||||
%s 3120, 3121, 3122, 3123, 3124,
|
||||
%s 3130, 3131, 3132, 3133, 3134,
|
||||
%s 3200, 3201, 3202, 3203, 3204,
|
||||
%s 3210, 3211, 3212, 3213, 3214,
|
||||
%s 3220, 3221, 3222, 3223, 3224,
|
||||
%s 3230, 3231, 3232, 3233, 3234 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,90 +7,90 @@ GROUP "/" {
|
||||
DATATYPE H5T_ARRAY { [4] H5T_ARRAY { [6][3] H5T_STD_I32LE } }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ [ 0, 1, 2,
|
||||
10, 11, 12,
|
||||
20, 21, 22,
|
||||
30, 31, 32,
|
||||
40, 41, 42,
|
||||
50, 51, 52 ], [ 100, 101, 102,
|
||||
110, 111, 112,
|
||||
120, 121, 122,
|
||||
130, 131, 132,
|
||||
140, 141, 142,
|
||||
150, 151, 152 ], [ 200, 201, 202,
|
||||
210, 211, 212,
|
||||
220, 221, 222,
|
||||
230, 231, 232,
|
||||
240, 241, 242,
|
||||
250, 251, 252 ], [ 300, 301, 302,
|
||||
310, 311, 312,
|
||||
320, 321, 322,
|
||||
330, 331, 332,
|
||||
340, 341, 342,
|
||||
350, 351, 352 ] ],
|
||||
[ [ 1000, 1001, 1002,
|
||||
1010, 1011, 1012,
|
||||
1020, 1021, 1022,
|
||||
1030, 1031, 1032,
|
||||
1040, 1041, 1042,
|
||||
1050, 1051, 1052 ], [ 1100, 1101, 1102,
|
||||
1110, 1111, 1112,
|
||||
1120, 1121, 1122,
|
||||
1130, 1131, 1132,
|
||||
1140, 1141, 1142,
|
||||
1150, 1151, 1152 ], [ 1200, 1201, 1202,
|
||||
1210, 1211, 1212,
|
||||
1220, 1221, 1222,
|
||||
1230, 1231, 1232,
|
||||
1240, 1241, 1242,
|
||||
1250, 1251, 1252 ], [ 1300, 1301, 1302,
|
||||
1310, 1311, 1312,
|
||||
1320, 1321, 1322,
|
||||
1330, 1331, 1332,
|
||||
1340, 1341, 1342,
|
||||
1350, 1351, 1352 ] ],
|
||||
[ [ 2000, 2001, 2002,
|
||||
2010, 2011, 2012,
|
||||
2020, 2021, 2022,
|
||||
2030, 2031, 2032,
|
||||
2040, 2041, 2042,
|
||||
2050, 2051, 2052 ], [ 2100, 2101, 2102,
|
||||
2110, 2111, 2112,
|
||||
2120, 2121, 2122,
|
||||
2130, 2131, 2132,
|
||||
2140, 2141, 2142,
|
||||
2150, 2151, 2152 ], [ 2200, 2201, 2202,
|
||||
2210, 2211, 2212,
|
||||
2220, 2221, 2222,
|
||||
2230, 2231, 2232,
|
||||
2240, 2241, 2242,
|
||||
2250, 2251, 2252 ], [ 2300, 2301, 2302,
|
||||
2310, 2311, 2312,
|
||||
2320, 2321, 2322,
|
||||
2330, 2331, 2332,
|
||||
2340, 2341, 2342,
|
||||
2350, 2351, 2352 ] ],
|
||||
[ [ 3000, 3001, 3002,
|
||||
3010, 3011, 3012,
|
||||
3020, 3021, 3022,
|
||||
3030, 3031, 3032,
|
||||
3040, 3041, 3042,
|
||||
3050, 3051, 3052 ], [ 3100, 3101, 3102,
|
||||
3110, 3111, 3112,
|
||||
3120, 3121, 3122,
|
||||
3130, 3131, 3132,
|
||||
3140, 3141, 3142,
|
||||
3150, 3151, 3152 ], [ 3200, 3201, 3202,
|
||||
3210, 3211, 3212,
|
||||
3220, 3221, 3222,
|
||||
3230, 3231, 3232,
|
||||
3240, 3241, 3242,
|
||||
3250, 3251, 3252 ], [ 3300, 3301, 3302,
|
||||
3310, 3311, 3312,
|
||||
3320, 3321, 3322,
|
||||
3330, 3331, 3332,
|
||||
3340, 3341, 3342,
|
||||
3350, 3351, 3352 ] ]
|
||||
(0) [ [ 0, 1, 2,
|
||||
%s 10, 11, 12,
|
||||
%s 20, 21, 22,
|
||||
%s 30, 31, 32,
|
||||
%s 40, 41, 42,
|
||||
%s 50, 51, 52 ], [ 100, 101, 102,
|
||||
%s 110, 111, 112,
|
||||
%s 120, 121, 122,
|
||||
%s 130, 131, 132,
|
||||
%s 140, 141, 142,
|
||||
%s 150, 151, 152 ], [ 200, 201, 202,
|
||||
%s 210, 211, 212,
|
||||
%s 220, 221, 222,
|
||||
%s 230, 231, 232,
|
||||
%s 240, 241, 242,
|
||||
%s 250, 251, 252 ], [ 300, 301, 302,
|
||||
%s 310, 311, 312,
|
||||
%s 320, 321, 322,
|
||||
%s 330, 331, 332,
|
||||
%s 340, 341, 342,
|
||||
%s 350, 351, 352 ] ],
|
||||
(1) [ [ 1000, 1001, 1002,
|
||||
%s 1010, 1011, 1012,
|
||||
%s 1020, 1021, 1022,
|
||||
%s 1030, 1031, 1032,
|
||||
%s 1040, 1041, 1042,
|
||||
%s 1050, 1051, 1052 ], [ 1100, 1101, 1102,
|
||||
%s 1110, 1111, 1112,
|
||||
%s 1120, 1121, 1122,
|
||||
%s 1130, 1131, 1132,
|
||||
%s 1140, 1141, 1142,
|
||||
%s 1150, 1151, 1152 ], [ 1200, 1201, 1202,
|
||||
%s 1210, 1211, 1212,
|
||||
%s 1220, 1221, 1222,
|
||||
%s 1230, 1231, 1232,
|
||||
%s 1240, 1241, 1242,
|
||||
%s 1250, 1251, 1252 ], [ 1300, 1301, 1302,
|
||||
%s 1310, 1311, 1312,
|
||||
%s 1320, 1321, 1322,
|
||||
%s 1330, 1331, 1332,
|
||||
%s 1340, 1341, 1342,
|
||||
%s 1350, 1351, 1352 ] ],
|
||||
(2) [ [ 2000, 2001, 2002,
|
||||
%s 2010, 2011, 2012,
|
||||
%s 2020, 2021, 2022,
|
||||
%s 2030, 2031, 2032,
|
||||
%s 2040, 2041, 2042,
|
||||
%s 2050, 2051, 2052 ], [ 2100, 2101, 2102,
|
||||
%s 2110, 2111, 2112,
|
||||
%s 2120, 2121, 2122,
|
||||
%s 2130, 2131, 2132,
|
||||
%s 2140, 2141, 2142,
|
||||
%s 2150, 2151, 2152 ], [ 2200, 2201, 2202,
|
||||
%s 2210, 2211, 2212,
|
||||
%s 2220, 2221, 2222,
|
||||
%s 2230, 2231, 2232,
|
||||
%s 2240, 2241, 2242,
|
||||
%s 2250, 2251, 2252 ], [ 2300, 2301, 2302,
|
||||
%s 2310, 2311, 2312,
|
||||
%s 2320, 2321, 2322,
|
||||
%s 2330, 2331, 2332,
|
||||
%s 2340, 2341, 2342,
|
||||
%s 2350, 2351, 2352 ] ],
|
||||
(3) [ [ 3000, 3001, 3002,
|
||||
%s 3010, 3011, 3012,
|
||||
%s 3020, 3021, 3022,
|
||||
%s 3030, 3031, 3032,
|
||||
%s 3040, 3041, 3042,
|
||||
%s 3050, 3051, 3052 ], [ 3100, 3101, 3102,
|
||||
%s 3110, 3111, 3112,
|
||||
%s 3120, 3121, 3122,
|
||||
%s 3130, 3131, 3132,
|
||||
%s 3140, 3141, 3142,
|
||||
%s 3150, 3151, 3152 ], [ 3200, 3201, 3202,
|
||||
%s 3210, 3211, 3212,
|
||||
%s 3220, 3221, 3222,
|
||||
%s 3230, 3231, 3232,
|
||||
%s 3240, 3241, 3242,
|
||||
%s 3250, 3251, 3252 ], [ 3300, 3301, 3302,
|
||||
%s 3310, 3311, 3312,
|
||||
%s 3320, 3321, 3322,
|
||||
%s 3330, 3331, 3332,
|
||||
%s 3340, 3341, 3342,
|
||||
%s 3350, 3351, 3352 ] ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ GROUP "/" {
|
||||
} }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ {
|
||||
(0) [ {
|
||||
0,
|
||||
0
|
||||
}, {
|
||||
@ -23,7 +23,7 @@ GROUP "/" {
|
||||
3,
|
||||
3
|
||||
} ],
|
||||
[ {
|
||||
(1) [ {
|
||||
10,
|
||||
2.5
|
||||
}, {
|
||||
@ -36,7 +36,7 @@ GROUP "/" {
|
||||
13,
|
||||
5.5
|
||||
} ],
|
||||
[ {
|
||||
(2) [ {
|
||||
20,
|
||||
5
|
||||
}, {
|
||||
@ -49,7 +49,7 @@ GROUP "/" {
|
||||
23,
|
||||
8
|
||||
} ],
|
||||
[ {
|
||||
(3) [ {
|
||||
30,
|
||||
7.5
|
||||
}, {
|
||||
|
@ -10,7 +10,7 @@ GROUP "/" {
|
||||
} }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ {
|
||||
(0) [ {
|
||||
0,
|
||||
[ 0, 1, 2, 3 ]
|
||||
}, {
|
||||
@ -23,7 +23,7 @@ GROUP "/" {
|
||||
3,
|
||||
[ 7.5, 8.5, 9.5, 10.5 ]
|
||||
} ],
|
||||
[ {
|
||||
(1) [ {
|
||||
10,
|
||||
[ 10, 11, 12, 13 ]
|
||||
}, {
|
||||
@ -36,7 +36,7 @@ GROUP "/" {
|
||||
13,
|
||||
[ 17.5, 18.5, 19.5, 20.5 ]
|
||||
} ],
|
||||
[ {
|
||||
(2) [ {
|
||||
20,
|
||||
[ 20, 21, 22, 23 ]
|
||||
}, {
|
||||
@ -49,7 +49,7 @@ GROUP "/" {
|
||||
23,
|
||||
[ 27.5, 28.5, 29.5, 30.5 ]
|
||||
} ],
|
||||
[ {
|
||||
(3) [ {
|
||||
30,
|
||||
[ 30, 31, 32, 33 ]
|
||||
}, {
|
||||
|
@ -7,10 +7,10 @@ GROUP "/" {
|
||||
DATATYPE H5T_ARRAY { [4] H5T_VLEN { H5T_STD_U32LE} }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ (0), (10, 11), (20, 21, 22), (30, 31, 32, 33) ],
|
||||
[ (100, 101), (110, 111, 112), (120, 121, 122, 123), (130, 131, 132, 133, 134) ],
|
||||
[ (200, 201, 202), (210, 211, 212, 213), (220, 221, 222, 223, 224), (230, 231, 232, 233, 234, 235) ],
|
||||
[ (300, 301, 302, 303), (310, 311, 312, 313, 314), (320, 321, 322, 323, 324, 325), (330, 331, 332, 333, 334, 335, 336) ]
|
||||
(0) [ (0), (10, 11), (20, 21, 22), (30, 31, 32, 33) ],
|
||||
(1) [ (100, 101), (110, 111, 112), (120, 121, 122, 123), (130, 131, 132, 133, 134) ],
|
||||
(2) [ (200, 201, 202), (210, 211, 212, 213), (220, 221, 222, 223, 224), (230, 231, 232, 233, 234, 235) ],
|
||||
(3) [ (300, 301, 302, 303), (310, 311, 312, 313, 314), (320, 321, 322, 323, 324, 325), (330, 331, 332, 333, 334, 335, 336) ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ GROUP "/" {
|
||||
DATATYPE H5T_ARRAY { [4] H5T_VLEN { H5T_ARRAY { [4] H5T_STD_U32LE }} }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ ([ 0, 1, 2, 3 ]), ([ 100, 101, 102, 103 ], [ 110, 111, 112, 113 ]), ([ 200, 201, 202, 203 ], [ 210, 211, 212, 213 ], [ 220, 221, 222, 223 ]), ([ 300, 301, 302, 303 ], [ 310, 311, 312, 313 ], [ 320, 321, 322, 323 ], [ 330, 331, 332, 333 ]) ],
|
||||
[ ([ 1000, 1001, 1002, 1003 ], [ 1010, 1011, 1012, 1013 ]), ([ 1100, 1101, 1102, 1103 ], [ 1110, 1111, 1112, 1113 ], [ 1120, 1121, 1122, 1123 ]), ([ 1200, 1201, 1202, 1203 ], [ 1210, 1211, 1212, 1213 ], [ 1220, 1221, 1222, 1223 ], [ 1230, 1231, 1232, 1233 ]), ([ 1300, 1301, 1302, 1303 ], [ 1310, 1311, 1312, 1313 ], [ 1320, 1321, 1322, 1323 ], [ 1330, 1331, 1332, 1333 ], [ 1340, 1341, 1342, 1343 ]) ],
|
||||
[ ([ 2000, 2001, 2002, 2003 ], [ 2010, 2011, 2012, 2013 ], [ 2020, 2021, 2022, 2023 ]), ([ 2100, 2101, 2102, 2103 ], [ 2110, 2111, 2112, 2113 ], [ 2120, 2121, 2122, 2123 ], [ 2130, 2131, 2132, 2133 ]), ([ 2200, 2201, 2202, 2203 ], [ 2210, 2211, 2212, 2213 ], [ 2220, 2221, 2222, 2223 ], [ 2230, 2231, 2232, 2233 ], [ 2240, 2241, 2242, 2243 ]), ([ 2300, 2301, 2302, 2303 ], [ 2310, 2311, 2312, 2313 ], [ 2320, 2321, 2322, 2323 ], [ 2330, 2331, 2332, 2333 ], [ 2340, 2341, 2342, 2343 ], [ 2350, 2351, 2352, 2353 ]) ],
|
||||
[ ([ 3000, 3001, 3002, 3003 ], [ 3010, 3011, 3012, 3013 ], [ 3020, 3021, 3022, 3023 ], [ 3030, 3031, 3032, 3033 ]), ([ 3100, 3101, 3102, 3103 ], [ 3110, 3111, 3112, 3113 ], [ 3120, 3121, 3122, 3123 ], [ 3130, 3131, 3132, 3133 ], [ 3140, 3141, 3142, 3143 ]), ([ 3200, 3201, 3202, 3203 ], [ 3210, 3211, 3212, 3213 ], [ 3220, 3221, 3222, 3223 ], [ 3230, 3231, 3232, 3233 ], [ 3240, 3241, 3242, 3243 ], [ 3250, 3251, 3252, 3253 ]), ([ 3300, 3301, 3302, 3303 ], [ 3310, 3311, 3312, 3313 ], [ 3320, 3321, 3322, 3323 ], [ 3330, 3331, 3332, 3333 ], [ 3340, 3341, 3342, 3343 ], [ 3350, 3351, 3352, 3353 ], [ 3360, 3361, 3362, 3363 ]) ]
|
||||
(0) [ ([ 0, 1, 2, 3 ]), ([ 100, 101, 102, 103 ], [ 110, 111, 112, 113 ]), ([ 200, 201, 202, 203 ], [ 210, 211, 212, 213 ], [ 220, 221, 222, 223 ]), ([ 300, 301, 302, 303 ], [ 310, 311, 312, 313 ], [ 320, 321, 322, 323 ], [ 330, 331, 332, 333 ]) ],
|
||||
(1) [ ([ 1000, 1001, 1002, 1003 ], [ 1010, 1011, 1012, 1013 ]), ([ 1100, 1101, 1102, 1103 ], [ 1110, 1111, 1112, 1113 ], [ 1120, 1121, 1122, 1123 ]), ([ 1200, 1201, 1202, 1203 ], [ 1210, 1211, 1212, 1213 ], [ 1220, 1221, 1222, 1223 ], [ 1230, 1231, 1232, 1233 ]), ([ 1300, 1301, 1302, 1303 ], [ 1310, 1311, 1312, 1313 ], [ 1320, 1321, 1322, 1323 ], [ 1330, 1331, 1332, 1333 ], [ 1340, 1341, 1342, 1343 ]) ],
|
||||
(2) [ ([ 2000, 2001, 2002, 2003 ], [ 2010, 2011, 2012, 2013 ], [ 2020, 2021, 2022, 2023 ]), ([ 2100, 2101, 2102, 2103 ], [ 2110, 2111, 2112, 2113 ], [ 2120, 2121, 2122, 2123 ], [ 2130, 2131, 2132, 2133 ]), ([ 2200, 2201, 2202, 2203 ], [ 2210, 2211, 2212, 2213 ], [ 2220, 2221, 2222, 2223 ], [ 2230, 2231, 2232, 2233 ], [ 2240, 2241, 2242, 2243 ]), ([ 2300, 2301, 2302, 2303 ], [ 2310, 2311, 2312, 2313 ], [ 2320, 2321, 2322, 2323 ], [ 2330, 2331, 2332, 2333 ], [ 2340, 2341, 2342, 2343 ], [ 2350, 2351, 2352, 2353 ]) ],
|
||||
(3) [ ([ 3000, 3001, 3002, 3003 ], [ 3010, 3011, 3012, 3013 ], [ 3020, 3021, 3022, 3023 ], [ 3030, 3031, 3032, 3033 ]), ([ 3100, 3101, 3102, 3103 ], [ 3110, 3111, 3112, 3113 ], [ 3120, 3121, 3122, 3123 ], [ 3130, 3131, 3132, 3133 ], [ 3140, 3141, 3142, 3143 ]), ([ 3200, 3201, 3202, 3203 ], [ 3210, 3211, 3212, 3213 ], [ 3220, 3221, 3222, 3223 ], [ 3230, 3231, 3232, 3233 ], [ 3240, 3241, 3242, 3243 ], [ 3250, 3251, 3252, 3253 ]), ([ 3300, 3301, 3302, 3303 ], [ 3310, 3311, 3312, 3313 ], [ 3320, 3321, 3322, 3323 ], [ 3330, 3331, 3332, 3333 ], [ 3340, 3341, 3342, 3343 ], [ 3350, 3351, 3352, 3353 ], [ 3360, 3361, 3362, 3363 ]) ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
23
tools/testfiles/tboot.ddl
Normal file
23
tools/testfiles/tboot.ddl
Normal file
@ -0,0 +1,23 @@
|
||||
#############################
|
||||
Expected output for 'h5dump -H -B -d compact tfilters.h5'
|
||||
#############################
|
||||
HDF5 "tfilters.h5" {
|
||||
SUPER_BLOCK {
|
||||
SUPERBLOCK_VERSION 0
|
||||
FREELIST_VERSION 0
|
||||
SYMBOLTABLE_VERSION 0
|
||||
OBJECTHEADER_VERSION 0
|
||||
USERBLOCK_VERSION 0
|
||||
OFFSET_SIZE 8
|
||||
LENGTH_SIZE 8
|
||||
BTREE_RANK 16
|
||||
BTREE_LEAF 4
|
||||
FILE_DRIVER H5FD_SEC2
|
||||
ISTORE_K 32
|
||||
}
|
||||
DATASET "compact" {
|
||||
COMMENT "This is a dataset with compact storage"
|
||||
DATATYPE H5T_STD_I32LE
|
||||
DATASPACE SIMPLE { ( 20, 10 ) / ( 20, 10 ) }
|
||||
}
|
||||
}
|
@ -7,11 +7,11 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I8LE
|
||||
DATASPACE SIMPLE { ( 308 ) / ( 308 ) }
|
||||
DATA {
|
||||
"Four score and seven years ago our forefathers brought forth on this "
|
||||
"continent a new nation, conceived in liberty and dedicated to the pro"
|
||||
"position that all men are created equal. Now we are engaged in a grea"
|
||||
"t civil war, testing whether that nation or any nation so conceived a"
|
||||
"nd so dedicated can long endure."
|
||||
(0) Four score and seven years ago our forefathers brought forth on thi"
|
||||
(67) s continent a new nation, conceived in liberty and dedicated to th"
|
||||
(133) e proposition that all men are created equal. Now we are engaged "
|
||||
(198) in a great civil war, testing whether that nation or any nation s"
|
||||
(263) o conceived and so dedicated can long endure."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,27 +15,27 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
0,
|
||||
1
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
1,
|
||||
1,
|
||||
0.5
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
2,
|
||||
4,
|
||||
0.333333
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
3,
|
||||
9,
|
||||
0.25
|
||||
},
|
||||
{
|
||||
(4) {
|
||||
4,
|
||||
16,
|
||||
0.2
|
||||
@ -47,202 +47,202 @@ GROUP "/" {
|
||||
DATATYPE "/type1"
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
{
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
1,
|
||||
1.1
|
||||
},
|
||||
{
|
||||
2,
|
||||
2.2
|
||||
},
|
||||
{
|
||||
3,
|
||||
3.3
|
||||
},
|
||||
{
|
||||
4,
|
||||
4.4
|
||||
}
|
||||
(0) {
|
||||
0,
|
||||
0
|
||||
},
|
||||
(1) {
|
||||
1,
|
||||
1.1
|
||||
},
|
||||
(2) {
|
||||
2,
|
||||
2.2
|
||||
},
|
||||
(3) {
|
||||
3,
|
||||
3.3
|
||||
},
|
||||
(4) {
|
||||
4,
|
||||
4.4
|
||||
}
|
||||
}
|
||||
}
|
||||
DATASET "dset3" {
|
||||
DATATYPE "/type2"
|
||||
DATASPACE SIMPLE { ( 3, 6 ) / ( 3, 6 ) }
|
||||
DATA {
|
||||
{
|
||||
[ 0, 1, 2, 3 ],
|
||||
[ 1, 2, 3, 4, 5, 6,
|
||||
2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10 ]
|
||||
},
|
||||
{
|
||||
[ 1, 2, 3, 4 ],
|
||||
[ 2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11 ]
|
||||
},
|
||||
{
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
{
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
{
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
{
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
{
|
||||
[ 1, 2, 3, 4 ],
|
||||
[ 2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11 ]
|
||||
},
|
||||
{
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
{
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
{
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
{
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
{
|
||||
[ 6, 7, 8, 9 ],
|
||||
[ 7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15,
|
||||
11, 12, 13, 14, 15, 16 ]
|
||||
},
|
||||
{
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
{
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
{
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
{
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
{
|
||||
[ 6, 7, 8, 9 ],
|
||||
[ 7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15,
|
||||
11, 12, 13, 14, 15, 16 ]
|
||||
},
|
||||
{
|
||||
[ 7, 8, 9, 10 ],
|
||||
[ 8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14,
|
||||
10, 11, 12, 13, 14, 15,
|
||||
11, 12, 13, 14, 15, 16,
|
||||
12, 13, 14, 15, 16, 17 ]
|
||||
}
|
||||
(0,0) {
|
||||
[ 0, 1, 2, 3 ],
|
||||
[ 1, 2, 3, 4, 5, 6,
|
||||
%s 2, 3, 4, 5, 6, 7,
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10 ]
|
||||
},
|
||||
(0,1) {
|
||||
[ 1, 2, 3, 4 ],
|
||||
[ 2, 3, 4, 5, 6, 7,
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11 ]
|
||||
},
|
||||
(0,2) {
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
(0,3) {
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
(0,4) {
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
(0,5) {
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
(1,0) {
|
||||
[ 1, 2, 3, 4 ],
|
||||
[ 2, 3, 4, 5, 6, 7,
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11 ]
|
||||
},
|
||||
(1,1) {
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
(1,2) {
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
(1,3) {
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
(1,4) {
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
(1,5) {
|
||||
[ 6, 7, 8, 9 ],
|
||||
[ 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15,
|
||||
%s 11, 12, 13, 14, 15, 16 ]
|
||||
},
|
||||
(2,0) {
|
||||
[ 2, 3, 4, 5 ],
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12 ]
|
||||
},
|
||||
(2,1) {
|
||||
[ 3, 4, 5, 6 ],
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13 ]
|
||||
},
|
||||
(2,2) {
|
||||
[ 4, 5, 6, 7 ],
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14 ]
|
||||
},
|
||||
(2,3) {
|
||||
[ 5, 6, 7, 8 ],
|
||||
[ 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15 ]
|
||||
},
|
||||
(2,4) {
|
||||
[ 6, 7, 8, 9 ],
|
||||
[ 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15,
|
||||
%s 11, 12, 13, 14, 15, 16 ]
|
||||
},
|
||||
(2,5) {
|
||||
[ 7, 8, 9, 10 ],
|
||||
[ 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14,
|
||||
%s 10, 11, 12, 13, 14, 15,
|
||||
%s 11, 12, 13, 14, 15, 16,
|
||||
%s 12, 13, 14, 15, 16, 17 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
DATASET "dset4" {
|
||||
DATATYPE "/group1/type3"
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
{
|
||||
0,
|
||||
3
|
||||
},
|
||||
{
|
||||
1,
|
||||
4
|
||||
},
|
||||
{
|
||||
2,
|
||||
5
|
||||
},
|
||||
{
|
||||
3,
|
||||
6
|
||||
},
|
||||
{
|
||||
4,
|
||||
7
|
||||
}
|
||||
(0) {
|
||||
0,
|
||||
3
|
||||
},
|
||||
(1) {
|
||||
1,
|
||||
4
|
||||
},
|
||||
(2) {
|
||||
2,
|
||||
5
|
||||
},
|
||||
(3) {
|
||||
3,
|
||||
6
|
||||
},
|
||||
(4) {
|
||||
4,
|
||||
7
|
||||
}
|
||||
}
|
||||
}
|
||||
DATATYPE "type3" H5T_COMPOUND {
|
||||
@ -255,26 +255,26 @@ GROUP "/" {
|
||||
DATATYPE "/#6632"
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
{
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
1,
|
||||
0.1
|
||||
},
|
||||
{
|
||||
2,
|
||||
0.2
|
||||
},
|
||||
{
|
||||
3,
|
||||
0.3
|
||||
},
|
||||
{
|
||||
4,
|
||||
0.4
|
||||
}
|
||||
(0) {
|
||||
0,
|
||||
0
|
||||
},
|
||||
(1) {
|
||||
1,
|
||||
0.1
|
||||
},
|
||||
(2) {
|
||||
2,
|
||||
0.2
|
||||
},
|
||||
(3) {
|
||||
3,
|
||||
0.3
|
||||
},
|
||||
(4) {
|
||||
4,
|
||||
0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,33 +1,31 @@
|
||||
#############################
|
||||
Expected output for 'h5dump -t /#6632 -g /group2 tcompound.h5'
|
||||
Expected output for 'h5dump -t /#6632:0 -g /group2 tcompound.h5'
|
||||
#############################
|
||||
HDF5 "tcompound.h5" {
|
||||
DATATYPE "/#6632" H5T_COMPOUND {
|
||||
H5T_STD_I32BE "int";
|
||||
H5T_IEEE_F32BE "float";
|
||||
}
|
||||
DATATYPE "/#6632:0"
|
||||
|
||||
GROUP "/group2" {
|
||||
DATASET "dset5" {
|
||||
DATATYPE "/#6632"
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
1,
|
||||
0.1
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
2,
|
||||
0.2
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
3,
|
||||
0.3
|
||||
},
|
||||
{
|
||||
(4) {
|
||||
4,
|
||||
0.4
|
||||
}
|
||||
@ -35,3 +33,4 @@ GROUP "/group2" {
|
||||
}
|
||||
}
|
||||
}
|
||||
h5dump error: unable to open datatype "/#6632:0"
|
||||
|
@ -25,80 +25,80 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 0, 1, 2, 3, 4, 5,
|
||||
1, 2, 3, 4, 5, 6,
|
||||
2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9 ],
|
||||
%s 1, 2, 3, 4, 5, 6,
|
||||
%s 2, 3, 4, 5, 6, 7,
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9 ],
|
||||
0,
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
|
||||
109
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
1,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 1, 2, 3, 4, 5, 6,
|
||||
2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10 ],
|
||||
%s 2, 3, 4, 5, 6, 7,
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10 ],
|
||||
0.96,
|
||||
[ 1024.96, 1024.96, 1024.96, 1024.96, 1024.96, 1024.96, 1024.96, 1024.96, 1024.96, 1024.96 ],
|
||||
109
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
2,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 2, 3, 4, 5, 6, 7,
|
||||
3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11 ],
|
||||
%s 3, 4, 5, 6, 7, 8,
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11 ],
|
||||
1.92,
|
||||
[ 2049.93, 2049.93, 2049.93, 2049.93, 2049.93, 2049.93, 2049.93, 2049.93, 2049.93, 2049.93 ],
|
||||
109
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
3,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 3, 4, 5, 6, 7, 8,
|
||||
4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12 ],
|
||||
%s 4, 5, 6, 7, 8, 9,
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12 ],
|
||||
2.88,
|
||||
[ 3074.89, 3074.89, 3074.89, 3074.89, 3074.89, 3074.89, 3074.89, 3074.89, 3074.89, 3074.89 ],
|
||||
109
|
||||
},
|
||||
{
|
||||
(4) {
|
||||
4,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 4, 5, 6, 7, 8, 9,
|
||||
5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13 ],
|
||||
%s 5, 6, 7, 8, 9, 10,
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13 ],
|
||||
3.84,
|
||||
[ 4099.85, 4099.85, 4099.85, 4099.85, 4099.85, 4099.85, 4099.85, 4099.85, 4099.85, 4099.85 ],
|
||||
109
|
||||
},
|
||||
{
|
||||
(5) {
|
||||
5,
|
||||
[ "A fight is a contract that takes two people to honor.", "A combative stance means that you've accepted the contract.", "In which case, you deserve what you get.", " -- Professor Cheng Man-ch'ing" ],
|
||||
"Hello!",
|
||||
[ 5, 6, 7, 8, 9, 10,
|
||||
6, 7, 8, 9, 10, 11,
|
||||
7, 8, 9, 10, 11, 12,
|
||||
8, 9, 10, 11, 12, 13,
|
||||
9, 10, 11, 12, 13, 14 ],
|
||||
%s 6, 7, 8, 9, 10, 11,
|
||||
%s 7, 8, 9, 10, 11, 12,
|
||||
%s 8, 9, 10, 11, 12, 13,
|
||||
%s 9, 10, 11, 12, 13, 14 ],
|
||||
4.8,
|
||||
[ 5124.82, 5124.82, 5124.82, 5124.82, 5124.82, 5124.82, 5124.82, 5124.82, 5124.82, 5124.82 ],
|
||||
109
|
||||
|
26
tools/testfiles/tcontents.ddl
Normal file
26
tools/testfiles/tcontents.ddl
Normal file
@ -0,0 +1,26 @@
|
||||
#############################
|
||||
Expected output for 'h5dump -n tfilters.h5'
|
||||
#############################
|
||||
HDF5 "tfilters.h5" {
|
||||
FILE_CONTENTS {
|
||||
dataset /all
|
||||
dataset /bitfield
|
||||
dataset /char
|
||||
dataset /compact
|
||||
dataset /contiguous
|
||||
dataset /deflate
|
||||
dataset /enum
|
||||
dataset /external
|
||||
dataset /fill early
|
||||
dataset /fill ifset
|
||||
dataset /fill never
|
||||
dataset /fletcher32
|
||||
datatype /my type
|
||||
dataset /myfilter
|
||||
datatype /myvlen
|
||||
dataset /reference
|
||||
dataset /shuffle
|
||||
dataset /string
|
||||
dataset /vlen
|
||||
}
|
||||
}
|
@ -7,119 +7,122 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 10, 20 ) / ( 10, 20 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
22,
|
||||
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
23,
|
||||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
||||
24,
|
||||
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||
25,
|
||||
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||
25, 26,
|
||||
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||||
26, 27,
|
||||
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
||||
27, 28
|
||||
(0,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
(0,19) 19,
|
||||
(1,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
(1,19) 20,
|
||||
(2,0) 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
(2,18) 20, 21,
|
||||
(3,0) 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
(3,18) 21, 22,
|
||||
(4,0) 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
(4,18) 22, 23,
|
||||
(5,0) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
(5,18) 23, 24,
|
||||
(6,0) 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
(6,17) 23, 24, 25,
|
||||
(7,0) 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
||||
(7,17) 24, 25, 26,
|
||||
(8,0) 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||
(8,17) 25, 26, 27,
|
||||
(9,0) 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||||
(9,17) 26, 27, 28
|
||||
}
|
||||
}
|
||||
DATASET "dset2" {
|
||||
DATATYPE H5T_IEEE_F64BE
|
||||
DATASPACE SIMPLE { ( 30, 20 ) / ( 30, 20 ) }
|
||||
DATA {
|
||||
0, 0.0001, 0.0002, 0.0003, 0.0004, 0.0005, 0.0006, 0.0007, 0.0008,
|
||||
0.0009, 0.001, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016, 0.0017,
|
||||
0.0018, 0.0019,
|
||||
1, 1.0001, 1.0002, 1.0003, 1.0004, 1.0005, 1.0006, 1.0007, 1.0008,
|
||||
1.0009, 1.001, 1.0011, 1.0012, 1.0013, 1.0014, 1.0015, 1.0016, 1.0017,
|
||||
1.0018, 1.0019,
|
||||
2, 2.0001, 2.0002, 2.0003, 2.0004, 2.0005, 2.0006, 2.0007, 2.0008,
|
||||
2.0009, 2.001, 2.0011, 2.0012, 2.0013, 2.0014, 2.0015, 2.0016, 2.0017,
|
||||
2.0018, 2.0019,
|
||||
3, 3.0001, 3.0002, 3.0003, 3.0004, 3.0005, 3.0006, 3.0007, 3.0008,
|
||||
3.0009, 3.001, 3.0011, 3.0012, 3.0013, 3.0014, 3.0015, 3.0016, 3.0017,
|
||||
3.0018, 3.0019,
|
||||
4, 4.0001, 4.0002, 4.0003, 4.0004, 4.0005, 4.0006, 4.0007, 4.0008,
|
||||
4.0009, 4.001, 4.0011, 4.0012, 4.0013, 4.0014, 4.0015, 4.0016, 4.0017,
|
||||
4.0018, 4.0019,
|
||||
5, 5.0001, 5.0002, 5.0003, 5.0004, 5.0005, 5.0006, 5.0007, 5.0008,
|
||||
5.0009, 5.001, 5.0011, 5.0012, 5.0013, 5.0014, 5.0015, 5.0016, 5.0017,
|
||||
5.0018, 5.0019,
|
||||
6, 6.0001, 6.0002, 6.0003, 6.0004, 6.0005, 6.0006, 6.0007, 6.0008,
|
||||
6.0009, 6.001, 6.0011, 6.0012, 6.0013, 6.0014, 6.0015, 6.0016, 6.0017,
|
||||
6.0018, 6.0019,
|
||||
7, 7.0001, 7.0002, 7.0003, 7.0004, 7.0005, 7.0006, 7.0007, 7.0008,
|
||||
7.0009, 7.001, 7.0011, 7.0012, 7.0013, 7.0014, 7.0015, 7.0016, 7.0017,
|
||||
7.0018, 7.0019,
|
||||
8, 8.0001, 8.0002, 8.0003, 8.0004, 8.0005, 8.0006, 8.0007, 8.0008,
|
||||
8.0009, 8.001, 8.0011, 8.0012, 8.0013, 8.0014, 8.0015, 8.0016, 8.0017,
|
||||
8.0018, 8.0019,
|
||||
9, 9.0001, 9.0002, 9.0003, 9.0004, 9.0005, 9.0006, 9.0007, 9.0008,
|
||||
9.0009, 9.001, 9.0011, 9.0012, 9.0013, 9.0014, 9.0015, 9.0016, 9.0017,
|
||||
9.0018, 9.0019,
|
||||
10, 10.0001, 10.0002, 10.0003, 10.0004, 10.0005, 10.0006, 10.0007,
|
||||
10.0008, 10.0009, 10.001, 10.0011, 10.0012, 10.0013, 10.0014, 10.0015,
|
||||
10.0016, 10.0017, 10.0018, 10.0019,
|
||||
11, 11.0001, 11.0002, 11.0003, 11.0004, 11.0005, 11.0006, 11.0007,
|
||||
11.0008, 11.0009, 11.001, 11.0011, 11.0012, 11.0013, 11.0014, 11.0015,
|
||||
11.0016, 11.0017, 11.0018, 11.0019,
|
||||
12, 12.0001, 12.0002, 12.0003, 12.0004, 12.0005, 12.0006, 12.0007,
|
||||
12.0008, 12.0009, 12.001, 12.0011, 12.0012, 12.0013, 12.0014, 12.0015,
|
||||
12.0016, 12.0017, 12.0018, 12.0019,
|
||||
13, 13.0001, 13.0002, 13.0003, 13.0004, 13.0005, 13.0006, 13.0007,
|
||||
13.0008, 13.0009, 13.001, 13.0011, 13.0012, 13.0013, 13.0014, 13.0015,
|
||||
13.0016, 13.0017, 13.0018, 13.0019,
|
||||
14, 14.0001, 14.0002, 14.0003, 14.0004, 14.0005, 14.0006, 14.0007,
|
||||
14.0008, 14.0009, 14.001, 14.0011, 14.0012, 14.0013, 14.0014, 14.0015,
|
||||
14.0016, 14.0017, 14.0018, 14.0019,
|
||||
15, 15.0001, 15.0002, 15.0003, 15.0004, 15.0005, 15.0006, 15.0007,
|
||||
15.0008, 15.0009, 15.001, 15.0011, 15.0012, 15.0013, 15.0014, 15.0015,
|
||||
15.0016, 15.0017, 15.0018, 15.0019,
|
||||
16, 16.0001, 16.0002, 16.0003, 16.0004, 16.0005, 16.0006, 16.0007,
|
||||
16.0008, 16.0009, 16.001, 16.0011, 16.0012, 16.0013, 16.0014, 16.0015,
|
||||
16.0016, 16.0017, 16.0018, 16.0019,
|
||||
17, 17.0001, 17.0002, 17.0003, 17.0004, 17.0005, 17.0006, 17.0007,
|
||||
17.0008, 17.0009, 17.001, 17.0011, 17.0012, 17.0013, 17.0014, 17.0015,
|
||||
17.0016, 17.0017, 17.0018, 17.0019,
|
||||
18, 18.0001, 18.0002, 18.0003, 18.0004, 18.0005, 18.0006, 18.0007,
|
||||
18.0008, 18.0009, 18.001, 18.0011, 18.0012, 18.0013, 18.0014, 18.0015,
|
||||
18.0016, 18.0017, 18.0018, 18.0019,
|
||||
19, 19.0001, 19.0002, 19.0003, 19.0004, 19.0005, 19.0006, 19.0007,
|
||||
19.0008, 19.0009, 19.001, 19.0011, 19.0012, 19.0013, 19.0014, 19.0015,
|
||||
19.0016, 19.0017, 19.0018, 19.0019,
|
||||
20, 20.0001, 20.0002, 20.0003, 20.0004, 20.0005, 20.0006, 20.0007,
|
||||
20.0008, 20.0009, 20.001, 20.0011, 20.0012, 20.0013, 20.0014, 20.0015,
|
||||
20.0016, 20.0017, 20.0018, 20.0019,
|
||||
21, 21.0001, 21.0002, 21.0003, 21.0004, 21.0005, 21.0006, 21.0007,
|
||||
21.0008, 21.0009, 21.001, 21.0011, 21.0012, 21.0013, 21.0014, 21.0015,
|
||||
21.0016, 21.0017, 21.0018, 21.0019,
|
||||
22, 22.0001, 22.0002, 22.0003, 22.0004, 22.0005, 22.0006, 22.0007,
|
||||
22.0008, 22.0009, 22.001, 22.0011, 22.0012, 22.0013, 22.0014, 22.0015,
|
||||
22.0016, 22.0017, 22.0018, 22.0019,
|
||||
23, 23.0001, 23.0002, 23.0003, 23.0004, 23.0005, 23.0006, 23.0007,
|
||||
23.0008, 23.0009, 23.001, 23.0011, 23.0012, 23.0013, 23.0014, 23.0015,
|
||||
23.0016, 23.0017, 23.0018, 23.0019,
|
||||
24, 24.0001, 24.0002, 24.0003, 24.0004, 24.0005, 24.0006, 24.0007,
|
||||
24.0008, 24.0009, 24.001, 24.0011, 24.0012, 24.0013, 24.0014, 24.0015,
|
||||
24.0016, 24.0017, 24.0018, 24.0019,
|
||||
25, 25.0001, 25.0002, 25.0003, 25.0004, 25.0005, 25.0006, 25.0007,
|
||||
25.0008, 25.0009, 25.001, 25.0011, 25.0012, 25.0013, 25.0014, 25.0015,
|
||||
25.0016, 25.0017, 25.0018, 25.0019,
|
||||
26, 26.0001, 26.0002, 26.0003, 26.0004, 26.0005, 26.0006, 26.0007,
|
||||
26.0008, 26.0009, 26.001, 26.0011, 26.0012, 26.0013, 26.0014, 26.0015,
|
||||
26.0016, 26.0017, 26.0018, 26.0019,
|
||||
27, 27.0001, 27.0002, 27.0003, 27.0004, 27.0005, 27.0006, 27.0007,
|
||||
27.0008, 27.0009, 27.001, 27.0011, 27.0012, 27.0013, 27.0014, 27.0015,
|
||||
27.0016, 27.0017, 27.0018, 27.0019,
|
||||
28, 28.0001, 28.0002, 28.0003, 28.0004, 28.0005, 28.0006, 28.0007,
|
||||
28.0008, 28.0009, 28.001, 28.0011, 28.0012, 28.0013, 28.0014, 28.0015,
|
||||
28.0016, 28.0017, 28.0018, 28.0019,
|
||||
29, 29.0001, 29.0002, 29.0003, 29.0004, 29.0005, 29.0006, 29.0007,
|
||||
29.0008, 29.0009, 29.001, 29.0011, 29.0012, 29.0013, 29.0014, 29.0015,
|
||||
29.0016, 29.0017, 29.0018, 29.0019
|
||||
(0,0) 0, 0.0001, 0.0002, 0.0003, 0.0004, 0.0005, 0.0006, 0.0007, 0.0008,
|
||||
(0,9) 0.0009, 0.001, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016,
|
||||
(0,17) 0.0017, 0.0018, 0.0019,
|
||||
(1,0) 1, 1.0001, 1.0002, 1.0003, 1.0004, 1.0005, 1.0006, 1.0007, 1.0008,
|
||||
(1,9) 1.0009, 1.001, 1.0011, 1.0012, 1.0013, 1.0014, 1.0015, 1.0016,
|
||||
(1,17) 1.0017, 1.0018, 1.0019,
|
||||
(2,0) 2, 2.0001, 2.0002, 2.0003, 2.0004, 2.0005, 2.0006, 2.0007, 2.0008,
|
||||
(2,9) 2.0009, 2.001, 2.0011, 2.0012, 2.0013, 2.0014, 2.0015, 2.0016,
|
||||
(2,17) 2.0017, 2.0018, 2.0019,
|
||||
(3,0) 3, 3.0001, 3.0002, 3.0003, 3.0004, 3.0005, 3.0006, 3.0007, 3.0008,
|
||||
(3,9) 3.0009, 3.001, 3.0011, 3.0012, 3.0013, 3.0014, 3.0015, 3.0016,
|
||||
(3,17) 3.0017, 3.0018, 3.0019,
|
||||
(4,0) 4, 4.0001, 4.0002, 4.0003, 4.0004, 4.0005, 4.0006, 4.0007, 4.0008,
|
||||
(4,9) 4.0009, 4.001, 4.0011, 4.0012, 4.0013, 4.0014, 4.0015, 4.0016,
|
||||
(4,17) 4.0017, 4.0018, 4.0019,
|
||||
(5,0) 5, 5.0001, 5.0002, 5.0003, 5.0004, 5.0005, 5.0006, 5.0007, 5.0008,
|
||||
(5,9) 5.0009, 5.001, 5.0011, 5.0012, 5.0013, 5.0014, 5.0015, 5.0016,
|
||||
(5,17) 5.0017, 5.0018, 5.0019,
|
||||
(6,0) 6, 6.0001, 6.0002, 6.0003, 6.0004, 6.0005, 6.0006, 6.0007, 6.0008,
|
||||
(6,9) 6.0009, 6.001, 6.0011, 6.0012, 6.0013, 6.0014, 6.0015, 6.0016,
|
||||
(6,17) 6.0017, 6.0018, 6.0019,
|
||||
(7,0) 7, 7.0001, 7.0002, 7.0003, 7.0004, 7.0005, 7.0006, 7.0007, 7.0008,
|
||||
(7,9) 7.0009, 7.001, 7.0011, 7.0012, 7.0013, 7.0014, 7.0015, 7.0016,
|
||||
(7,17) 7.0017, 7.0018, 7.0019,
|
||||
(8,0) 8, 8.0001, 8.0002, 8.0003, 8.0004, 8.0005, 8.0006, 8.0007, 8.0008,
|
||||
(8,9) 8.0009, 8.001, 8.0011, 8.0012, 8.0013, 8.0014, 8.0015, 8.0016,
|
||||
(8,17) 8.0017, 8.0018, 8.0019,
|
||||
(9,0) 9, 9.0001, 9.0002, 9.0003, 9.0004, 9.0005, 9.0006, 9.0007, 9.0008,
|
||||
(9,9) 9.0009, 9.001, 9.0011, 9.0012, 9.0013, 9.0014, 9.0015, 9.0016,
|
||||
(9,17) 9.0017, 9.0018, 9.0019,
|
||||
(10,0) 10, 10.0001, 10.0002, 10.0003, 10.0004, 10.0005, 10.0006,
|
||||
(10,7) 10.0007, 10.0008, 10.0009, 10.001, 10.0011, 10.0012, 10.0013,
|
||||
(10,14) 10.0014, 10.0015, 10.0016, 10.0017, 10.0018, 10.0019,
|
||||
(11,0) 11, 11.0001, 11.0002, 11.0003, 11.0004, 11.0005, 11.0006,
|
||||
(11,7) 11.0007, 11.0008, 11.0009, 11.001, 11.0011, 11.0012, 11.0013,
|
||||
(11,14) 11.0014, 11.0015, 11.0016, 11.0017, 11.0018, 11.0019,
|
||||
(12,0) 12, 12.0001, 12.0002, 12.0003, 12.0004, 12.0005, 12.0006,
|
||||
(12,7) 12.0007, 12.0008, 12.0009, 12.001, 12.0011, 12.0012, 12.0013,
|
||||
(12,14) 12.0014, 12.0015, 12.0016, 12.0017, 12.0018, 12.0019,
|
||||
(13,0) 13, 13.0001, 13.0002, 13.0003, 13.0004, 13.0005, 13.0006,
|
||||
(13,7) 13.0007, 13.0008, 13.0009, 13.001, 13.0011, 13.0012, 13.0013,
|
||||
(13,14) 13.0014, 13.0015, 13.0016, 13.0017, 13.0018, 13.0019,
|
||||
(14,0) 14, 14.0001, 14.0002, 14.0003, 14.0004, 14.0005, 14.0006,
|
||||
(14,7) 14.0007, 14.0008, 14.0009, 14.001, 14.0011, 14.0012, 14.0013,
|
||||
(14,14) 14.0014, 14.0015, 14.0016, 14.0017, 14.0018, 14.0019,
|
||||
(15,0) 15, 15.0001, 15.0002, 15.0003, 15.0004, 15.0005, 15.0006,
|
||||
(15,7) 15.0007, 15.0008, 15.0009, 15.001, 15.0011, 15.0012, 15.0013,
|
||||
(15,14) 15.0014, 15.0015, 15.0016, 15.0017, 15.0018, 15.0019,
|
||||
(16,0) 16, 16.0001, 16.0002, 16.0003, 16.0004, 16.0005, 16.0006,
|
||||
(16,7) 16.0007, 16.0008, 16.0009, 16.001, 16.0011, 16.0012, 16.0013,
|
||||
(16,14) 16.0014, 16.0015, 16.0016, 16.0017, 16.0018, 16.0019,
|
||||
(17,0) 17, 17.0001, 17.0002, 17.0003, 17.0004, 17.0005, 17.0006,
|
||||
(17,7) 17.0007, 17.0008, 17.0009, 17.001, 17.0011, 17.0012, 17.0013,
|
||||
(17,14) 17.0014, 17.0015, 17.0016, 17.0017, 17.0018, 17.0019,
|
||||
(18,0) 18, 18.0001, 18.0002, 18.0003, 18.0004, 18.0005, 18.0006,
|
||||
(18,7) 18.0007, 18.0008, 18.0009, 18.001, 18.0011, 18.0012, 18.0013,
|
||||
(18,14) 18.0014, 18.0015, 18.0016, 18.0017, 18.0018, 18.0019,
|
||||
(19,0) 19, 19.0001, 19.0002, 19.0003, 19.0004, 19.0005, 19.0006,
|
||||
(19,7) 19.0007, 19.0008, 19.0009, 19.001, 19.0011, 19.0012, 19.0013,
|
||||
(19,14) 19.0014, 19.0015, 19.0016, 19.0017, 19.0018, 19.0019,
|
||||
(20,0) 20, 20.0001, 20.0002, 20.0003, 20.0004, 20.0005, 20.0006,
|
||||
(20,7) 20.0007, 20.0008, 20.0009, 20.001, 20.0011, 20.0012, 20.0013,
|
||||
(20,14) 20.0014, 20.0015, 20.0016, 20.0017, 20.0018, 20.0019,
|
||||
(21,0) 21, 21.0001, 21.0002, 21.0003, 21.0004, 21.0005, 21.0006,
|
||||
(21,7) 21.0007, 21.0008, 21.0009, 21.001, 21.0011, 21.0012, 21.0013,
|
||||
(21,14) 21.0014, 21.0015, 21.0016, 21.0017, 21.0018, 21.0019,
|
||||
(22,0) 22, 22.0001, 22.0002, 22.0003, 22.0004, 22.0005, 22.0006,
|
||||
(22,7) 22.0007, 22.0008, 22.0009, 22.001, 22.0011, 22.0012, 22.0013,
|
||||
(22,14) 22.0014, 22.0015, 22.0016, 22.0017, 22.0018, 22.0019,
|
||||
(23,0) 23, 23.0001, 23.0002, 23.0003, 23.0004, 23.0005, 23.0006,
|
||||
(23,7) 23.0007, 23.0008, 23.0009, 23.001, 23.0011, 23.0012, 23.0013,
|
||||
(23,14) 23.0014, 23.0015, 23.0016, 23.0017, 23.0018, 23.0019,
|
||||
(24,0) 24, 24.0001, 24.0002, 24.0003, 24.0004, 24.0005, 24.0006,
|
||||
(24,7) 24.0007, 24.0008, 24.0009, 24.001, 24.0011, 24.0012, 24.0013,
|
||||
(24,14) 24.0014, 24.0015, 24.0016, 24.0017, 24.0018, 24.0019,
|
||||
(25,0) 25, 25.0001, 25.0002, 25.0003, 25.0004, 25.0005, 25.0006,
|
||||
(25,7) 25.0007, 25.0008, 25.0009, 25.001, 25.0011, 25.0012, 25.0013,
|
||||
(25,14) 25.0014, 25.0015, 25.0016, 25.0017, 25.0018, 25.0019,
|
||||
(26,0) 26, 26.0001, 26.0002, 26.0003, 26.0004, 26.0005, 26.0006,
|
||||
(26,7) 26.0007, 26.0008, 26.0009, 26.001, 26.0011, 26.0012, 26.0013,
|
||||
(26,14) 26.0014, 26.0015, 26.0016, 26.0017, 26.0018, 26.0019,
|
||||
(27,0) 27, 27.0001, 27.0002, 27.0003, 27.0004, 27.0005, 27.0006,
|
||||
(27,7) 27.0007, 27.0008, 27.0009, 27.001, 27.0011, 27.0012, 27.0013,
|
||||
(27,14) 27.0014, 27.0015, 27.0016, 27.0017, 27.0018, 27.0019,
|
||||
(28,0) 28, 28.0001, 28.0002, 28.0003, 28.0004, 28.0005, 28.0006,
|
||||
(28,7) 28.0007, 28.0008, 28.0009, 28.001, 28.0011, 28.0012, 28.0013,
|
||||
(28,14) 28.0014, 28.0015, 28.0016, 28.0017, 28.0018, 28.0019,
|
||||
(29,0) 29, 29.0001, 29.0002, 29.0003, 29.0004, 29.0005, 29.0006,
|
||||
(29,7) 29.0007, 29.0008, 29.0009, 29.001, 29.0011, 29.0012, 29.0013,
|
||||
(29,14) 29.0014, 29.0015, 29.0016, 29.0017, 29.0018, 29.0019
|
||||
}
|
||||
}
|
||||
DATASET "dset3" {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#############################
|
||||
Expected output for 'h5dump -H -d dset1 -d /dset2 -d dset3 --dataset=dset4 tdset.h5'
|
||||
Expected output for 'h5dump -H -d dset1 -d /dset2 --dataset=dset3 tdset.h5'
|
||||
#############################
|
||||
HDF5 "tdset.h5" {
|
||||
DATASET "dset1" {
|
||||
@ -14,7 +14,4 @@ DATASET "dset3" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE NULL
|
||||
}
|
||||
DATASET "dset4" {
|
||||
}
|
||||
}
|
||||
h5dump error: unable to open dataset "dset4"
|
||||
|
@ -11,16 +11,16 @@ DATASET "/dset1" {
|
||||
COUNT ( 9, 19 );
|
||||
BLOCK ( 1, 1 );
|
||||
DATA {
|
||||
2, 3, 4, 5, 6, 7, 8, 9, 10, 3, 4, 5, 6, 7, 8, 9, 10, 11, 4, 5,
|
||||
6, 7, 8, 9, 10, 11, 12, 5, 6, 7, 8, 9, 10, 11, 12, 13, 6, 7, 8, 9,
|
||||
10, 11, 12, 13, 14, 7, 8, 9, 10, 11, 12, 13, 14, 15, 8, 9, 10, 11, 12,
|
||||
13, 14, 15, 16, 9, 10, 11, 12, 13, 14, 15, 16, 17, 10, 11, 12, 13, 14,
|
||||
15, 16, 17, 18, 11, 12, 13, 14, 15, 16, 17, 18, 19, 12, 13, 14, 15, 16,
|
||||
17, 18, 19, 20, 13, 14, 15, 16, 17, 18, 19, 20, 21, 14, 15, 16, 17, 18,
|
||||
19, 20, 21, 22, 15, 16, 17, 18, 19, 20, 21, 22, 23, 16, 17, 18, 19, 20,
|
||||
21, 22, 23, 24, 17, 18, 19, 20, 21, 22, 23, 24, 25, 18, 19, 20, 21, 22,
|
||||
23, 24, 25, 26, 19, 20, 21, 22, 23, 24, 25, 26, 27, 20, 21, 22, 23, 24,
|
||||
25, 26, 27, 28
|
||||
(0,0) 2, 3, 4, 5, 6, 7, 8, 9, 10, 3, 4, 5, 6, 7, 8, 9, 10, 11, 4, 5,
|
||||
(0,2) 6, 7, 8, 9, 10, 11, 12, 5, 6, 7, 8, 9, 10, 11, 12, 13, 6, 7, 8, 9,
|
||||
(0,4) 10, 11, 12, 13, 14, 7, 8, 9, 10, 11, 12, 13, 14, 15, 8, 9, 10, 11,
|
||||
(0,4) 12, 13, 14, 15, 16, 9, 10, 11, 12, 13, 14, 15, 16, 17, 10, 11, 12,
|
||||
(0,3) 13, 14, 15, 16, 17, 18, 11, 12, 13, 14, 15, 16, 17, 18, 19, 12,
|
||||
(0,1) 13, 14, 15, 16, 17, 18, 19, 20, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
(0,8) 21, 14, 15, 16, 17, 18, 19, 20, 21, 22, 15, 16, 17, 18, 19, 20,
|
||||
(0,6) 21, 22, 23, 16, 17, 18, 19, 20, 21, 22, 23, 24, 17, 18, 19, 20,
|
||||
(0,4) 21, 22, 23, 24, 25, 18, 19, 20, 21, 22, 23, 24, 25, 26, 19, 20,
|
||||
(0,2) 21, 22, 23, 24, 25, 26, 27, 20, 21, 22, 23, 24, 25, 26, 27, 28
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,10 +11,10 @@ DATASET "/dset1" {
|
||||
COUNT ( 4, 4 );
|
||||
BLOCK ( 1, 4 );
|
||||
DATA {
|
||||
0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 2, 3, 4, 5,
|
||||
2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 4, 5, 6, 7, 4, 5, 6, 7,
|
||||
4, 5, 6, 7, 4, 5, 6, 7, 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9,
|
||||
6, 7, 8, 9
|
||||
(0,0) 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 2, 3, 4, 5,
|
||||
(0,4) 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 4, 5, 6, 7, 4, 5, 6, 7,
|
||||
(0,8) 4, 5, 6, 7, 4, 5, 6, 7, 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9,
|
||||
(0,12) 6, 7, 8, 9
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,28 +7,28 @@ GROUP "/" {
|
||||
DATATYPE H5T_VLEN { H5T_STD_I32LE}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
(), (), (), ()
|
||||
(0) (), (), (), ()
|
||||
}
|
||||
}
|
||||
DATASET "Dataset2.0" {
|
||||
DATATYPE H5T_STD_I32LE
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
0, 0, 0, 0
|
||||
(0) 0, 0, 0, 0
|
||||
}
|
||||
}
|
||||
DATASET "Dataset3.0" {
|
||||
DATATYPE H5T_IEEE_F32LE
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
0, 0, 0, 0
|
||||
(0) 0, 0, 0, 0
|
||||
}
|
||||
}
|
||||
DATASET "Dataset4.0" {
|
||||
DATATYPE H5T_ARRAY { [4] H5T_STD_I32LE }
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
[ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ]
|
||||
(0) [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ]
|
||||
}
|
||||
}
|
||||
DATASET "Dataset5.0" {
|
||||
@ -39,22 +39,22 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
0,
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
0,
|
||||
0,
|
||||
0
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
0,
|
||||
0,
|
||||
0
|
||||
|
@ -7,16 +7,16 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 10, 15 ) / ( 10, 15 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
(0,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
(1,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
(2,0) 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
(3,0) 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
(4,0) 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
(5,0) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
(6,0) 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
(7,0) 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
(8,0) 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
(9,0) 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
tools/testfiles/tfilters.h5
Normal file
BIN
tools/testfiles/tfilters.h5
Normal file
Binary file not shown.
@ -7,21 +7,21 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4
|
||||
(0) 0, 1, 2, 3, 4
|
||||
}
|
||||
}
|
||||
GROUP "g1" {
|
||||
DATASET "dset2" {
|
||||
HARDLINK "/dset1"
|
||||
HARDLINK "/g2/dset1"
|
||||
}
|
||||
GROUP "g1.1" {
|
||||
DATASET "dset3" {
|
||||
HARDLINK "/dset1"
|
||||
HARDLINK "/g2/dset1"
|
||||
}
|
||||
}
|
||||
}
|
||||
GROUP "g2" {
|
||||
HARDLINK "/g1/g1.1"
|
||||
HARDLINK "/g2/g1/g1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ DATASET "/g1/dset2" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4
|
||||
(0) 0, 1, 2, 3, 4
|
||||
}
|
||||
}
|
||||
DATASET "/dset1" {
|
||||
|
@ -6,7 +6,7 @@ DATASET "/g1/g1.1/dset3" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4
|
||||
(0) 0, 1, 2, 3, 4
|
||||
}
|
||||
}
|
||||
DATASET "/g1/dset2" {
|
||||
|
@ -7,7 +7,7 @@ GROUP "/g1" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4
|
||||
(0) 0, 1, 2, 3, 4
|
||||
}
|
||||
}
|
||||
GROUP "g1.1" {
|
||||
|
@ -6,7 +6,7 @@ DATASET "/dset1" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4
|
||||
(0) 0, 1, 2, 3, 4
|
||||
}
|
||||
}
|
||||
GROUP "/g2" {
|
||||
|
@ -5,104 +5,104 @@ HDF5 "tlarge_objname.h5" {
|
||||
GROUP "/" {
|
||||
GROUP "this_is_a_large_group_name" {
|
||||
GROUP "this_is_a_large_group_name0" {
|
||||
GROUP "this_is_a_large_group_name1" {
|
||||
GROUP "this_is_a_large_group_name2" {
|
||||
GROUP "this_is_a_large_group_name3" {
|
||||
GROUP "this_is_a_large_group_name4" {
|
||||
GROUP "this_is_a_large_group_name5" {
|
||||
GROUP "this_is_a_large_group_name6" {
|
||||
GROUP "this_is_a_large_group_name7" {
|
||||
GROUP "this_is_a_large_group_name8" {
|
||||
GROUP "this_is_a_large_group_name9" {
|
||||
GROUP "this_is_a_large_group_name10" {
|
||||
GROUP "this_is_a_large_group_name11" {
|
||||
GROUP "this_is_a_large_group_name12" {
|
||||
GROUP "this_is_a_large_group_name13" {
|
||||
GROUP "this_is_a_large_group_name14" {
|
||||
GROUP "this_is_a_large_group_name15" {
|
||||
GROUP "this_is_a_large_group_name16" {
|
||||
GROUP "this_is_a_large_group_name17" {
|
||||
GROUP "this_is_a_large_group_name18" {
|
||||
GROUP "this_is_a_large_group_name19" {
|
||||
GROUP "this_is_a_large_group_name20" {
|
||||
GROUP "this_is_a_large_group_name21" {
|
||||
GROUP "this_is_a_large_group_name22" {
|
||||
GROUP "this_is_a_large_group_name23" {
|
||||
GROUP "this_is_a_large_group_name24" {
|
||||
GROUP "this_is_a_large_group_name25" {
|
||||
GROUP "this_is_a_large_group_name26" {
|
||||
GROUP "this_is_a_large_group_name27" {
|
||||
GROUP "this_is_a_large_group_name28" {
|
||||
GROUP "this_is_a_large_group_name29" {
|
||||
GROUP "this_is_a_large_group_name30" {
|
||||
GROUP "this_is_a_large_group_name31" {
|
||||
GROUP "this_is_a_large_group_name32" {
|
||||
GROUP "this_is_a_large_group_name33" {
|
||||
GROUP "this_is_a_large_group_name34" {
|
||||
GROUP "this_is_a_large_group_name35" {
|
||||
GROUP "this_is_a_large_group_name36" {
|
||||
GROUP "this_is_a_large_group_name37" {
|
||||
GROUP "this_is_a_large_group_name38" {
|
||||
GROUP "this_is_a_large_group_name39" {
|
||||
GROUP "this_is_a_large_group_name40" {
|
||||
GROUP "this_is_a_large_group_name41" {
|
||||
GROUP "this_is_a_large_group_name42" {
|
||||
GROUP "this_is_a_large_group_name43" {
|
||||
GROUP "this_is_a_large_group_name44" {
|
||||
GROUP "this_is_a_large_group_name45" {
|
||||
GROUP "this_is_a_large_group_name46" {
|
||||
GROUP "this_is_a_large_group_name47" {
|
||||
GROUP "this_is_a_large_group_name48" {
|
||||
GROUP "this_is_a_large_group_name49" {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
GROUP "this_is_a_large_group_name1" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name10" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name11" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name12" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name13" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name14" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name15" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name16" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name17" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name18" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name19" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name2" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name20" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name21" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name22" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name23" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name24" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name25" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name26" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name27" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name28" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name29" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name3" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name30" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name31" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name32" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name33" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name34" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name35" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name36" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name37" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name38" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name39" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name4" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name40" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name41" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name42" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name43" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name44" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name45" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name46" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name47" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name48" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name49" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name5" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name6" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name7" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name8" {
|
||||
}
|
||||
GROUP "this_is_a_large_group_name9" {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@ -6,12 +6,12 @@ GROUP "/" {
|
||||
GROUP "g1" {
|
||||
GROUP "g1.1" {
|
||||
GROUP "g2.1" {
|
||||
HARDLINK "/g1"
|
||||
HARDLINK "/g2/g1"
|
||||
}
|
||||
}
|
||||
}
|
||||
GROUP "g2" {
|
||||
HARDLINK "/g1/g1.1"
|
||||
HARDLINK "/g2/g1/g1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,16 +7,16 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 10, 15 ) / ( 10, 15 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
(0,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
(1,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
(2,0) 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
(3,0) 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
(4,0) 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
(5,0) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
(6,0) 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
(7,0) 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
(8,0) 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
(9,0) 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
@ -29,7 +29,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
1,
|
||||
1,
|
||||
0.5,
|
||||
@ -38,7 +38,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
2,
|
||||
4,
|
||||
0.333333,
|
||||
@ -47,7 +47,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
3,
|
||||
9,
|
||||
0.25,
|
||||
@ -56,7 +56,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(4) {
|
||||
4,
|
||||
16,
|
||||
0.2,
|
||||
@ -65,7 +65,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(5) {
|
||||
5,
|
||||
25,
|
||||
0.166667,
|
||||
@ -74,7 +74,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(6) {
|
||||
6,
|
||||
36,
|
||||
0.142857,
|
||||
@ -83,7 +83,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(7) {
|
||||
7,
|
||||
49,
|
||||
0.125,
|
||||
@ -92,7 +92,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(8) {
|
||||
8,
|
||||
64,
|
||||
0.111111,
|
||||
@ -101,7 +101,7 @@ GROUP "/" {
|
||||
[ -100, 100 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
(9) {
|
||||
9,
|
||||
81,
|
||||
0.1,
|
||||
|
@ -4,6 +4,7 @@ Expected output for 'h5dump '
|
||||
usage: h5dump [OPTIONS] file
|
||||
OPTIONS
|
||||
-h, --help Print a usage message and exit
|
||||
-n, --contents Print a list of the file contents and exit
|
||||
-B, --bootblock Print the content of the boot block
|
||||
-H, --header Print the header only; no data is displayed
|
||||
-A Print the header and value of attributes; data of datasets is not displayed
|
||||
@ -12,6 +13,7 @@ usage: h5dump [OPTIONS] file
|
||||
-V, --version Print version number and exit
|
||||
-a P, --attribute=P Print the specified attribute
|
||||
-d P, --dataset=P Print the specified dataset
|
||||
-p, --properties Print dataset filters, storage layout and fill value
|
||||
-f D, --filedriver=D Specify which driver to open the file with
|
||||
-g P, --group=P Print the specified group and all members
|
||||
-l P, --soft-link=P Print the value(s) of the specified soft link
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -19,16 +19,16 @@ GROUP "/" {
|
||||
DATATYPE H5T_STD_I32BE
|
||||
DATASPACE SIMPLE { ( 10, 15 ) / ( 10, 15 ) }
|
||||
DATA {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
(0,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
(1,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||
(2,0) 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||||
(3,0) 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
||||
(4,0) 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
||||
(5,0) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
||||
(6,0) 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||
(7,0) 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
||||
(8,0) 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
(9,0) 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,239 +15,239 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 3, 6 ) / ( 3, 6 ) }
|
||||
DATA {
|
||||
{
|
||||
(0,0) {
|
||||
[ 0, 1, 4, 9, 16, 25, 36, 49, 64, 81,
|
||||
1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
%s 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(0,1) {
|
||||
[ 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(0,2) {
|
||||
[ 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(0,3) {
|
||||
[ 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(0,4) {
|
||||
[ 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(0,5) {
|
||||
[ 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
%s 144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,0) {
|
||||
[ 0, 1, 4, 9, 16, 25, 36, 49, 64, 81,
|
||||
1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
%s 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,1) {
|
||||
[ 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,2) {
|
||||
[ 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,3) {
|
||||
[ 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,4) {
|
||||
[ 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(1,5) {
|
||||
[ 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
%s 144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,0) {
|
||||
[ 0, 1, 4, 9, 16, 25, 36, 49, 64, 81,
|
||||
1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
%s 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,1) {
|
||||
[ 1, 4, 9, 16, 25, 36, 49, 64, 81, 100,
|
||||
4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
%s 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,2) {
|
||||
[ 4, 9, 16, 25, 36, 49, 64, 81, 100, 121,
|
||||
9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
%s 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,3) {
|
||||
[ 9, 16, 25, 36, 49, 64, 81, 100, 121, 144,
|
||||
16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
%s 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,4) {
|
||||
[ 16, 25, 36, 49, 64, 81, 100, 121, 144, 169,
|
||||
25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
%s 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
},
|
||||
{
|
||||
(2,5) {
|
||||
[ 25, 36, 49, 64, 81, 100, 121, 144, 169, 196,
|
||||
36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
%s 36, 49, 64, 81, 100, 121, 144, 169, 196, 225,
|
||||
%s 49, 64, 81, 100, 121, 144, 169, 196, 225, 256,
|
||||
%s 64, 81, 100, 121, 144, 169, 196, 225, 256, 289,
|
||||
%s 81, 100, 121, 144, 169, 196, 225, 256, 289, 324,
|
||||
%s 100, 121, 144, 169, 196, 225, 256, 289, 324, 361,
|
||||
%s 121, 144, 169, 196, 225, 256, 289, 324, 361, 400,
|
||||
%s 144, 169, 196, 225, 256, 289, 324, 361, 400, 441 ],
|
||||
[ "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
"abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678",
|
||||
%s "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678", "abcdefgh12345678abcdefgh12345678" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -260,9 +260,9 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 3, 4 ) / ( 3, 4 ) }
|
||||
DATA {
|
||||
"s1", "s2", "s3", "s4",
|
||||
"s5", "s6", "s7", "s8",
|
||||
"s9", "s0", "s1", "s2"
|
||||
(0,0) "s1", "s2", "s3", "s4",
|
||||
(1,0) "s5", "s6", "s7", "s8",
|
||||
(2,0) "s9", "s0", "s1", "s2"
|
||||
}
|
||||
}
|
||||
DATASET "string2" {
|
||||
@ -274,11 +274,11 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 20 ) / ( 20 ) }
|
||||
DATA {
|
||||
"ab cd ef1 ", "ab cd ef2 ", "ab cd ef3 ", "ab cd ef4 ",
|
||||
"ab cd ef5 ", "ab cd ef6 ", "ab cd ef7 ", "ab cd ef8 ",
|
||||
"ab cd ef9 ", "ab cd ef0 ", "ab cd ef1 ", "ab cd ef2 ",
|
||||
"ab cd ef3 ", "ab cd ef4 ", "ab cd ef5 ", "ab cd ef6 ",
|
||||
"ab cd ef7 ", "ab cd ef8 ", "ab cd ef9 ", "ab cd ef0 "
|
||||
(0) "ab cd ef1 ", "ab cd ef2 ", "ab cd ef3 ", "ab cd ef4 ",
|
||||
(4) "ab cd ef5 ", "ab cd ef6 ", "ab cd ef7 ", "ab cd ef8 ",
|
||||
(8) "ab cd ef9 ", "ab cd ef0 ", "ab cd ef1 ", "ab cd ef2 ",
|
||||
(12) "ab cd ef3 ", "ab cd ef4 ", "ab cd ef5 ", "ab cd ef6 ",
|
||||
(16) "ab cd ef7 ", "ab cd ef8 ", "ab cd ef9 ", "ab cd ef0 "
|
||||
}
|
||||
}
|
||||
DATASET "string3" {
|
||||
@ -290,15 +290,15 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
||||
DATA {
|
||||
"abcd0\000\000\000", "abcd1\000\000\000", "abcd2\000\000\000",
|
||||
"abcd3\000\000\000", "abcd4\000\000\000", "abcd5\000\000\000",
|
||||
"abcd6\000\000\000", "abcd7\000\000\000", "abcd8\000\000\000",
|
||||
"abcd9\000\000\000", "abcd0\000\000\000", "abcd1\000\000\000",
|
||||
"abcd2\000\000\000", "abcd3\000\000\000", "abcd4\000\000\000",
|
||||
"abcd5\000\000\000", "abcd6\000\000\000", "abcd7\000\000\000",
|
||||
"abcd8\000\000\000", "abcd9\000\000\000", "abcd0\000\000\000",
|
||||
"abcd1\000\000\000", "abcd2\000\000\000", "abcd3\000\000\000",
|
||||
"abcd4\000\000\000", "abcd5\000\000\000", "abcd6\000\000\000"
|
||||
(0) "abcd0\000\000\000", "abcd1\000\000\000", "abcd2\000\000\000",
|
||||
(3) "abcd3\000\000\000", "abcd4\000\000\000", "abcd5\000\000\000",
|
||||
(6) "abcd6\000\000\000", "abcd7\000\000\000", "abcd8\000\000\000",
|
||||
(9) "abcd9\000\000\000", "abcd0\000\000\000", "abcd1\000\000\000",
|
||||
(12) "abcd2\000\000\000", "abcd3\000\000\000", "abcd4\000\000\000",
|
||||
(15) "abcd5\000\000\000", "abcd6\000\000\000", "abcd7\000\000\000",
|
||||
(18) "abcd8\000\000\000", "abcd9\000\000\000", "abcd0\000\000\000",
|
||||
(21) "abcd1\000\000\000", "abcd2\000\000\000", "abcd3\000\000\000",
|
||||
(24) "abcd4\000\000\000", "abcd5\000\000\000", "abcd6\000\000\000"
|
||||
}
|
||||
}
|
||||
DATASET "string4" {
|
||||
@ -310,9 +310,9 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 3 ) / ( 3 ) }
|
||||
DATA {
|
||||
"s1234567890123456789 ",
|
||||
"s1234567890123456789 ",
|
||||
"s1234567890123456789 "
|
||||
(0) "s1234567890123456789 ",
|
||||
(1) "s1234567890123456789 ",
|
||||
(2) "s1234567890123456789 "
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,16 +13,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_NULLTERM of",
|
||||
"This is row 1 of type H5T_STR_NULLTERM of",
|
||||
"This is row 2 of type H5T_STR_NULLTERM of",
|
||||
"This is row 3 of type H5T_STR_NULLTERM of",
|
||||
"This is row 4 of type H5T_STR_NULLTERM of",
|
||||
"This is row 5 of type H5T_STR_NULLTERM of",
|
||||
"This is row 6 of type H5T_STR_NULLTERM of",
|
||||
"This is row 7 of type H5T_STR_NULLTERM of",
|
||||
"This is row 8 of type H5T_STR_NULLTERM of",
|
||||
"This is row 9 of type H5T_STR_NULLTERM of"
|
||||
(0) "This is row 0 of type H5T_STR_NULLTERM of",
|
||||
(1) "This is row 1 of type H5T_STR_NULLTERM of",
|
||||
(2) "This is row 2 of type H5T_STR_NULLTERM of",
|
||||
(3) "This is row 3 of type H5T_STR_NULLTERM of",
|
||||
(4) "This is row 4 of type H5T_STR_NULLTERM of",
|
||||
(5) "This is row 5 of type H5T_STR_NULLTERM of",
|
||||
(6) "This is row 6 of type H5T_STR_NULLTERM of",
|
||||
(7) "This is row 7 of type H5T_STR_NULLTERM of",
|
||||
(8) "This is row 8 of type H5T_STR_NULLTERM of",
|
||||
(9) "This is row 9 of type H5T_STR_NULLTERM of"
|
||||
}
|
||||
ATTRIBUTE "attr1" {
|
||||
DATATYPE H5T_STRING {
|
||||
@ -33,7 +33,7 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 3 ) / ( 3 ) }
|
||||
DATA {
|
||||
"0123456789", "abcdefghij", "ABCDEFGHIJ"
|
||||
(0) "0123456789", "abcdefghij", "ABCDEFGHIJ"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -48,16 +48,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 1 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 2 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 3 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 4 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 5 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 6 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 7 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 8 of type H5T_STR_NULLTERM of string ",
|
||||
"This is row 9 of type H5T_STR_NULLTERM of string "
|
||||
(0) "This is row 0 of type H5T_STR_NULLTERM of string ",
|
||||
(1) "This is row 1 of type H5T_STR_NULLTERM of string ",
|
||||
(2) "This is row 2 of type H5T_STR_NULLTERM of string ",
|
||||
(3) "This is row 3 of type H5T_STR_NULLTERM of string ",
|
||||
(4) "This is row 4 of type H5T_STR_NULLTERM of string ",
|
||||
(5) "This is row 5 of type H5T_STR_NULLTERM of string ",
|
||||
(6) "This is row 6 of type H5T_STR_NULLTERM of string ",
|
||||
(7) "This is row 7 of type H5T_STR_NULLTERM of string ",
|
||||
(8) "This is row 8 of type H5T_STR_NULLTERM of string ",
|
||||
(9) "This is row 9 of type H5T_STR_NULLTERM of string "
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -71,16 +71,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 1 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 2 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 3 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 4 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 5 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 6 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 7 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 8 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
"This is row 9 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000"
|
||||
(0) "This is row 0 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(1) "This is row 1 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(2) "This is row 2 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(3) "This is row 3 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(4) "This is row 4 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(5) "This is row 5 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(6) "This is row 6 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(7) "This is row 7 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(8) "This is row 8 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000",
|
||||
(9) "This is row 9 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -94,16 +94,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 1 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 2 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 3 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 4 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 5 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 6 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 7 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 8 of type H5T_STR_NULLPAD of string ar",
|
||||
"This is row 9 of type H5T_STR_NULLPAD of string ar"
|
||||
(0) "This is row 0 of type H5T_STR_NULLPAD of string ar",
|
||||
(1) "This is row 1 of type H5T_STR_NULLPAD of string ar",
|
||||
(2) "This is row 2 of type H5T_STR_NULLPAD of string ar",
|
||||
(3) "This is row 3 of type H5T_STR_NULLPAD of string ar",
|
||||
(4) "This is row 4 of type H5T_STR_NULLPAD of string ar",
|
||||
(5) "This is row 5 of type H5T_STR_NULLPAD of string ar",
|
||||
(6) "This is row 6 of type H5T_STR_NULLPAD of string ar",
|
||||
(7) "This is row 7 of type H5T_STR_NULLPAD of string ar",
|
||||
(8) "This is row 8 of type H5T_STR_NULLPAD of string ar",
|
||||
(9) "This is row 9 of type H5T_STR_NULLPAD of string ar"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -117,16 +117,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 1 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 2 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 3 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 4 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 5 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 6 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 7 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 8 of type H5T_STR_SPACEPAD of ",
|
||||
"This is row 9 of type H5T_STR_SPACEPAD of "
|
||||
(0) "This is row 0 of type H5T_STR_SPACEPAD of ",
|
||||
(1) "This is row 1 of type H5T_STR_SPACEPAD of ",
|
||||
(2) "This is row 2 of type H5T_STR_SPACEPAD of ",
|
||||
(3) "This is row 3 of type H5T_STR_SPACEPAD of ",
|
||||
(4) "This is row 4 of type H5T_STR_SPACEPAD of ",
|
||||
(5) "This is row 5 of type H5T_STR_SPACEPAD of ",
|
||||
(6) "This is row 6 of type H5T_STR_SPACEPAD of ",
|
||||
(7) "This is row 7 of type H5T_STR_SPACEPAD of ",
|
||||
(8) "This is row 8 of type H5T_STR_SPACEPAD of ",
|
||||
(9) "This is row 9 of type H5T_STR_SPACEPAD of "
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -140,16 +140,16 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
DATA {
|
||||
"This is row 0 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 1 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 2 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 3 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 4 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 5 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 6 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 7 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 8 of type H5T_STR_SPACEPAD of string a",
|
||||
"This is row 9 of type H5T_STR_SPACEPAD of string a"
|
||||
(0) "This is row 0 of type H5T_STR_SPACEPAD of string a",
|
||||
(1) "This is row 1 of type H5T_STR_SPACEPAD of string a",
|
||||
(2) "This is row 2 of type H5T_STR_SPACEPAD of string a",
|
||||
(3) "This is row 3 of type H5T_STR_SPACEPAD of string a",
|
||||
(4) "This is row 4 of type H5T_STR_SPACEPAD of string a",
|
||||
(5) "This is row 5 of type H5T_STR_SPACEPAD of string a",
|
||||
(6) "This is row 6 of type H5T_STR_SPACEPAD of string a",
|
||||
(7) "This is row 7 of type H5T_STR_SPACEPAD of string a",
|
||||
(8) "This is row 8 of type H5T_STR_SPACEPAD of string a",
|
||||
(9) "This is row 9 of type H5T_STR_SPACEPAD of string a"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,21 +7,21 @@ GROUP "/" {
|
||||
DATATYPE H5T_VLEN { H5T_STD_I32LE}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
(0), (10, 11), (20, 21, 22), (30, 31, 32, 33)
|
||||
(0) (0), (10, 11), (20, 21, 22), (30, 31, 32, 33)
|
||||
}
|
||||
}
|
||||
DATASET "Dataset2.0" {
|
||||
DATATYPE H5T_VLEN { H5T_IEEE_F32LE}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
(0), (10, 10.1), (20, 20.1, 20.2), (30, 30.1, 30.2, 30.3)
|
||||
(0) (0), (10, 10.1), (20, 20.1, 20.2), (30, 30.1, 30.2, 30.3)
|
||||
}
|
||||
}
|
||||
DATASET "Dataset3.0" {
|
||||
DATATYPE H5T_VLEN { H5T_STD_I32LE}
|
||||
DATASPACE SCALAR
|
||||
DATA {
|
||||
(0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72)
|
||||
(0) (0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ GROUP "/" {
|
||||
DATATYPE H5T_VLEN { H5T_VLEN { H5T_STD_U32LE}}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
((0)), ((100), (110, 111)), ((200), (210, 211), (220, 221, 222)),
|
||||
((300), (310, 311), (320, 321, 322), (330, 331, 332, 333))
|
||||
(0) ((0)), ((100), (110, 111)), ((200), (210, 211), (220, 221, 222)),
|
||||
(3) ((300), (310, 311), (320, 321, 322), (330, 331, 332, 333))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,22 +11,22 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
{
|
||||
(0) {
|
||||
0,
|
||||
0,
|
||||
(0)
|
||||
},
|
||||
{
|
||||
(1) {
|
||||
10,
|
||||
6.66667,
|
||||
(10, 11)
|
||||
},
|
||||
{
|
||||
(2) {
|
||||
20,
|
||||
13.3333,
|
||||
(20, 21, 22)
|
||||
},
|
||||
{
|
||||
(3) {
|
||||
30,
|
||||
20,
|
||||
(30, 31, 32, 33)
|
||||
|
@ -10,18 +10,18 @@ GROUP "/" {
|
||||
}}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
({
|
||||
(0) ({
|
||||
0,
|
||||
0
|
||||
}),
|
||||
({
|
||||
(1) ({
|
||||
10,
|
||||
6.66667
|
||||
}, {
|
||||
11,
|
||||
7
|
||||
}),
|
||||
({
|
||||
(2) ({
|
||||
20,
|
||||
13.3333
|
||||
}, {
|
||||
@ -31,7 +31,7 @@ GROUP "/" {
|
||||
22,
|
||||
14
|
||||
}),
|
||||
({
|
||||
(3) ({
|
||||
30,
|
||||
20
|
||||
}, {
|
||||
|
@ -7,7 +7,7 @@ GROUP "/" {
|
||||
DATATYPE H5T_VLEN { H5T_STD_U32LE}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
(0, 2, 4, 6, 8), (), (0, 2, 4, 6, 8, 10, 12), ()
|
||||
(0) (0, 2, 4, 6, 8), (), (0, 2, 4, 6, 8, 10, 12), ()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,9 +19,9 @@ GROUP "/" {
|
||||
}
|
||||
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
|
||||
DATA {
|
||||
"Four score and seven years ago our forefathers brought forth on this continent a new nation,",
|
||||
"conceived in liberty and dedicated to the proposition that all men are created equal.",
|
||||
"", NULL
|
||||
(0) "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
|
||||
(1) "conceived in liberty and dedicated to the proposition that all men are created equal.",
|
||||
(2) "", NULL
|
||||
}
|
||||
}
|
||||
DATATYPE "vl_string_type" H5T_STRING {
|
||||
|
Loading…
Reference in New Issue
Block a user