File Sizes for hdf5 file

All,

The project information of my application is persisted in hdf5 files . I
have a problem with file sizes .

Say the first time I save the hdf5 file for my application . Let the
file name be File1. Now I exit the application and relaunch it . I load
the Saved file File1 .

I again Save a new hdf5 file (say File2) .

The file sizes for files File1 and File2 are not the same through the
contents as viewed by HDF Explorer are same .

I do use chunking ( 1 D - 50 elements ) . Can anyone explain what can
cause this problem ?

Thanks and Regards

Ramakrishnan

A Wednesday 17 February 2010 11:56:09 Ramakrishnan Iyer escrigué:

All,

The project information of my application is persisted in hdf5 files . I
have a problem with file sizes .

Say the first time I save the hdf5 file for my application . Let the
file name be File1. Now I exit the application and relaunch it . I load
the Saved file File1 .

I again Save a new hdf5 file (say File2) .

The file sizes for files File1 and File2 are not the same through the
contents as viewed by HDF Explorer are same .

I do use chunking ( 1 D - 50 elements ) . Can anyone explain what can
cause this problem ?

We need more information in order to help you. Which is exactly the
difference in size? Do you remove objects in your first file before copying
it? Do you use the same filters during the copying process?

···

--
Francesc Alted

The difference in file size also varies . It is around 4 KB for smaller files and goes upto 50KB for files of nearly 5 MB size . I do not remove objects in the first file before copying it . The filters are same during the copying process .

Regards
Ramakrishnan

···

-----Original Message-----
From: hdf-forum-bounces@hdfgroup.org [mailto:hdf-forum-bounces@hdfgroup.org] On Behalf Of Francesc Alted
Sent: Wednesday, February 17, 2010 5:16 PM
To: Mailing list for users to discuss HDF issues with each other
Subject: Re: [Hdf-forum] File Sizes for hdf5 file

A Wednesday 17 February 2010 11:56:09 Ramakrishnan Iyer escrigué:

All,

The project information of my application is persisted in hdf5 files . I
have a problem with file sizes .

Say the first time I save the hdf5 file for my application . Let the
file name be File1. Now I exit the application and relaunch it . I load
the Saved file File1 .

I again Save a new hdf5 file (say File2) .

The file sizes for files File1 and File2 are not the same through the
contents as viewed by HDF Explorer are same .

I do use chunking ( 1 D - 50 elements ) . Can anyone explain what can
cause this problem ?

We need more information in order to help you. Which is exactly the
difference in size? Do you remove objects in your first file before copying
it? Do you use the same filters during the copying process?

--
Francesc Alted

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

If you are performing the same operations on the HDF5 file, then the size should be identical. I'm guessing that there's actually different operations being performed on the files (even if the end result was the same objects, etc in the file) to cause this.

  Quincey

···

On Feb 18, 2010, at 4:21 AM, Francesc Alted wrote:

A Thursday 18 February 2010 10:01:40 Ramakrishnan Iyer escrigué:

The difference in file size also varies . It is around 4 KB for smaller
files and goes upto 50KB for files of nearly 5 MB size . I do not remove
objects in the first file before copying it . The filters are same during
the copying process .

Ok. 50 KB out of 5 MB is around a 1%, and I don't think it is very relevant.
I suppose that the difference may come due to the order in which the different
I/O operations are done in the HDF5 file, but somebody more knowledgeable may
want to chime in to offer a better explanation.

A Thursday 18 February 2010 10:01:40 Ramakrishnan Iyer escrigué:

The difference in file size also varies . It is around 4 KB for smaller
files and goes upto 50KB for files of nearly 5 MB size . I do not remove
objects in the first file before copying it . The filters are same during
the copying process .

Ok. 50 KB out of 5 MB is around a 1%, and I don't think it is very relevant.
I suppose that the difference may come due to the order in which the different
I/O operations are done in the HDF5 file, but somebody more knowledgeable may
want to chime in to offer a better explanation.

Cheers,

···

--
Francesc Alted