summaryrefslogtreecommitdiffstats
path: root/tools/h4toh5
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-07-11 16:19:45 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-07-11 16:19:45 (GMT)
commit3463353af0b2e09e08db58d09b2bc69058f28739 (patch)
tree7a8009cd10ca462bc890af573b04a161cbc8ebb9 /tools/h4toh5
parentfb194a8085a97fc4ce8fc5dc0619f40239f84b0f (diff)
downloadhdf5-3463353af0b2e09e08db58d09b2bc69058f28739.zip
hdf5-3463353af0b2e09e08db58d09b2bc69058f28739.tar.gz
hdf5-3463353af0b2e09e08db58d09b2bc69058f28739.tar.bz2
[svn-r4186]
Purpose: a bug fix in comments Description: The original description for HDF4 comprehensive file structure is incorrect. Solution: correct the comments and add more explanation. Platforms tested: eirene
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() {