writing character strings to HDF4 SDS

It is possible to write an array of character strings to an HDF4 SDS? I’m trying to store a numpy array of strings to an SDS and read it back, but the result is an array of empty strings.

What DFNT code should I use for the SDS type? I’m using DFNT_CHAR8 but I’m not sure if this supports multi-character strings or just single characters.

If somebody can post a sample code that stores a multi-character string into an SDS and retrieves it, I would love to see how that works.

Thank-you,

Catherine

Hi Catherine,
Can I see your current code?