[Nexus-developers] NXmakedata with unlimited size - chunking question

Mark Koennecke Mark.Koennecke at psi.ch
Thu Aug 11 07:14:14 BST 2011


Dear Janik Zikovsky,

try using NXcompmakedata. This allows to define chunk sizes. If you do 
not want compression use
NX_COMP_NONE.

Best Regards,

          Mark Koennecke

Zikovsky, Janik L. wrote:
> Hello all,
>
> I have been calling NXmakedata() with the first dimension set to NX_UNLIMITED so as to allow extendible arrays; this is when writing to HDF5 files. This works, but from what I can tell by using hdfview, the data sets created use a chunk size of 1 in the first dimension.
>
>   

> This small chunk size increases writing time by approximately one thousand (!) times in my application. Does anyone know how to set the chunk size when calling NXmakedata()?
>
> Thanks!
>
> Janik Zikovsky
> Scientific Data Analysis Group, Spallation Neutron Source
>
>
> _______________________________________________
> NeXus-developers mailing list
> NeXus-developers at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-developers
>   



More information about the NeXus-developers mailing list