summaryrefslogtreecommitdiffstats
path: root/tools/h5import/h5import.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r15699] Bug fix #1281Pedro Vicente Nunes2008-09-251-6/+27
| | | | | | | | | | The TEXTFPE was described in the usage (read floats in scientific notation) but was not implemeneted. Solution: remove TEXTFPE from the help system and have the TEXTFPE input type do the same thing as TEXTPF currently does to support backwards compatibility (the format read for both TEXTFPE and TEXTPF is %f) added a test tested: windows, linux
* [svn-r15628] Description:Quincey Koziol2008-09-161-17/+17
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r14903] Undoing change committed in r14902.Scot Breitenfeld2008-04-301-9/+46
|
* [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. ↵Scot Breitenfeld2008-04-301-46/+9
| | | | New fortran wrappers added.
* [svn-r14613] 971 (B2) h5import bug on Windows w/binary datasets. CLOSED. ↵Pedro Vicente Nunes2008-02-191-9/+46
| | | | | | | | | | | | | | | | | | fread in windows needs a binary file to be open with "rb" instead of "r" otherwise it terminates execution if an end of file character is found on the input file. Besides that the binary file generated needs to be open with "wb" , otherwise an end of line character is read twice. DONE NOW for 1.8, already done previously for 1.6 renamed the h5import test files to have the extensions text input files = .txt binary input files = .bin configuration files = .conf hdf5 files = .h5 besides that in very test the files have the same name except extension. For example TOOLTEST txtin16.txt -c $srcdir/testfiles/txtin16.conf -o txtin16.h5 The convention for the test name is for example, for "txtin16" "txt" for text then "in16" means integer 16 size Tested: linux, solaris
* [svn-r14227] new feature: add a -V version flag for h5importPedro Vicente Nunes2007-10-311-0/+9
| | | | tested: windows, linux
* [svn-r14199] Description:Quincey Koziol2007-10-111-18/+11
| | | | | | | | | | | | | | | | | | | | | Add H5Dcreate to API versioned routines, replacing internal usage with H5Dcreate2 Fix thread-safe error stack initialization for API versioned error stack printing routines. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14115] Description:Quincey Koziol2007-08-281-2/+2
| | | | | | | | | | | | | | | | | Remove all plain calls to H5Gopen() from source, replacing them with either H5Gopen2(). Add test for H5Gopen1(). Reformatted several pieces of code, to clean them up. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14104] Description:Quincey Koziol2007-08-231-36/+27
| | | | | | | | | | | | | Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate them, leaving only a few tame specimens in text files and comments. ;-) Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew)
* [svn-r14071] Pedro Vicente Nunes2007-08-101-1/+1
| | | | | | typo fix in usage message tested: linux
* [svn-r14069] typo fix in usage messagePedro Vicente Nunes2007-08-101-1/+1
| | | | tested: linux
* [svn-r14068] typo fix in usage messagePedro Vicente Nunes2007-08-101-1/+1
| | | | tested: linux
* [svn-r14044] Pedro Vicente Nunes2007-08-071-1/+1
| | | | | | updated the usage message to say the STR option is implemented tested: windows, linux
* [svn-r14039] Pedro Vicente Nunes2007-08-071-2/+196
| | | | | | | | | | | | | New feature: implementation of h5import conversion of an ASCII plain-text file containing text data The string type H5T_C_S1 is used to define the data (the datum is defined here as one line of text in the text file). The size is set to variable length (H5T_VARIABLE) The space used is a 1D array with as many elements as there are lines in the ASCII file (a line is defined by the inclusion of an end of line character, ASCII number 10). A first traversal of the input text file must be made to determine the number of lines in the file and thus the dimensionality of the dataset. New test to the test script added text input files and teststr.h5 for h5dump to compare added Tested: windows, linux, solaris
* [svn-r14000] Pedro Vicente Nunes2007-07-231-2/+2
| | | | | | | bug fixes: help message had incorrections, typos tested: linux
* [svn-r13999] Pedro Vicente Nunes2007-07-231-279/+279
| | | | | | | purpose: bug 791 redirect help output to stdout rather to stderr tested: windows, linux
* [svn-r13998] Pedro Vicente Nunes2007-07-231-3/+3
| | | | | | typo fixes in error messages tested: linux
* [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not ↵Scott Wegner2007-05-181-8/+8
| | | | | | | WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform. Tested: Visual Studio (32- and 64-bit) on Win XP
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | 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-r13064] Pedro Vicente Nunes2006-12-141-5/+5
| | | | | | | | | | | | | | | | | | | 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-r12140] Purpose:MuQun Yang2006-03-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | portable issue on windows Description: setvbuf on visual studio 2005 needs the size to be greater or equal to 2. <description of setvbuf from msdn library> Buffer size in bytes. Allowable range: 2 <= size <= INT_MAX (2147483647). Internally, the value supplied for size is rounded down to the nearest multiple of 2. h5import used linebuffer option of setvbuf for stderr and stdout and the size is 0 by default. This causes core dump with visual 2005 on windows 64-bit. Solution: 1. Use HDsetvbuf inside h5import.c, 2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around the core dump of h5import test. This is probably a bug inside visual studio 2005. Platforms tested: h5committest( shanti refuses to be connected) windows 6.0 at XP visual 2005 at XP-64bit Misc. update:
* [svn-r11886] Purpose:Quincey Koziol2006-01-231-18/+17
| | | | | | | | | | | | | Code cleanup Description: Check in some of the code cleanups from working on the external link support. (This doesn't include any of the external link features) Platforms tested: FreeBSD 4.11 (sleipnir) Mac OSX.4 (amazon) Linux 2.4
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-351/+351
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r9934] Purpose:Robert E. McGrath2005-02-041-1/+17
| | | | | | | | | | | | | | | Bug Description: Refinement to bug fix #282 Solution: Altered argument handling to do a better default. Platforms tested: verbena, shanti Misc. update:
* [svn-r9927] Purpose:Robert E. McGrath2005-02-031-0/+30
| | | | | | | | | | | | | | | Bug fix #282 Description: Problem with byte order Solution: Do it right. See 1.6 checkin Platforms tested: verbena, shanti Misc. update:
* [svn-r8383] Purpose:Quincey Koziol2004-04-181-13/+1
| | | | | | | | | | | | | Code cleanup Description: Clean up lots of warnings based on those reported from the SGI compilers as well as gcc. Platforms tested: SGI O3900, IRIX64 6.5 (Cheryl's SGI machine) FreeBSD 4.9 (sleipnir) w/ & w/o parallel h5committest
* [svn-r7574] Purpose:Bill Wendling2003-10-081-28/+28
| | | | | | | | | | | | | | | | Code Improvement Description: Changed from passing a structure into a function by value into passing it in by pointer. Noticed this while compiling with a highly optimizing compiler which took >30 minutes to analyze the program (granted, this is the compiler's fault, but in general, it's better to pass large structures in by pointer and not by value). Platforms tested: Linux (specific to h5import, so only needed to test on one platform) Misc. update:
* [svn-r7312] Purpose:Quincey Koziol2003-08-081-22/+14
| | | | | | | | | | | | Code cleanup Description: Use H5E_BEGIN_TRY/H5E_END_TRY macros around code which shouldn't display the error stack on failure, instead of setting and resetting the automatic error printing routines. Platforms tested: h5committested
* [svn-r7265] *** empty log message ***Raymond Lu2003-07-261-9/+9
|
* [svn-r7002] Purpose:Quincey Koziol2003-06-091-5/+5
| | | | | | | | | | | Code cleanup Description: Clean up warnings about unused stuff... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6949] Purpose:Robert E. McGrath2003-06-031-12/+20
| | | | | | | | | | | | | | | | Minor corrections to match the man pages. Code provided by Pankaj. Description: * do not accept more than 30 file names * corrected error messages. Solution: Platforms tested: Tested on verbena. Already tested on several platforms before integration. Misc. update:
* [svn-r6621] Purpose:Bill Wendling2003-04-101-7/+13
| | | | | | | | | | | | | | Update Description: Updated the copyright statements that I forgot... Platforms tested: Modi4 (Fortran & Parallel) Arabica (Fortran) Burrwhite (Fortran & C++) Misc. update:
* [svn-r6618] Elena Pourmal2003-04-091-2/+2
| | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: On HP11.00 and True64 systems strtoll function that is used to read text to long integers is not available. Compilation fails for h5import.c Solution: Replace strtoll with HDstrtoll. HDstrtoll is a private HDF5 function defined in H5private.h file, but this include file was already used by h5import for some other reasons. It would be probably better to choose strtol or strtoll functions at the configuration time, but HDstrtoll provided really simple solution for now. Platforms tested: arabica (to test that where it was working, it is still working), kelgia (HP11.00) and PSC True64 machine. Misc. update:
* [svn-r6583] Elena Pourmal2003-04-031-0/+2623
Purpose: New tool Description: Pankaj created h5import tool long time ago. I am finally checking the source code in for the 1.6 release. Known problems: h5import test will crash if srcdir option is used; will be fixed before the release. Solution: Platforms tested: vebena, arabica, modi4 were tested. h5import tests passed I also tested on arabica with srcdir option to make sure that there is a problem when srcdir is used. After that I disabled h5import tests. Daily tests will build h5import, but will not run h5import tests. Misc. update: