summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2842] Purpose:Bill Wendling2000-11-091-154/+119
| | | | | | | | | | Recoding of VL dumping. Description: I'm using hyperslabs to select the variable length data. I don't have any tests which I've checked in just yet. I'll create those later. Platforms tested: Linux
* [svn-r2839] MuQun Yang2000-11-0810-265/+649
| | | | | | | | | | | | | | | | | | | | | | | | 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-r2837] MuQun Yang2000-11-088-0/+0
| | | | | | | | | | | Purpose: Adding more expected files for testing h4toh5 converter These test files include hdf5 files that are expected converted from hdf4 files for various vdata and vgroup cases. Description: Solution: Platforms tested: eirene,arabica,hawkwind,paz
* [svn-r2836] MuQun Yang2000-11-082-0/+0
| | | | | | | | | | Purpose: Add testing files for h4toh5 converter Two more files for testing native float data type sds objects Description: Solution: Platforms tested: arabica,eirene,hawkwind,paz
* [svn-r2835] MuQun Yang2000-11-0821-0/+0
| | | | | | | | | | Purpose: Adding expected hdf5 files for h4toh5 converter Expected files for different testing hdf4 files for sds objects Description: Solution: Platforms tested: eirene,arabica,gondolin,paz
* [svn-r2833] MuQun Yang2000-11-088-0/+0
| | | | | | | | | | Purpose: Adding expected testing files for h4toh5 converter expected files converted from image object Description: Solution: Platforms tested: eirene,arabica,paz,hawkwind,gondolin
* [svn-r2831] MuQun Yang2000-11-081-0/+0
| | | | | | | | | Purpose: update main test files for h4toh5 converter Description: Solution: Platforms tested: eirene,arabica,hawkwind,paz,gondolin
* [svn-r2829] MuQun Yang2000-11-082-0/+0
| | | | | | | | | | Purpose: Adding expected files for h4toh5 converter two test files for annotation Description: Solution: Platforms tested: arabica,eirene,paz,gondolin,hawkwind
* [svn-r2828] MuQun Yang2000-11-086-0/+0
| | | | | | | | | | Purpose: Adding testing files for h4toh5 converter hdf4 test files for various tests on vgroup(including, hardlink,loop,nameclashing etc.) Description: Solution: Platforms tested: arabica,eirene,paz,gondolin,hawkwind
* [svn-r2827] MuQun Yang2000-11-082-0/+0
| | | | | | | | | Purpose: Adding testing files for h4toh5 converter testing files for independent vdatas Description: Platforms tested: eirene,hawkwind,arabica,paz
* [svn-r2826] MuQun Yang2000-11-089-0/+0
| | | | | | | | | | | Purpose: Adding testfiles for h4toh5 converter more testing files for sds objects in various datatypes Description: see above Solution: Platforms tested: eirene,arabica,gondolin,paz,hawkwind
* [svn-r2825] MuQun Yang2000-11-088-0/+0
| | | | | | | | | | | Purpose: Adding testing files for h4toh5 converter these files are parts of files that test different datatype sds objects. Description: see above Solution: Platforms tested: eirene,arabica,gondolin,paz,hawkwind
* [svn-r2824] MuQun Yang2000-11-082-0/+0
| | | | | | | | | | | Purpose: Add testing files for h4toh5 converter test files for testing dimensional scale dataset and unlimited dimension case Description: see above Solution: Platforms tested: eirene,arabica,hawkwind,paz,gondolin
* [svn-r2823] MuQun Yang2000-11-086-0/+0
| | | | | | | | | | Purpose: add several files to test h4toh5 converter on hdf image with different datatype Description: see above Solution: Platforms tested: eirene,hawkwind,arabica
* [svn-r2822] MuQun Yang2000-11-082-0/+0
| | | | | | | | | | Purpose: Add two test files for testing h4toh5 converter to convert image objects associated with attribute and image. Description: see above Solution: Platforms tested: arabica,eirene,hawkwind
* [svn-r2821] MuQun Yang2000-11-081-0/+0
| | | | | | | | | | Purpose: add a hdf4 file to test converter for converter object annotation into hdf5 attribute Description: see above Solution: Platforms tested: eirene,hawkwind,arabica
* [svn-r2820] MuQun Yang2000-11-081-0/+0
| | | | | | | | | | Purpose: adding an hdf4 testing file for annotation Description: see above Solution: Platforms tested: eirene,hawkwind,arabica
* [svn-r2819] MuQun Yang2000-11-081-0/+42
| | | | | | | | | | | Purpose: add more hdf4 test files for converter Description: in this script, run CONVERT test files Solution: Add CONVERT h4file h5file in this script Platforms tested: eirene,hawkwind,arabica
* [svn-r2794] Purpose:Albert Cheng2000-11-031-1/+3
| | | | | | | | | | | | | | | | "bug fix" Description: the h5ls tests sometimes failed because the tool sometimes prints the tool name in the help message as "lt-h5ls" while the expected result has it as "h5ls". This was the tools pulled its name from argv[0]. Solution: Hardcode the progname as "h5ls" and blocked out the code that pulls the program name from argv[0]. The better solution is to find a way to create the real binary with the orginal tool name. Platforms tested: linux
* [svn-r2790] Purpose:Albert Cheng2000-11-024-15/+74
| | | | | | | | | | | | | | | | new feature Description: h5tools.c: Created h5tools_init() and h5tools_close() for the initialization of the h5tools library and closing of it. With this, the rawdatastream and other internal structures can be initialized properly. h5tools.h: added prototypes for h5tools_init and h5tools_close. h5dump.c: h5ls.c: Added the calls for h5tools_init() and h5tools_close(). Platforms tested: IRIX64 -64 parallel and Linux
* [svn-r2785] ./hdf5/tools/h5ls.cRobb Matzke2000-10-311-5/+0
| | | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> (main) Backed out last change -- h5ls is a serial application and is never run with mpirun.
* [svn-r2781] ./hdf5/tools/h5ls.cRobb Matzke2000-10-311-0/+4
| | | | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> (main) Added calls to MPI_Init() and MPI_Finalize() for parallel versions in order to prevent errors about unrecognized command-line options.
* [svn-r2779] ./hdf5/tools/testfiles/tnestcomp-1.lsRobb Matzke2000-10-311-4/+4
| | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> Expected h5ls output.
* [svn-r2778] ./hdf5/tools/testfiles/tcomp-1.lsRobb Matzke2000-10-311-4/+6
| | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> Expected h5ls output.
* [svn-r2777] ./hdf5/tools/testfiles/tall-2.lsRobb Matzke2000-10-311-3/+7
| | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> Expected h5ls output.
* [svn-r2776] ./hdf5/tools/h5ls.cRobb Matzke2000-10-311-0/+7
| | | | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> (dump_dataset_values) The `float' and `double' values are displayed with the full precision instead of just the default `%g'.
* [svn-r2771] Purpose:Bill Wendling2000-10-311-381/+390
| | | | | | Reformatting Platforms tested: Linux
* [svn-r2770] Robb Matzke2000-10-3115-0/+1319
| | | | | | | | | | | | Purpose: Testing Description: The h5ls test script only looked at exit status. Solution: Created expected output files and compare actual output with expected output. Platforms tested: i686-pc-linux
* [svn-r2769] ./hdf5/tools/testh5ls.shRobb Matzke2000-10-311-19/+29
| | | | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> (verbose) Compares output to expected files. This should work just fine because we're not using the `-v' option which prints datatypes in a machine-dependent way.
* [svn-r2768] ./hdf5/tools/h5tools.hRobb Matzke2000-10-311-292/+293
| | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> Reindented.
* [svn-r2767] ./hdf5/tools/h5tools.cRobb Matzke2000-10-311-17/+29
| | | | | | | | | | | | * 2000-10-31 Robb Matzke <matzke@llnl.gov> (h5dump_sprint) The whitespace added for indentation after the line-feed kludge is performed only if a line-feed was actually inserted. This fixes funny-looking h5ls output that had ` %s' sequences appearing in nested compound datatypes. Also added a prominent warning in the code to indicate that when a line-feed is inserted into the string that column number calculations will be incorrect and object indices will be missing.
* [svn-r2738] Purpose:Bill Wendling2000-10-251-5/+11
| | | | | | | | | | | Bug Fix Description: People need to type in the full-path to the attribute/dataset/etc. and weren't being told to do so by the "usage" statement. Solution: Added an example and changed <names> to <path> to be more explicit...
* [svn-r2737] Purpose:Bill Wendling2000-10-252-70/+337
| | | | | | | | | | | | Feature Description: Allow dumping of variable length records. This is a first-time stab at this. It doesn't break any tests on my Linux box and it does output the variable length data, but it might look ugly (it doesn't handle new-lines as of yet)...I'm open to suggestions on what should be done next, what new features to add/remove... Platforms tested: Linux
* [svn-r2733] Purpose:Albert Cheng2000-10-242-0/+2697
| | | | | | | | | | | New tests Description: Added a new test file (tsaf.h5) for h5dump and h5ls. The test file was created by lib SAF team. This file used to cause previous version of hdf5 tools to core dump. tsaf.ddl is the expected output from h5dump. Platforms tested: IRIX64 -64, linux
* [svn-r2732] Purpose:Albert Cheng2000-10-242-0/+6
| | | | | | | | | | New tests Description: Added a new test file (tsaf.h5) for h5dump and h5ls. The test file was created by lib SAF team. This file used to cause previous version of hdf5 tools to core dump. Platforms tested: IRIX64 -64, linux
* [svn-r2724] Purpose:Albert Cheng2000-10-242-1/+120
| | | | | | | | | | | | | | new feature Description: h5ls was not tested Solution: Added a test script, testh5ls.sh, to give h5ls some tests. Since the output from h5ls is sometime machine dependent (e.g., Datatypes), can not compare them with expected output. For now, run it against various hdf5 binary files. If it exits with 0, consider it passes. Platforms tested: IRIX64, eirene, arabica.
* [svn-r2723] Purpose:Albert Cheng2000-10-241-34/+36
| | | | | | | | | tidy it up Description: Change the variable names so that it looks more generic. Plan to make it a generic script test template. Platforms tested: IRIX64-64, linux, solaris 2.7
* [svn-r2722] Purpose:Quincey Koziol2000-10-241-1/+1
| | | | | | | | | | Feature symmetry Description: A while ago I needed to get the 'type' of data being accessed during writes to the VFL driver, so I put in code to get the information down there. Albert asked for the same information during reads, so I've added that in. Tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2691] MuQun Yang2000-10-186-24/+178
| | | | | | | | | | | | | | | | | | Purpose: 1. fix multiple defination warnings at sgi platform 2. adding chunking information from hdf4 to hdf5 property list. Description: 1. Orginally global varibles were defined at one header file and this header file were included by other .c file and .h file so multiple warnings are generated. 2. Chunking information was not included in the previous version. Solution: 1. use "extern" to define global variables at h4toh5util.h file and define global variables at h4toh5main.c 2. retrieve the chunking info from sdgetchunkinfo and GRgetchunkinfo and store these information into hdf5 property list. Platforms tested: eirene,arabica,paz,gondolin
* [svn-r2682] Purpose:Albert Cheng2000-10-131-3/+3
| | | | | | | | | | Bug fix Description: gmake check had been failing because of errors in the Makefile. Solution: Fixed it so that libtools.a got build first. Platforms tested: Eirene (Linux)
* [svn-r2680] Purpose:Albert Cheng2000-10-135-4/+6
| | | | | | | | | | | | | | | | | | | | Bug fix (ID 419) Description: Converted strings class types (in dataset and attributes) to HDF4 type of DFNT_INT8. Should have been DFNT_CHAR type. Solution: h5toh4.c: Changed the HDF4 type from DFNT_INT8 to DFNT_CHAR type. Converted all hdf5 strings (be it NULLTERM, NULLPAD, SPACEPAD) all to fixed width space padded HDF4 DFNT_CHAR. testh5toh4: Added the testing of $HDF_NOCLEANUP before cleaning away the result files. testfiles/Expected/tattr.hdf: testfiles/Expected/tstr.hdf: testfiles/Expected/tstr2.hdf: Updated with the corrected DFNT_CHAR type. Platforms tested: Solaris 2.7, Linux, Irix 6.5.
* [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-r2676] MuQun Yang2000-10-121-0/+0
| | | | | | | | | | Purpose: Update the test file vg.h5 Description: Solution: Platforms tested: eirene(LINUX),arabica,baldric(SUN 5.6),paz(IRIX6.5),gondolin(DEC),opus(HP-UX11)
* [svn-r2675] MuQun Yang2000-10-123-26/+27
| | | | | | | | | | | | Purpose: fix "zero memory" routine and change dimensional scale name size to MAX_DIM_NAME Description: change bzero into h4toh5_ZeroMemory change dimensional scale name size(orginally MAX_NC_NAME) to MAX_DIM_NAME at converter. Solution: see description Platforms tested: arabica,baldric,gondolin(DEC),opus(HP 11),eirene(Linux),paz(IRIX6.5)
* [svn-r2674] MuQun Yang2000-10-123-8/+35
| | | | | | | | | | | | | | | | | Purpose: 1. fix size of dimensional name list so that the size of dimensional name in dumper output will not change because of different versions of hdf library(h4toh5util.h and h4toh5sds.c). 2. fix bzero routine for windows platform(h4toh5util.h,h4toh5util.c,h4toh5anno.c,h4toh5main.c, h4toh5sds.c) Description: 1. change the MAX_DIM_NAME into 276(MAX_NC_NAME +dimension group name) and hopefully we will not expand the size of MAX_NC_NAME(currently 256) for a long time. 2. create a new routine(h4toh5_ZeroMemory) to zero out memory. Use ZeroMemory in windows and bzero at UNIX. Solution: see Description. Platforms tested: LINUX(eirene),WINDOWS 2000, sun 5.6(baldric and arabica),HP-UX11(opus),DEC(gondolin),IRIX 6.5(paz).
* [svn-r2653] Purpose:Quincey Koziol2000-10-101-1/+3
| | | | | | | | | No change. Description: Must've added some debuging printf's and then took them out in a way which triggered CVS. Platforms tested: Solaris 2.6 (baldric) & FreeBSD 4.1.1 (hawkwind)
* [svn-r2643] Purpose:Bill Wendling2000-10-092-7/+173
| | | | | | | | | | | | Adding Testing Description: Alignment when putting elements in a compound datatype can be off. Solution: This was a bug which I'd fixed. Here's a program to exercise the bug. Platforms tested: Linux
* [svn-r2637] Purpose:Bill Wendling2000-10-061-803/+756
| | | | Format changes
* [svn-r2636] Purpose:Quincey Koziol2000-10-051-1/+1
| | | | | | | | | | Bug Fix Description: Test was not detecting hdp tool from HDF 4.1r4 correctly. Solution: Modified test to detect HDF4.1r[3-9] correctly. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2634] Purpose:Bill Wendling2000-10-051-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: In the h5dump_fixtype function, when users created a COMPOUND datatype, the alignment would be off somewhat. Solution: The alignment was being set after insertion. I changed this code: for (i = 0, offset = 0; i < nmembs; i++) { H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4, NULL, memb[i]); for (j = 0, nelmts = 1; j < ndims[i]; j++) nelmts *= dims[i * 4 + j]; offset = ALIGN(offset, H5Tget_size(memb[i])) + nelmts * H5Tget_size(memb[i]); } to: for (i = 0, offset = 0; i < nmembs; i++) { if (offset) offset = ALIGN(offset, H5Tget_size(memb[i])); H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4, NULL, memb[i]); for (j = 0, nelmts = 1; j < ndims[i]; j++) nelmts *= dims[i * 4 + j]; offset += nelmts * H5Tget_size(memb[i]); } The alignment is now calculated before the insertion. Platforms tested: Solaris, Linux