Joe, Quincey,

Thanks for your answers.
I will try to see if we can get a "pseudo-null" value for each sensors
we are gathering data from.
Otherwise I can always define a dataset using a H5T_COMPOUND data type
as follow:
 
typedef struct s1_t 
 {
    unsigned char emitted; // if 0 then no-val
    float  value;
 } s1_t;
 
s1_tid = H5Tcreate(H5T_COMPOUND, sizeof(s1_t));
H5Tinsert(s1_tid, "emitted", HOFFSET(s1_t, emitted), H5T_NATIVE_UCHAR);
H5Tinsert(s1_tid, "value", HOFFSET(s1_t, value), H5T_NATIVE_FLOAT);
 
But this solution is more size consuming.
 
Best Regards,
 
Vincent
 
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to