summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13264] Updated Makefile.am with new THG copyright notice.Albert Cheng2007-02-072-4/+6
| | | | Ran reconfigure to generate the Makefile.in files.
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-072-4/+6
| | | | Tested: visual inspection as they are all just comments.
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-074-8/+12
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13181] Added a configure check to prevent a failure on Cygwin.James Laird2007-01-231-1/+1
| | | | | | | | | | | | | | It seems that while Cygwin supports the time command, it has trouble with the syntax srcdir="../../hdf5/test" time ./testhdf5 and complains. The solution is to test the above case in configure and not to use the time command if it fails; Cygwin is fine with srcdir="../../hdf5/test" ./testhdf5 Tested on Cygwin and kagiso. This feature shouldn't be a major compatibility problem since every platform but Cygwin is already fine with the current syntax.
* [svn-r13179] Pedro Vicente Nunes2007-01-231-5/+5
| | | | replaced the path to XML schema from NCSA page to hdfgroup.org
* [svn-r13139] Fixed the MULTI problem (Bug #731) that corrupted the data. ↵Raymond Lu2007-01-122-0/+5
| | | | | | | The problem came from the EOA for the whole MULTI file. It's taken out because it's meaningless for MULTI file. Instead, each individual file has its EOA.
* [svn-r13134] Pedro Vicente Nunes2007-01-101-3/+4
| | | | | | | | | | New version of the function h5tools_dump_simple_subset, to display subsetting. The new algorithm is: Introduced an outer loop for cases where dimensionality is greater than 2D. In each iteration a 2D block is displayed by rows in a inner loop. The remainning slower dimensions above the first 2 are incremented one at a time in the outer loop Note: when blocks are introduced, the display is not correct. This is a bug that requires an improvement of the algorithm.
* [svn-r13132] Pedro Vicente Nunes2007-01-102-2/+5
| | | | Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
* [svn-r13078] Pedro Vicente Nunes2006-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one more fix related to bug 551. the printing of the subsetting parameters was not using the new hsize_t printing format correct output is now [pvn@kagiso ad]$ /home1/pvn/build_hdf5/tools/h5dump/h5dump -d /a -s "0,8899716890" -c "1,10" jasp_char.h5 HDF5 "jasp_char.h5" { DATASET "/a" { DATATYPE H5T_STD_I8LE DATASPACE SIMPLE { ( 20, 8899716900 ) / ( 20, 8899716900 ) } SUBSET { START ( 0, 8899716890 ); STRIDE ( 1, 1 ); COUNT ( 1, 10 ); BLOCK ( 1, 1 ); DATA { (0,8899716890): 1, (0,8899716891): 1, (0,8899716892): 2, (0,8899716893): 2, (0,8899716894): 3, (0,8899716895): 3, (0,8899716896): 4, (0,8899716897): 4, (0,8899716898): 5, (0,8899716899): 5 } } } }
* [svn-r13076] Pedro Vicente Nunes2006-12-191-1/+2
| | | | | | | | | | | | | | fix for bugzilla bug #551 several programming errors contributed to this bug 1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof 2) several index counters were declared as int, use hsize_t instead 3) the numerical format passed for printf was %lu, defined one compatible with hsize_t instead (unsigned long long)
* [svn-r13064] Pedro Vicente Nunes2006-12-143-14/+20
| | | | | | | | | | | | | | | | | | | Fix several bugs 1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof 2) the printing of indices in the subsetting case was not being done. Solution: calculate the element position at the start of the subsetting using the algorythm Given an index I(z,y,x) its position from the beginning of an array of sizes A(size_z, size_y,size_x) is given by Position of I(z,y,x) = index_z * size_y * size_x + index_y * size_x + index_x And pass that position to the function that dumps data, h5tools_dump_simple_data. 3) several index counters were declared as int, use hsize_t instead 4) modified the test generation program so that it includes test cases for subsetting of 1d, 2d, 3d, and 4d arrays and add these tests to the shell script
* [svn-r13034] Description:Quincey Koziol2006-12-081-1/+1
| | | | | | | | Take out separate memory type in the file for SOHM objects and create aliases for existing memory types for SOHM use. Tested on: FreeBSD/32 4.11 (sleipnir)
* [svn-r13024] Pedro Vicente Nunes2006-12-061-10/+12
| | | | | | | | fixed 2 initializations of char* with HDstrdup and HDcalloc info->prefix = HDcalloc(1, 1); fname = HDstrdup(argv[opt_ind]); some were exposed by compiler warnings
* [svn-r12929] Hopefully this really is a fix for the tg-login errors.James Laird2006-11-161-3/+1
| | | | | | | | | | | The version of libtool used by HDF5 isn't directly affected by the reconfigure script; instead, libtoolize --force must be used by hand. Libtool was the source of the problem, so rolling its version back to 1.5.14 should solve the issue (at least temporarily). Reconfigure should still work on both heping and kagiso. Tested on heping, kagiso, and tg-login3.
* [svn-r12911] Backed up to previous versions of automake and libtool. ↵James Laird2006-11-141-1/+3
| | | | | | | | Hopefully this will fix issues on tg-login3. bin/reconfigure should still work on both heping/mir and kagiso.
* [svn-r12902] Checkin of Shared Object Header Message work.James Laird2006-11-131-1/+1
| | | | | | | | | | | | This feature is still in progress; Shared Object Header Messages are not complete as a feature and are not thoroughly tested. There are still "TODO" comments in the code (comments with the word "JAMES" in them, so as not to be confused with other TODO comments). Hopefully this checkin will reduce the liklihood of conflicts as I finish implementing this feature. All current tests pass on juniper, copper (parallel), heping, kagiso, and mir.
* [svn-r12895] Description:Quincey Koziol2006-11-131-4/+4
| | | | | | | | | | | | | Add new H5Lget_val_by_idx() routine & tests. Also includes most of changes for H5Ldelete_by_idx() routine. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir) AIX/32 5.? (copper)
* [svn-r12887] A fix for linking issues.James Laird2006-11-101-0/+1
| | | | | | | | | | | | Should disable linking against shared libraries in Fortran for compilers that don't support shared libraries. Should also fix problem when the wrong Fortran file extension was specified. If these changes don't solve the Daily Test issues, I'll look at backing out the autotool version change until I have time to fix them. Tested on heping, kagiso, juniper.
* [svn-r12883] Pedro Vicente Nunes2006-11-081-0/+3
| | | | | | h5dump bug 701. Symptom: The creation of a hardlink pointing to the root group "/" causes h5dump to display it as a link pointing to itself. Cure: the root group was not being inserted in the table that keeps track of object names and links. Added a test for this in the test generation program, the creation of a hardlink to the root
* [svn-r12882] Changed bin/reconfigure to work on kagiso as well as on AFS ↵James Laird2006-11-081-7/+9
| | | | | | | | Linux machines. Updated to the latest versions of autotools. Tested on kagiso, heping, and juniper. Let me know if you have any problems.
* [svn-r12864] Description:Quincey Koziol2006-11-061-4/+4
| | | | | | | | Changed H5Lget_linkval() to H5Lget_val(), per our design discussion last Friday afternoon. Tested on: Linux/32 2.6 (chicago)
* [svn-r12835] Description:Quincey Koziol2006-10-311-8/+8
| | | | | | | | | Change H5Lget_linkinfo() to H5Lget_info() to better align with coming API changes. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12831] Changed the API for "unpacking" an external link value to take ↵James Laird2006-10-301-2/+2
| | | | | | | | | | the size of the linkval buffer, per Elena and Frank's suggestions while revising the documentation. Added error checking using this size, as well as a couple of tests. Tested on juniper, kagiso, and sol.
* [svn-r12762] Pedro Vicente Nunes2006-10-161-5/+4
| | | | rewrote the -b option to make it more clear
* [svn-r12747] Added a condition check to see if Direct I/o is enabled.Raymond Lu2006-10-111-0/+2
|
* [svn-r12743] Took out printout for driver information because the driver ↵Raymond Lu2006-10-111-3/+5
| | | | | | used can be different from the driver used for standard output.
* [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is ↵James Laird2006-10-101-2/+2
| | | | | | | | | | only tested if it is enabled. Added Direct VFD status to the configure summary. Removed a line left over from pablo support. Oops!
* [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI ↵Raymond Lu2006-10-101-3/+11
| | | | | | | | | | Altix (cobalt). There's a configure option --enable-direct-vfd/--disable-direct-vfd to enable/disable Direct I/O support. The default is enabled. There's a small test in test/vfd.c. Another way to test it is to set environment variable HDF5_DRIVER to "direct" and run "make check" in the test/ directory. There'll be some further improvement in the following checkin including allowing user to provide memory boundary value, file block size, and copying buffer size.
* [svn-r12736] Description:Quincey Koziol2006-10-092-89/+71
| | | | | | | | | | | | | | | | | | | Add "use the latest format" support for dataspace object header encode/ decode routines and clean up format a bit for the latest format (new to 1.8.x releases) Remove storing 'perm' parameter for array datatypes in memory and the file, and add test to make certain that if any user applications are attempting to store them, we get some reports back. (Should be unlikely, since the RefMan says that the parameter is not implemented and is unsupported). Carry those changes into the tests, etc. Clean up a bunch more compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' ↵James Laird2006-10-031-0/+1
| | | | | | | | | | | | utility and quote its arguments. Also checks for the 'socket' library on Solaris. If this patch passes the Daily Tests and makes the user happy, I'll port it back to the 1.6 branch. Tested on mir and sol.
* [svn-r12713] Pedro Vicente Nunes2006-10-032-18/+58
| | | | | | added new tests with different datatypes for h5dump binary output tested: kagiso
* [svn-r12700] Alert:Quincey Koziol2006-10-022-42/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | File format is not stable, don't keep files produced! Description: First stage of checkins modifying the format of groups to support creation order. Implement "dense" storage for links in groups. Try to clarify some of the symbols for the H5L API. Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest file format options (including "dense" link storage in groups) Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation order tracking in groups (although no index on creation order yet). Remove --enable-group-revision configure flag, as file format issues are now handled in a backwardly/forwardly compatible way. Clean up lots of compiler warnings and other minor formatting issues. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-v1.6 compa Mac OSX/32 10.4.8 (amazon) AIX 5.3 (copper) w/parallel & FORTRAN
* [svn-r12684] Pedro Vicente Nunes2006-09-261-1/+1
| | | | corrected usage message to have an example of the new binary parameters
* [svn-r12683] Pedro Vicente Nunes2006-09-264-42/+96
| | | | | | | | | | | | | | | | | | revised binary flags, added a new file to the test generator program to be used in the binary tests usage is now -o F, --output=F Output raw data into file F -b F, --binary=F Binary output, of form F (into file -o F). Recommended usage is with --dataset=P Form F of binary output is: MEMORY for memory type, FILE for the disk file type, LE or BE for pre-existing little or big endian types example ./h5dump -d integer -b MEMORY -o out.bin tbinary.h5
* [svn-r12673] Pedro Vicente Nunes2006-09-191-8/+18
| | | | | | | added long names for parameter switches that did not have them, reformated usage message tested: heping
* [svn-r12634] Purpose:Albert Cheng2006-08-281-1/+1
| | | | | | | | | | | | Code cleanup. Description: Removed argc and argv from the function arguments of h5tools_get_fapl() and h5tools_fopen(). They were used to call MPI_Init() which was no longer needed. Tested: heping (serial and parallel).
* [svn-r12608] Checked in External Link C examples.James Laird2006-08-221-1/+1
| | | | | | | | Since these examples need to follow filesystem paths, the Makefiles need to create directories in the examples directory; added this to the Makefile.am. Tested on Windows, mir, juniper
* [svn-r12584] Mentioned VFD in test output to make it easier to tell which ↵James Laird2006-08-171-7/+6
| | | | | | | | | VFD is being used when a test is run. Running reconfigure also regenerated error header files (because someone edited them manually?).
* [svn-r12544] Description:Quincey Koziol2006-08-041-0/+4
| | | | | | | | | | | | | | Clean up compiler warnings/failures in test/links.c, especially when --disable-production flag used with --enable-group-revision Modify binary dumping in h5dump to clean up files created [a band-aid solution to not actually creating the files in the srcdir, but better than just leaving the files around... :-/ ] Tested: FreeBSD 4.11 (sleipnir) (w/ configure flags above) Too minor to require h5committest
* [svn-r12529] Fixed a couple of bugs that were causing trouble for Windows ↵James Laird2006-08-031-2/+2
| | | | | | builds (not sure why they weren't on other systems). Thanks, Kent!
* [svn-r12528] Added User-Defined links to the library.James Laird2006-08-025-45/+324
| | | | | | | | | | | | | | Users can create external links using H5L_create_external(). These links point to an object in another HDF5 file. Users can alter the behavior of external links or create new kinds of links by registering callbacks using the H5L interface. Added tests, tools support, etc. Also a number of other, minor changes have been made (some restructuring of the H5L interface, for instance). Additional documentation and examples are forthcoming.
* [svn-r12519] Fixed "make check-vfd"James Laird2006-07-311-2/+3
| | | | | | | | | | "make check-vfd" will now run all tests in the test directory with different file drivers (at least, all of those tests that use the testing framework's FAPL). Tests that fail will be skipped. This is not a perfect fix, but is better than nothing. Along with this change, check-vfd should be added to the Daily Tests.
* [svn-r12518] h5dump binary output:Pedro Vicente Nunes2006-07-314-7/+11
| | | | | | | 1. changed the -F flag option names to "BE and "LE" for big and little endian 2. added a more verbose usage message for these options 3. add a new test 4. add a make clean instruction to *.bin
* [svn-r12515] Pedro Vicente Nunes2006-07-281-1/+1
| | | | | | updated the usage message with new info for the binary output option tested: linux
* [svn-r12513] Pedro Vicente Nunes2006-07-282-2/+6
| | | | | new feature h5dump binary output. use little and big endian type conversions
* [svn-r12444] Purpose:Pedro Vicente Nunes2006-06-282-7/+49
| | | | | | | | | | | | | | | | | | | | new feature Description: added support for h5dump to dump binary data using the file type format added one test to the test script that tests this Solution: Platforms tested: mir shanti copper Misc. update:
* [svn-r12440] Purpose:Quincey Koziol2006-06-272-17/+17
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12438] Purpose:Pedro Vicente Nunes2006-06-261-1/+1
| | | | | | | | | | | | updated some comments Description: Solution: Platforms tested: Misc. update:
* [svn-r12437] Purpose:Pedro Vicente Nunes2006-06-265-22/+165
| | | | | | | | | | | | | | | | | | | | | | new feature. h5dump output of binary data Description: a new switch -b FILE_NAME that dumps the contents of memory data to file FILE_NAME in binary form new program binread.c that reads the contents of this file and outputs it to stdout added a test for the h5dump shell script that does a run of -b the binread.c program reads the data used in this run, usage is ./binread FILE_NAME Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r12431] Purpose:James Laird2006-06-212-19/+9
| | | | | | | | | | | | | | Configuration feature Description: 'make install' now tests both static and shared libraries if both are installed. Solution: Previously, shared libraries were only tested when static libraries were not installed. Also cleaned up line in commence.am that was including HL library in all Makefiles. Platforms tested: mir (Makefile change only)