#358 HDF5: variables/attr treated as double regardless of type

v1.0 (example)
closed
nobody
None
5
2018-04-09
2011-01-23
No

GDL> $cat bug.pro
pro bug
spawn, 'rm -f bug.h5; echo -e "' $
+ 'PATH g1/d1 \n' $
+ 'INPUT-CLASS TEXTIN \n' $
+ 'INPUT-SIZE 16 \n' $
+ 'RANK 1 \n' $
+ 'DIMENSION-SIZES 3 \n' $
+ 'OUTPUT-CLASS IN \n' $
+ 'OUTPUT-SIZE 8 \n' $
+ '" | h5import bug.txt -c /dev/stdin -o bug.h5'
f = h5f_open('bug.h5')
d = h5d_open(f, 'g1/d1')
v = h5d_read(d)
help, v
print, v
end
GDL> $cat bug.txt
2011 01 23
GDL> bug
% Compiled module: BUG.
V DOUBLE = Array[3]
127.00000 1.0000000 23.000000

Discussion

  • Sylwester Arabas

    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.