This is a discussion on storing string array into HDF - Idl-pvwave ; Hi all, I am steel in HDF issue and have a new problem here. I have file like this: 1,272,51941,295 2,272,51941,4405 3,272,51941,172 4,273,51957,4 .... and I would put lines(row) into string array and write into HDF. I do that in ...
Hi all,
I am steel in HDF issue and have a new problem here.
I have file like this:
1,272,51941,295
2,272,51941,4405
3,272,51941,172
4,273,51957,4 ....
and I would put lines(row) into string array and write into HDF. I do
that in program like:
for i = 0, n do begin
line = '' & readf, in, line
IDofOKspec[i] = line
endfor
and store into HDF like:
hdf_add_sds, 'p.hdf', 'okSpecIDs', IDofOKspec
When reading out HDF I have only first line stored as string. With
help I get:
IDOFOKSPEC STRING = '1,272,51941,295'
The question is, is it posible to store string array into HDF at all?
thanks many
o.