Re: What's better: 1 big HDF file or several samller ones?? [message #32226] |
Wed, 25 September 2002 07:06  |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Brian Huether wrote:
>
> I have radar data that is broken down based on target orientation (i.e. the
> data is split into 72 5 degree azimuthal windows). So do I create one HDF
> file with 72 datasets? The other thing to consider is this: I need to run
> computational algorithms that will need to access the data so are there
> speed considerations when saving the data this way? Basically I have to data
> storage goals: 1) make the data readily shareable, 2)make the data storage
> appropriate for quick retrieval.
>
> I suppose when it comes to the computational stuff, I can use the one big
> file and then one time I can just read all the info into an array. So the
> awkwardness of the big file will only be problematic one time.
The basic issues you have to consider are file size limits, and how you
intend to use the data. On many systems there's an upper limit on the
size of files, either set by the available disk space, by a file
addressing limit (typically 2GB). You have to break up your file if
that's the case.
How often will the code that reads this (these) file(s) need to access
data across multiple azimuth bins? If never, then you should split each
azimuth bin into a seperate file. If frequently, they should be in the
same file if possible, and you should consider the possibility of
merging them into a single SDS with one dimension for the azimuth bins.
If infrequently, it's a judgement call.
|
|
|