summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4012] Purpose:Quincey Koziol2001-06-1817-359/+320
| | | | | | | | Clean up compiler warnings. Description: Just code neatening mostly, some casts, etc. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3989] MuQun Yang2001-06-112-6/+66
| | | | | | | | | Purpose: New features for adding attribute options and modifying testing files Description: Solution: Platforms tested: eirene,arabica
* [svn-r3988] MuQun Yang2001-06-119-175/+479
| | | | | | | | | | | | | | | | | Purpose: new features Description: 1. add an option to convert HDF4 file without HDF4 specified attributes such as HDF4_OBJECT_TYPE, HDF4_REF_NUM etc. it can be done by inputting "h4toh5 -na input.hdf" The default converter will still keep HDF4 specfied attributes. 2. Add compression features (gzip) for image too. Now the compressed HDF4 image can be supported by using HDF5 gzip. Not sure whether tools can read it. Need to be tested. 3. Change SPACEPAD to NULLTERM for HDF4 dimensional name list. We can use variable length HDF5 string to represent these names, however currently H5dump and H5view cannot support variable length HDF5 string. converter will wait for other tools' update. Solution: Platforms tested: eirene(Red Hat 6.2) and arabica(solaris 2.7)
* [svn-r3987] MuQun Yang2001-06-112-0/+0
| | | | | | | | | | Purpose: update h4toh5 converter utility test files Description: better output of HDF4 dimensional name list Solution: Platforms tested: eirene,arabica
* [svn-r3986] MuQun Yang2001-06-113-0/+0
| | | | | | | | | | | | | Purpose: update h4toh5 testing files Description: Now we are using fixed size for HDF5 dimensional name list and h5dump output is appended with 000/000/....................... It looks ugly and annoying. Solution: Use NULLTERM for SDS dimensional list names Platforms tested: RedHat 6.2(eirene) and solaris 2.7(arabica)
* [svn-r3985] Purpose:Quincey Koziol2001-06-111-1/+1
| | | | | | | | Code cleanups Description: Fixed a small number of compiler warnings. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3984] Purpose:Quincey Koziol2001-06-112-25/+25
| | | | | | | | Code cleanups Description: Fixed a small number of warnings. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3921] Elena Pourmal2001-05-121-0/+179
| | | | | | | Purpose: Fooling around Description: Added deleted gif.h file
* [svn-r3920] Elena Pourmal2001-05-121-179/+0
| | | | | | | | | | Purpose: Bug fix Description: Rushabh added new directory tools/gifconv to CVS. He also modified MANIFEST, but bin/chkmanifest complains this file. Solution: I will try to delete gif.h and then to add it once more.
* [svn-r3919] Rushabh Doshi2001-05-1212-1/+2841
| | | | | | | | | | | | | | | | | | | | | Purpose: Adding new feature Description: Added gif2h5 and h52gif conversion utilities Solution: The utilites follow the framework built for the gif2hdf and hdf2gif utilities for hdf4. The main files modified were those that read the H5 file and those that write H5 file. In the future, if you wish to continue with the framework and extend it to .png or some other fileformat the main files to edit will be the gif reader and writer. One point to note with h52gif. You have to specify the exact location of the image and the palette that it links to. You can choose not to specify a palette (uniform grayscale chosen in this case) but you must specify image location. In the future, someone could edit the readhdf.c source to enable the reader to parse the hdf file and select all images with corresponding palettes. Platforms tested: modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)
* [svn-r3871] MuQun Yang2001-04-281-2/+4
| | | | | | | | | | | | | Purpose: Add definations of two new functions Description: Solution: Platforms tested: eirene [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.]
* [svn-r3870] MuQun Yang2001-04-281-1/+8
| | | | | | | | | | | | | | Purpose: Add a constant(compression level for gzip) Description: For compression issue Solution: Platforms tested: eirene [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.]
* [svn-r3869] MuQun Yang2001-04-281-3/+12
| | | | | | | | | | | Purpose: a bug fix Description: User can define "Real Vdata" as user-defined attribute. By using VSisattr, we can check this out. In order to keep this piece of information, We use "Vdata attribute" in the converted HDF5 file to distingush this kind of Vdata from independent Vdata. Solution: see above Platforms tested: eirene(Linux)
* [svn-r3868] MuQun Yang2001-04-281-1/+1
| | | | | | | | | | | | Purpose: a bug fix Description: When Vsisattr is true, this Vdata still needs to be converted as an independent real "Vdata", We will add object type of this vdata as "Vdata attribute". Solution: erease the evaluation of Vsisattr call. Platforms tested: Linux(eirene)
* [svn-r3867] MuQun Yang2001-04-281-310/+830
| | | | | | | | | | | | | | | | | | | | | | Purpose: bug fix Adding more features Description: Bugs: 1) hdf4 dimensional scale data can be none, but the dim name can still defined by users, so number of hdf4 dimensional names and number of object reference may be different Previously, this problem is not considered. 2) SDcheckempty will return true when fill value is set to HDF4 SDS, and then fill value information is lost 3) check whether SDS have fill value set although SDcheckempty return true. Use H5Psetfillvalue and H5Dcreate in HDF5 part, still needs to wait for the new development of HDF5 and also need to investigate whether this part of code has bugs. New features: compressed SDS will get compressed with gzip when it is converted. That will save some space. [describe the bug, or describe the new feature, etc] Solution: See above and design document Platforms tested: eirene(linux) [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.]
* [svn-r3853] Purpose:Bill Wendling2001-04-245-0/+106
| | | | | | | | Adding Tests Description: Added tests for the h5dump subsetting feature. Platforms tested: Linux
* [svn-r3841] Purpose:Bill Wendling2001-04-241-1/+1
| | | | | | | | | | Oops Description: An "if" was capilalized for some reason. Solution: Changed it from If to if. Platforms tested: Linux
* [svn-r3840] Purpose:Bill Wendling2001-04-241-2/+2
| | | | | | | | | | | | small bug fix Description: If specifying --stride, it was checking for the wrong short-form of the command-line parameters. Solution: Changed the 'T' to 'S' which is the new short form for the stride option. Platforms tested: Linux
* [svn-r3811] Purpose:Bill Wendling2001-04-131-11/+23
| | | | | | | | | | | | Update Description: If the count for a subset isn't specified, then we default to the remainder of the dataset. Solution: Check for the count to be specified. If not, then find the dimensions of the dataset and subtract from the the "start" parameter. Platforms tested: Linux
* [svn-r3795] Purpose:Bill Wendling2001-04-102-186/+248
| | | | | | | | | | | | | Update Description: Updated the way the subsetting data is retrieved. It now does it one row of blocks at a time. It may still run out of memory, but this is at least a good first step. Also, the start parameter defaults to (0, 0, ...) if it isn't specified. Platforms tested: Linux
* [svn-r3782] Purpose:Bill Wendling2001-04-051-1/+2
| | | | | | | Update Description: Changed old style includes "with <>" to new style 'with ""' for dependencies gathering.
* [svn-r3769] Purpose:Bill Wendling2001-04-034-15/+16
| | | | | | | | | | | | | | | | | | Update Description: Replaced #include <hdf5_file.h> with #include "hdf5_file.h" so that gcc can pick up our files more easily without picking up system header files (which we don't care about being in the dependencies list). Platforms tested: Linux
* [svn-r3768] Purpose:Bill Wendling2001-04-031-2/+2
| | | | | | | | | | Update Description: Replaced "#include <hdf5_file.h>" with the equivalent, but better #include "hdf5_file.h" so that gcc can pick up our header files more easily. Platforms tested: Linux
* [svn-r3739] MuQun Yang2001-03-291-17/+38
| | | | | | | | | | | | | Purpose: a bug fix Description: when creating sds dimensional scale dataset, I accidently created two sds dimensional scale dataset with the same name, (say using name "dim1" for both rank 2 and rank 3). hdf4 library doesn't give me complaints, hdp dumpsds doesn't generate complaints. h4toh5 converter since assumed that dimensional scale name has to be unique, simply skip if finding the same dimensional name, so accidently the result from hdp dumpsds are the same as the result from h5dump until I implement library API and find this bug. Solution: make unique sds dimensional scale name for this test file. Will also need to modify testfiles later. suggestions: somebody check hdf4 library to disallow the same dimensional scale nameOused for the same sds object. Platforms tested: eirene, and this check in will not affect daily test.
* [svn-r3681] Purpose:Bill Wendling2001-03-211-25/+50
| | | | | | | | | Update Description: Applied fix to h5dumper which was applied to the 1.4 branch. Done just before creating subdirectories in the 1.4 branch. Platforms tested: Linux
* [svn-r3680] Purpose:Bill Wendling2001-03-219-773/+773
| | | | | | | | | Updated Description: Updated test results for the h5dumper's XML option. The tool now conforms with the fixes implemented in the 1.4 branch. Platforms tested: Linux
* [svn-r3648] Purpose:Bill Wendling2001-03-151-19/+34
| | | | | | | | | | Feature Add Description: This is the first (alpha) version of h5tools which does subsetting according to the subsetting document. There's still some niceties which need to be worked out, but this is the ground work. Platforms tested: Linux
* [svn-r3634] Purpose:Bill Wendling2001-03-141-5/+2
| | | | | | | | | | | Bug Fix. Description: Kent is correct about the malloc error. It's harmless if it's not needed anyway. Solution: Removed the #ifdef's since all platforms should use this. Platforms tested: Linux
* [svn-r3633] MuQun Yang2001-03-141-0/+6
| | | | | | | | | | | | | Purpose: fixing the format of dumper output for windows test Description: New dumptest includes the feature that an error of the output will be put into stderr in linux On windows, that stderr will not be redirected into the output file and the comparsion between the expected file and the dumper output is not correct. Solution: change fprintf(stderr .....) at h5tool_util.c into fprintf(stdout ......) so that it fits the comparison. Platforms tested: windows 2000
* [svn-r3632] MuQun Yang2001-03-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: a bug fix on windows(possible on other platforms) Description: not allocating enough space for a string at dump_all for debug version a string tmp is defined at dump_all(....), The memory that is allocated to tmp is malloc(strlen(prefix)+strlen(name)+1); However, there is one testing case : strlen(prefix) is 0 and tmp is allocated in the following: strcat(tmp,"/"); strcat(tmp,name); .... free(tmp); the program fails when freeing tmp for debug (dll) version on windows 2000 Solution: For windows platform: allocate memory strlen(prefix)+strlen(name)+2 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.]
* [svn-r3611] MuQun Yang2001-03-121-10/+2
| | | | | | | | | Purpose: avoid a windows bug for string handling Description: Solution: Platforms tested: windows 2000, linux
* [svn-r3607] MuQun Yang2001-03-122-2/+2
| | | | | | | | | Purpose: change macro RGB into HDF5_RGB since RGB is defined on windows platforms Description: Solution: Platforms tested: eirene
* [svn-r3601] MuQun Yang2001-03-101-0/+10
| | | | | | | | | | | Purpose: a bug fix Description: uninitialize the start and edge value for test_ras8 and test_ras24 functions Solution: initialize Platforms tested: eirene,arabica
* [svn-r3575] Purpose:Bill Wendling2001-03-081-10/+5
| | | | | | | | | Update Description: Due to code motion, some functions which were being called were moved to another module. Included only that header file. Platforms tested: Linux
* [svn-r3574] Purpose:Bill Wendling2001-03-082-93/+110
| | | | | | | | | | Update Description: Updated to reflect the new naming of APIs in the h5tools library. I.e., things which were once named "h5dump_*" now have the "h5tools_" prefix instead. Platforms tested: Linux
* [svn-r3573] Purpose:Bill Wendling2001-03-082-1670/+352
| | | | | | | | | | Code Cleanup Description: Moved some code out which wasn't specific to the h5tools into the h5tools_utils and h5tools_str modules. Also started on adding the subsetting feature to the dumping. Platforms tested: Linux
* [svn-r3572] Purpose:Bill Wendling2001-03-082-10/+725
| | | | | | | | | Code Movement Description: Moved some functions which worked only with the h5tools_str_t structure from the h5tools module to the h5tools_str module. Platforms tested: Linux
* [svn-r3571] Purpose:Bill Wendling2001-03-082-0/+762
| | | | | | | | | New Modules Description: Separated the "generic" functions out of the h5tools module into their own separate module to make things a bit nicer to deal with. Platforms tested: Linux
* [svn-r3570] Purpose:Bill Wendling2001-03-081-1/+1
| | | | | | | | Update Description: Added entry for h5tools_utils.* Platforms tested: Linux
* [svn-r3569] Purpose:Bill Wendling2001-03-081-4/+3
| | | | | | | | | | | | | Update Description: Changed name of h5tools functions. Solution: Changed h5dump_fixtype() -> h5tools_fixtype() Platforms tested: Linux
* [svn-r3535] Purpose:Bill Wendling2001-03-021-7/+7
| | | | | | | | | | Bug Fix Description: We weren't doing cleans or installs in the lib/ subdirectory. Solution: Added lib to the for loops. Platforms tested: LInux
* [svn-r3523] Purpose:Bill Wendling2001-02-271-3/+3
| | | | | | | | | | | Bug Fix Description: For some reason, it was trying to cd to the examples/ and pablo/ directories to do a distclean. Only problem was, they aren't here. Solution: Removed those from the `for' loop. Platforms tested: Linux
* [svn-r3517] Purpose:Bill Wendling2001-02-262-141/+285
| | | | | | | | | | | | More Subsetting Description: Wanted to do a check-in of the current subsetting stuff. The command-line parsing was already in there. I now added the feature to the h5dump_t structure and it now outputs the new SUBSET DDL stuff in the correct format. It doesn't yet do the actual subsetting, but we're getting there... Platforms tested: Linux
* [svn-r3514] Purpose:Bill Wendling2001-02-241-368/+497
| | | | | | | | | | | | Resubmit of Changes Description: Previous changes to the h5dumper were lost. This patch includes better memory management of XML formatted strings along with the bug fixes for the XML code. Solution: Merged the XML patch with the previous code. Platforms tested: Linux
* [svn-r3513] Purpose:Bill Wendling2001-02-241-1/+0
| | | | | | | | | | Bug Fix Description: assert.h was included twice now that H5private is in there. Solution: remvoed one. Platforms tested: Linux
* [svn-r3512] Purpose:Bill Wendling2001-02-241-1/+2
| | | | | | | | | | | | Bug Fix Description: Some platforms (gondolin) don't necessarily have the vsnprintf function. Solution: Changed it to HDvsnprintf and added a header for H5private to include it... Platforms tested: Linux
* [svn-r3508] Purpose:Bill Wendling2001-02-233-10/+18
| | | | | | | | | | | | Bug Fix Description: We were trying to build the talign test program before the library was actually built. Solution: Moved talign test to the lib directory since it belongs with the library anyway. Platforms tested: Linux
* [svn-r3506] Robert E. McGrath2001-02-2310-1276/+1144
| | | | | | | | | | | | | Purpose: Bug fix. Description: Order of elements in groups is wrong. (Need to find out why h5gen accepted this at all.) Note that test output had to be corrected in some cases. Solution: Fixed xml_dump_group to do the right order to match the DTD Platforms tested: Linux, solaris.
* [svn-r3497] Purpose:Bill Wendling2001-02-221-2/+2
| | | | | | | | | | Fix Description: Left some more cruft in there. Solution: Removed. I still need to check on the testing of `talign'... Platforms tested: Linux
* [svn-r3496] Purpose:Bill Wendling2001-02-221-1/+1
| | | | | | | | | | Fix Description: Left in the separate subdirectories fro the small programms. Solution: removed them and replaced with the misc/ subdirectory Platforms tested: Linux