summaryrefslogtreecommitdiffstats
path: root/tools/h4toh5vdata.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r3194] MuQun Yang2000-12-221-10/+15
| | | | | | | | | | | | | | | | | | Purpose: bug fix Description: 1. zeroing out memory before using the memory buffer 2. before wrongly using Vquerysize API of HDF4 to obtain the real file size of record type in HDF4. Actually Vquerysize will return the real data type size in Memory. That will cause the object reference difference on Cray which file size is not equal memory size. Solution: 1. using h4toh5ZeroingMemory function to zero out memory. 2. calcuating the real file size of vdata record in the converter instead of using Vquerysize HDF4 API. Platforms tested: Cray J90, arabica, eirene
* [svn-r3040] MuQun Yang2000-11-301-1/+1
| | | | | | | | | | | Purpose: bug_fix Description: forget changing offset from file offset into memory offset when inserting array datatype Solution: correct them Platforms tested: J90
* [svn-r2851] Purpose:Quincey Koziol2000-11-091-5/+28
| | | | | | | | | | | Updated for new array datatypes. Description: I missed these tools earlier when I wasn't compiling with HDF4... Solution: Updated them (correctly, I hope) to use the new array datatype instead of compound datatype array fields. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2839] MuQun Yang2000-11-081-48/+43
| | | | | | | | | | | | | | | | | | | | | | | | Purpose: check in beta release h4toh5 converter Description: 1. add copy right and other comments to all .h and .c files 2. fix bugs on sds unlimited dimension, hdf5 dimensional scale attribute and vdata translating from h4 to h5. Solution: 2. 1) for sds with unlimited dimension to be converted into extensible hdf5 dataset, on hdf5 side, has to set a default chunk size even though the corresponding hdf4 file is not chunked. 2) in this version, if sds object doesn't have dimensional scale data, we will not show the default hdf4 dimensional name ("fakedim0", etc.) in the new hdf5 dimensional scale name attribute. 3) fix a bug transferring vdata of which the field includes a character array. Make it correctly transfer into the corresponding hdf5 compound data type. Platforms tested: eirene,arabica,baldric,hawkwind,paz,gondolin on new set of hdf4 test files.
* [svn-r2678] MuQun Yang2000-10-121-10/+28
| | | | | | | | | | | Purpose: fixing output format of character array converted from hdf4 vdata. Description: Now one dimensional chactacter array can be outputed as one H5 string instead of string of array before. Solution: modify gen_h5comtype() so that when we detect the datatype is hdf5 string, we will merge hdf4 fieldorder into H5T string size and output the whole character array into hdf5 string(with string size = size of the array length). Platforms tested: eirene(LINUX), arabica(sun 5.6)
* [svn-r2614] MuQun Yang2000-09-281-0/+788
Purpose: add h4toh5 converter source codes under tools directory. Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]