summaryrefslogtreecommitdiffstats
path: root/tools/h4toh5
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h4toh5')
-rw-r--r--tools/h4toh5/h4toh5test.c24
1 files changed, 19 insertions, 5 deletions
diff --git a/tools/h4toh5/h4toh5test.c b/tools/h4toh5/h4toh5test.c
index 743da6d..b24401f 100644
--- a/tools/h4toh5/h4toh5test.c
+++ b/tools/h4toh5/h4toh5test.c
@@ -2862,17 +2862,31 @@ int test_vghl() {
}
/* this is a comprehensive testing file for h4-h5 converter. It includes
annotation,vdata,image,sds,palette and vgroup objects*/
+
/* the structure of the hdf5 file is as follows:
root
/ \
- gc ga<--
- / \ |
- gd gb--
- /
- ge
+ |-->gc ga
+ | / \
+ | gd gb
+ | /
+ -ge
This file includes vdata,image and sds.
+1)
+ GROUP MEMBERS
+ ga: name groupA: groupB and one Image
+ gb: name groupB: one SDS
+ gc: name groupA: groupD
+ gd: name groupD: groupE one SDS and one Image
+ ge: name groupE: groupC(named groupA)
+
+2) Independent Vdata,SDS, images
+ SDS: sds2 (the same name as another SDS)
+ Image: Image_1
+ Vdata: Example Vdata
+
*/
int test_vgall() {