A Wednesday 08 September 2010 09:29:53 Quincey Koziol escrigué:
> Hi Joseph,
>
> On Sep 7, 2010, at 8:09 PM, J Glassy wrote:
> > Hello,
> >
> > I'm using v1.8.4-patched on Linux x86_64, and would like to know if
> > it is possible to change a fillvalue [ H5Pset_fill_value() ] for a
> > dataset, once it has already been "burned in" at creation time?
>
> No, dataset/group/file creation properties are permanent once the object
> exists.
>
> > Below I show code for trying to change an existing fillvalue using
> > HDF5 ANSI C API, and realize I'm missing something critical about how
> > H5Dget_create_plist( {YourDataset_ID} ) works.
>
> The H5<X>get_create_plist call(s) return a _copy_ of the creation
> property
> list for an object. Changing the properties in that list has no effect on
> the object.
>
> If you email Francesc Alted (the PyTables author), he might patch in
> support for setting the fill value of a dataset.
Err, I think you meant Andrew Collette (the author of h5py ;-). BTW, PyTables
already has support for setting these fill values in creation time.
--
Francesc Alted
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org