NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: scalar string attribute question...

Elena Pourmal <epourmal@xxxxxxxxxxxxx> writes:

> Ed,
>
> You have to use
> H5Tset_size (typeid,H5T_VARIABLE) instead of H5Tset_size(typeid, strlen(txt))
>
> Elena

Is the way I did it incorrect? Or just a different way of storing a
string attribute?

That is, is it valid?

Thanks!

Ed
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx