Generating 1.6 compatible hdf5 files with hdf5 1.8 lib

Hello,

We are in the process of porting our software to HDF5 1.8, but it has been
brought to our attention that some clients will want 1.6 compatible hdf files.

Thus my question: is it possible to create 1.6 compatible files with hdf5 1.8 ?
Or alternatively, is there a way to translate an h5 1.8 in h5 1.6 using an
external script ?

Thanks,

Martin

Of course my question was wrong.
Here is the corrected version of the message:

···

Hello,

We are in the process of porting our software to HDF5 1.8, but it has been
brought to our attention that some clients will want 1.4 compatible hdf
files.

Thus my question: is it possible to create 1.4 compatible files with
hdf5 1.8 ?
Or alternatively, is there a way to translate an h5 1.8 in h5 1.4 using an
external script ?

Thanks,

Martin

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Martin,

Could you please clarify what do you mean by 1.4 compatible files?

HDF5 is always backward compatible, which means that if you recompile your application to use 1.8 library, it will still read files created with HDF5 1.4.*.
If you do not use ANY new features of HDF5 1.8, files your application creates should be read by the application compiled with HDF5 1.4.*, but there are some exceptions due to file format changes to address some bugs. Please see http://www.hdfgroup.org/HDF5/faq/bkfwd-compat.html for the backward/forward compatibility information. Please also check the following documents on how to move your application to 1.8
http://www.hdfgroup.org/HDF5/doc/RM/APICompatMacros.html
http://www.hdfgroup.org/HDF5/doc/ADGuide/CompatFormat180.html

Currently we do test 1.6 forward compatibility only (hoped that everyone moved from 1.4.* long time ago, probably was a wrong assumption :wink:
Please let mew know if you have any questions.

Elena

···

On Nov 27, 2009, at 9:17 AM, Raspaud Martin wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Of course my question was wrong.
Here is the corrected version of the message:

> Hello,
>
> We are in the process of porting our software to HDF5 1.8, but it has been
> brought to our attention that some clients will want 1.4 compatible hdf
> files.
>
> Thus my question: is it possible to create 1.4 compatible files with
> hdf5 1.8 ?
> Or alternatively, is there a way to translate an h5 1.8 in h5 1.4 using an
> external script ?
>
> Thanks,
>
> Martin
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLD+2SAAoJEBdvyODiyJI4mbIIANuICrxYzD/GtwQM3OF4BUJq
g+GlQouJJ2F8I+dre+oApDwSIof3T+g0YWT1u4M+P2uSKzEIXqBDvT17d3JXBpwl
tw8BS5YUh/m2G+1fN74/kPbfcmkeqjIOqnm6QYvmK3xni92RG56D+a0Y5LgRo3wH
55BDH1XF04mae7uVkC7jAOlxas2NcD/H6KtKn1rUTfMSrp9NkKgVN2YUQeMrmehp
g9BSSqvm1Fo+ERmTjvMifULbW6cMHmHyuONERuBREO4ybVvjY5s5Yq7H8MtC6uCd
pd8M7LgAkS29W8LKY44A5eW6dVAd5eBfc1Z/XGXDQdTcP50MkXo2EpO1Ns69Mp8=
=9jC9
-----END PGP SIGNATURE-----

<martin_raspaud.vcf>_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Hello,

Elena Pourmal skrev:

Martin,

Could you please clarify what do you mean by 1.4 compatible files?

I mean files that are readable by applications using an hdf5 1.4.* library.

HDF5 is always backward compatible, which means that if you recompile
your application to use 1.8 library, it will still read files created
with HDF5 1.4.*.

Yes, that is really nice.

If you do not use ANY new features of HDF5 1.8, files your application
creates should be read by the application compiled with HDF5 1.4.*, but
there are some exceptions due to file format changes to address some
bugs. Please see http://www.hdfgroup.org/HDF5/faq/bkfwd-compat.html for
the backward/forward compatibility information. Please also check the
following documents on how to move your application to 1.8
http://www.hdfgroup.org/HDF5/doc/RM/APICompatMacros.html
http://www.hdfgroup.org/HDF5/doc/ADGuide/CompatFormat180.html

Currently we do test 1.6 forward compatibility only (hoped that everyone
moved from 1.4.* long time ago, probably was a wrong assumption :wink:
Please let mew know if you have any questions.

One more question: we use the object features quite a lot (H5O) which are not
available in the 1.6 API. Can this break the compatibility ?

Thanks,

Martin

Elena

Of course my question was wrong.
Here is the corrected version of the message:

Hello,

We are in the process of porting our software to HDF5 1.8, but it

has been

brought to our attention that some clients will want 1.4 compatible hdf
files.

Thus my question: is it possible to create 1.4 compatible files with
hdf5 1.8 ?
Or alternatively, is there a way to translate an h5 1.8 in h5 1.4

using an

external script ?

Thanks,

Martin

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org <mailto:Hdf-forum@hdfgroup.org>
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

<martin_raspaud.vcf>_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org <mailto:Hdf-forum@hdfgroup.org>
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

···

On Nov 27, 2009, at 9:17 AM, Raspaud Martin wrote:

------------------------------------------------------------------------

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Hi Martin,

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Elena Pourmal skrev:
> Martin,
>
> Could you please clarify what do you mean by 1.4 compatible files?

I mean files that are readable by applications using an hdf5 1.4.* library.

> HDF5 is always backward compatible, which means that if you recompile
> your application to use 1.8 library, it will still read files created
> with HDF5 1.4.*.

Yes, that is really nice.

> If you do not use ANY new features of HDF5 1.8, files your application
> creates should be read by the application compiled with HDF5 1.4.*, but
> there are some exceptions due to file format changes to address some
> bugs. Please see http://www.hdfgroup.org/HDF5/faq/bkfwd-compat.html for
> the backward/forward compatibility information. Please also check the
> following documents on how to move your application to 1.8
> http://www.hdfgroup.org/HDF5/doc/RM/APICompatMacros.html
> http://www.hdfgroup.org/HDF5/doc/ADGuide/CompatFormat180.html
>
> Currently we do test 1.6 forward compatibility only (hoped that everyone
> moved from 1.4.* long time ago, probably was a wrong assumption :wink:
> Please let mew know if you have any questions.

One more question: we use the object features quite a lot (H5O) which are not
available in the 1.6 API. Can this break the compatibility ?

  Nope, none of the H5O routines create anything that can't be read by the 1.4.x versions of the library.

    Quincey

···

On Dec 1, 2009, at 2:48 AM, Raspaud Martin wrote:

Thanks,

Martin

> Elena
>
> On Nov 27, 2009, at 9:17 AM, Raspaud Martin wrote:
>
> Of course my question was wrong.
> Here is the corrected version of the message:
>
>> Hello,
>
>> We are in the process of porting our software to HDF5 1.8, but it
> has been
>> brought to our attention that some clients will want 1.4 compatible hdf
>> files.
>
>> Thus my question: is it possible to create 1.4 compatible files with
>> hdf5 1.8 ?
>> Or alternatively, is there a way to translate an h5 1.8 in h5 1.4
> using an
>> external script ?
>
>> Thanks,
>
>> Martin
>
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> Hdf-forum@hdfgroup.org <mailto:Hdf-forum@hdfgroup.org>
>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>
>>
<martin_raspaud.vcf>_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org <mailto:Hdf-forum@hdfgroup.org>
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

> ------------------------------------------------------------------------

> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLFNhNAAoJEBdvyODiyJI4m9cH/3gnUPIKe4FtV/M6L2ebPjP5
gsGdcIjbdRf9HaZPLFx3QnDNK0zhqwARKtxfILvNUl/BSjoBqYtXWkKADN0M6lDW
ZScZubB91yi06ZJLvtzyD5vpAZsfpzvKRU0Ttt2Odig1oV/QSCQ7dYI6ERPhWDgF
6imiMOUwz3e8c6SHtyzlg8JugRdUyuoZEuRxonMzCXnOstkqNbGCqIGKvoIkKKik
zZ2Qx6FBsJo5SnRqCNoD5jg6XbeWDRXDEOMPRvkJOWVl6AO3zhJOxBKOaK554ydZ
cD7GSepl+ocUmR3V5Golxj9YffAlBS6OQl2552i3gWDeYIyIZosYQ+8pVRSMHGo=
=8r5H
-----END PGP SIGNATURE-----

<martin_raspaud.vcf>_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org