|
72897e4b5d
|
[WIP] read/write of sparse data in Python
|
2021-12-23 18:27:24 +01:00 |
|
|
c2376bf168
|
Fixed bug in text back-end when reading empt attributes
|
2021-12-23 18:21:17 +01:00 |
|
q-posev
|
31ccd27a0a
|
fix warnings on MacOS
|
2021-12-17 17:07:53 +01:00 |
|
|
2639b76a6e
|
optimize storage of indices depending on the size_max variable [TEXT]
|
2021-12-17 15:32:03 +01:00 |
|
|
daa5bdb3cc
|
(inout) buffer size instead if (out) [Fortran]
|
2021-12-17 13:33:27 +01:00 |
|
|
314beb58c9
|
refactoring done; moved common blocks into _hdf5_open_read_dset_sparse
|
2021-12-17 13:32:35 +01:00 |
|
|
1c49c81da8
|
[WIP] refactoring; write_dset_sparse done
|
2021-12-16 16:52:35 +01:00 |
|
|
fafb155228
|
return the number of read elements if read_sparse reached EOF
|
2021-12-16 11:05:57 +01:00 |
|
|
2e99a14b6e
|
read dim variable of sparse dset to compress storage of indices in HDF5
|
2021-12-14 18:03:51 +01:00 |
|
|
a8b251d820
|
write sparse values and compress int indices depending on the max num value
|
2021-12-14 18:02:58 +01:00 |
|
|
b90abcc307
|
fix memory leak in the Fortran test
|
2021-12-13 09:59:27 +01:00 |
|
|
070ef06818
|
better error handling for HDF5
|
2021-12-10 16:49:31 +01:00 |
|
|
1c16b75992
|
adapt HDF5 back end to be generated for an arbitrary number of indices
|
2021-12-10 16:02:38 +01:00 |
|
|
9f5ee463e1
|
only shift indices that have been read to the buffer (EOF case)
|
2021-12-10 14:02:05 +01:00 |
|
|
7afb53be49
|
implement shift of sparse indices to be one-based in Fortran
|
2021-12-10 11:34:37 +01:00 |
|
|
e00f3b106e
|
working HDF5 I/O for sparse indices
|
2021-12-09 16:13:28 +01:00 |
|
|
e774cb6852
|
add read_size function to HDF5 back end
|
2021-12-09 14:10:51 +01:00 |
|
|
d001844c2f
|
[WIP] working write_ for chunked extensible (sparse) datasets
|
2021-12-08 17:26:55 +01:00 |
|
|
e5bde10056
|
alternative way to check for EOF with fgets while reading
|
2021-12-03 19:23:01 +01:00 |
|
|
ed3bde973e
|
[WIP] more general templated variables for sparse data
+ renamed templated variables with std_dtype_in|out suffix into _format_scanf|printf for clarity
|
2021-12-03 15:42:40 +01:00 |
|
|
c520175cbe
|
use size_max values provided by the read_size functions
|
2021-12-03 11:48:51 +01:00 |
|
|
d2c95cd306
|
add functions to read the number of stored sparse elements
|
2021-12-02 17:28:37 +01:00 |
|
|
acdf982a94
|
fixed string length for file name + comments
|
2021-12-01 16:28:47 +01:00 |
|
|
7afce779a8
|
better error handling in TEXT back end
|
2021-12-01 16:11:40 +01:00 |
|
|
c30c3a532c
|
add Fortran interface for sparse data
|
2021-12-01 13:35:42 +01:00 |
|
|
83c926fd6b
|
replace offset_data arg with pointer arithmetics
|
2021-12-01 09:56:31 +01:00 |
|
|
d3ba8f3652
|
[WIP] working generator for sparse functions
+ remove trailing whitespaces
|
2021-11-30 16:30:36 +01:00 |
|
|
c1e1176400
|
[WIP] text back end
|
2021-11-24 17:44:54 +01:00 |
|
|
d44883f0ea
|
add search bar
close #40
|
2021-11-19 12:50:12 +01:00 |
|
|
527417cd8f
|
fix type conversion for 32-bit indices
|
2021-11-18 14:33:18 +01:00 |
|
|
72c355c7cc
|
Top-level CMakeLists with subdirectories
|
2021-11-17 14:00:35 +01:00 |
|
|
954ee4216c
|
add trexio_has_backend function to the C and Fortran APIs
|
2021-11-02 11:05:27 +01:00 |
|
|
7f3ee3cc18
|
reset back end values and add TREXIO_BACK_END_MISSING error
|
2021-11-02 10:32:00 +01:00 |
|
|
5504bc0fe6
|
wrap TREXIO_INVALID_BACK_END definition in preprocessor macro
|
2021-11-01 13:22:46 +01:00 |
|
|
d42dc7f449
|
optional HDF5 compilation
via configure script and pre-processor macros
|
2021-11-01 11:55:34 +01:00 |
|
|
1812deb9dd
|
Check return value of mkdtemp
|
2021-10-14 10:53:15 +02:00 |
|
|
5cf12131f1
|
Fix text back end for read-only directories (make distcheck in qmckl)
|
2021-10-13 17:43:15 +02:00 |
|
|
d017306706
|
Better error handling with open in text back end
|
2021-10-13 16:13:24 +02:00 |
|
|
954b26ccff
|
Update README
|
2021-10-13 14:24:54 +02:00 |
|
|
fb9c95bd61
|
add version attributes to the Fortran module
|
2021-10-08 13:55:56 +02:00 |
|
|
947a8a12f8
|
Fix bug due to PACKAGE_VERSION definition in trexio.h
|
2021-10-07 09:54:19 +02:00 |
|
|
68284161d3
|
downgrade numpy.i SWIG interface to numpy 1.17.3
|
2021-09-30 17:22:50 +02:00 |
|
|
2e2dac3982
|
modify rc_open only if it is not a NULL pointer
|
2021-09-24 12:23:59 +02:00 |
|
|
67b00efa9c
|
handle return error of trexio_open in the Python API
|
2021-09-22 16:40:55 +02:00 |
|
|
9457a826d2
|
return error code from trexio_open [C, Fortran]
|
2021-09-22 14:50:22 +02:00 |
|
|
14472cda48
|
better error handling in case of invalid dimensioning variable
|
2021-09-22 11:33:27 +02:00 |
|
|
389d265f7f
|
fix cppcheck warnings regarding redundant size_dset_str checks
|
2021-09-21 16:08:04 +02:00 |
|
|
d1a9af4185
|
remove blank spaces in front of pointers
|
2021-09-21 15:54:11 +02:00 |
|
|
788f7e666d
|
read single numerical attributes based on _isSet bool flag
|
2021-09-21 15:41:12 +02:00 |
|
|
d5405e700c
|
raise TREXIO_INVALID_ARG_2 also when writing zero as dimensioning variable
|
2021-09-21 14:35:29 +02:00 |
|