gsell
93d4f60116
src/Python
...
- wrappers for reading/writing attributes
2016-07-28 17:34:22 +02:00
gsell
20cd5aae98
src/h5core/h5t_io.c
...
- adapted to changed 'h5priv_write_attrib()'
2016-07-28 17:32:13 +02:00
gsell
cae3b00855
implement proper handling of append-only file mode for attributes
2016-07-28 17:31:06 +02:00
gsell
2a462733ca
src/h5core/private/h5_file.h
...
- is_writable() is now static inline not a macro
- macro CHECK_READABLE_MODE() added
2016-07-28 17:29:13 +02:00
gsell
6fb8b77baa
src/h5core/h5_attachements.c
...
- h5_add_attachment(): check file mode, return error if read-only
- adapted to new function 'h5priv_create_group()'
2016-07-28 17:27:05 +02:00
gsell
c26d6a84e3
adapted to new/changed function:
...
h5priv_open_group(): open existing group
h5priv_create_group(): create or open existing group
h5priv_open_group_with_intermediates(): open existing group
h5priv_create_group_with_intermediates(): create or open existing group
2016-07-28 17:24:34 +02:00
gsell
54ccc3b576
src/inlcude/H5_step_attribs()
...
- H5GetStepAttribName() added
- use const types where applicable
2016-07-28 17:17:18 +02:00
gsell
647af5847e
src/include/H5_file_attrib.h
...
- H5ReadFileAttribString(): bugdix in format of H5_API_ENTER(), print pointer value not string
2016-07-28 16:01:11 +02:00
gsell
aa4f40ee3d
src/h5core/private/h5_model.h
...
- h5priv_normalize_type(): bugfix: wrong type in H5_PRIV_API_ENTER() set
2016-07-28 15:59:35 +02:00
gsell
f1daa56cb8
src/h5core/private/h5_model.c
...
- h5u_set_num_points(): set step to '0' if not already set
- h5u_set_chunk(): CHECK_TIMEGROUP(f) removed. The step must not be set before setting a chunk size
2016-07-28 15:57:34 +02:00
gsell
2ea8245bba
src/h5core/h5b_io.c
...
- write_data():
- bugfix: convert passed type is from H5hut to HDF5 type
- parameter 'field_name' removed
- read_data():
- bugfix: convert passed type is from H5hut to HDF5 type
- compare type passed as parameter and type of dataset
- remove prefixing underscore from static functions
- adaptions to coding style
2016-07-28 15:54:52 +02:00
gsell
075b2f39da
src/Python/H5hut.i
...
- towards a more usable wrapper
2016-07-15 17:46:02 +02:00
gsell
7b05c32ad9
src/h5core/private/h5_attrib.h
...
- get_attrib_info(): wrong length was return for string attributes
2016-07-15 17:43:59 +02:00
gsell
9d70c07476
src/Python/H5hut.i
...
- some issues with inquiring file-attributes and datasets fixed
2016-07-08 17:13:18 +02:00
gsell
03986b00ac
src/include/g5core/h5_{file.types}.h
...
- enum used for file modes instead of macros
2016-07-08 17:11:28 +02:00
gsell
ad83c3841b
C-API:
...
- declare more args as const
- H5GetFileAttribName() added
2016-07-08 17:09:16 +02:00
gsell
73fabd043b
src/h5core/h5b_modules.c
...
- check file-handle and opened step
- h5b_3d_has_view(): debug output added
2016-07-08 17:07:18 +02:00
gsell
0aa44727c6
src/h5core/h5_file.c
...
- check file-handle and opened step
- h5_open_file2(): bugfix: move setting of step name format to the end of the function
- h5_flush_step(): bugfix: flush step data only, if a step is open
2016-07-08 17:06:07 +02:00
gsell
babd19ddd4
core API:
...
- add checks for file-handle and opened step
2016-07-08 17:03:18 +02:00
gsell
c80f6f5679
use new macro H5_RETURN_ERROR where possible
2016-07-01 17:59:12 +02:00
gsell
c9044d8e1b
src/h5core/private/h5_init.{c,h}
...
- initialize MPI if not yet done
2016-07-01 16:10:37 +02:00
gsell
21dd57c9c6
Fortran-API:
...
- use enumeration for data-types
2016-07-01 15:34:31 +02:00
gsell
fc29f7b6f0
src/h5core/private/h5_hdf5.h
...
- cleanup and minor changes
- more wrapper functions added
2016-07-01 15:33:53 +02:00
gsell
e56872ce92
src/include/H5_err.h:
...
- remove debug output from H5AbortOnError()
2016-07-01 15:32:54 +02:00
gsell
85ecf4c387
core API/C-API: use enumeration for data-types
2016-07-01 15:31:55 +02:00
gsell
f97e3c8f2d
core API:
...
- debugging macros simplified
- cleanup
- h5_delete_attachment(): check of file mode added
2016-06-24 15:51:39 +02:00
gsell
291328b997
src/h5core/private/h5_init.h
...
- cosmetic change
2016-06-22 16:15:03 +02:00
gsell
2c1bca01aa
src/include/H5Block_model.h
...
- break down some longer lines
2016-06-22 16:14:18 +02:00
gsell
a633b362a6
src/include/H5Part_model.h:
...
- break down some long lines
- H5PartGetDatasetName(): pass pointer to dataset name as const pointer
2016-06-22 16:13:16 +02:00
gsell
a12908ed90
src/include/h5core/h5_err.h:
...
- declaration of h5_error() moved to this file
2016-06-22 16:10:20 +02:00
gsell
b83d9cc8a7
src/include/h5core/h5_log.h
...
- hh5_{warn,info,debug} are not static inline any more
2016-06-22 16:08:46 +02:00
gsell
6ad9ae50e0
src/include/h5core/h5_types.h
...
- H5T_COMPOUND removed from enum h5_types_t
src/h5core/private/h5_init.c
- use H5T_COMPOUND in creation of compound types
2016-06-22 16:05:21 +02:00
gsell
9ac7e09423
src/include/h5core/h5_file_attribs.h
...
src/include/h5core/h5_step_attribs.h
src/include/h5core/h5b_attribs.h:
- use new H5hut enum type for attribute data-types
2016-06-22 16:01:46 +02:00
gsell
66452a274b
src/include/h5core/h5b_io.h
...
src/include/h5core/h5u_io.h:
- pass data-type as H5hut enum
2016-06-22 15:40:32 +02:00
gsell
d947f51c2d
src/h5core/...:
...
- introduce/implement new H5hut types
2016-06-22 15:38:24 +02:00
gsell
f5729f6f07
src/h5core/h5_model.c
...
src/h5core/h5b_attribs.c:
- cleanup/review header file we have to include
2016-06-22 15:24:05 +02:00
gsell
a64f2ce03a
src/h5core/h5_err.c
...
src/h5core/h5_log.c:
- define args as const where possible
- h5_verror() is now in h5_err.c
- h5priv_vprintf() is now in h5_log.c
2016-06-22 15:19:23 +02:00
gsell
b880bd397f
C-API:
...
- use new H5hut type enumeration, not HDF5 types
2016-06-22 14:52:02 +02:00
gsell
cd2c9031b9
src/h5core/h5_attribs.c:
...
- define args as const where possible
2016-06-22 14:48:19 +02:00
gsell
fb5e55990f
src/h5core/h5file
...
src/h5core/h5b_io.h:
- define args as const where possible
2016-06-22 14:38:09 +02:00
gsell
25dff9257c
src/h5core/Makefile.am
...
- h5_init.h is now in 'private'
2016-06-22 14:34:44 +02:00
gsell
ac37d5fc2f
Fortran API:
...
- use new enumeration of types for I/O. HDF5 types are not used any more in the high level API
2016-06-22 14:33:48 +02:00
gsell
983496104b
src/h5core/h5_log.c
...
src/h5core/h5_init.h
src/h5core/h5_log.h:
- cleanup, minor changes
2016-06-22 14:24:54 +02:00
gsell
0182d60835
src/h5core/h5_init.c:
...
- moved to src/h5core/private
2016-06-22 13:46:40 +02:00
gsell
f75ef09cf9
consolidation of log/debug message interface
2016-06-17 13:50:07 +02:00
gsell
c831a90a2e
src/h5core/h5_errorhandling.c:
...
- renamed to h5_err.c
2016-06-17 13:49:35 +02:00
gsell
bdcc8f2089
this commits includes several changes which should have been done in
...
multiple steps:
- the functions for inquiring datasets and attributes do not return
an HDF5 type any more but an enum of type h5_types_t. This change
was required for the Python module.
- bugfix in reading attributes: See https://git.psi.ch/H5hut/src/issues/4
- several consts and macros have been moved from the public C-API to
the core API
- more consitent file naming
- several 'private' function have been moved to their 'private' header
files as 'static inline'.
- minor formatting changes
2016-06-17 10:44:25 +02:00
gsell
bbbaa6a21b
src/h5core/h5t_octree.c:
...
- definition of 'h5_oct_dta_types' moved from header file to this file
2016-06-03 17:25:48 +02:00
gsell
4c5b16169d
src/Fortran/Makefile.am:
...
- bugfix: H5Block_attribs.f90 were listed twice
2016-06-03 17:24:36 +02:00
gsell
a8e209a7d3
src/Python:
...
- file and step attributes added
- all attribute i/o function have exactly 3 arguments now
- string attributes are handled the same way as attributes of other type
2016-06-03 17:23:15 +02:00