Hello, Thanks for the replies. In response to H. Joe Lee, my application is in earth sciences, more specifically in land use modeling, and my data is configuration data for the model. It is in that sense that I may be using hdf5 in an untypical way, it is not data that is acquired by sensors or such, but the data in my hdf5 files represents calibration parameters for the model. Hence the need to be able to easily edit them, and to resize arrays - for example when you want to change the number of land use classes in a specific simulation, you need to be able to resize a 10x500x600 array to 8x500x600 (for example). We now use a multitude of solutions - xml files, 2d matrices in single files where the number of files is the 3rd dimension, etc.
As for the question below, it is mostly (2), and sometimes (1). Example of (2) I gave earlier, an example of (1) is time series of 2d data - in some cases you enter values for e.g. 2000 and 2030, and the software interpolates the values for the years between that, but a user may enter data for 2000, 2010, 2020 and 2030. In that case, the length of that dimension of the array would be 4, whereas in the first case it would be 2. regards Roel ________________________________ From: Hdf-forum [mailto:[email protected]] On Behalf Of Peter Cao Sent: Friday, May 10, 2013 17:17 To: [email protected] Subject: Re: [Hdf-forum] Tools to edit hdf5 files? Could you be more specific on resizing data? Is it any of the following? 1) you defined your data as variable size and add/delete data from it, 2) you define fixed length of dimensions and extend/shrink the dimensions, or 3) you define as 2D and change it to 1D, 3D, etc. Thanks --pc On 5/8/2013 4:00 AM, Roel Vanhout wrote: Hello, Apologies if this is a question with an obvious answer, I've searched the web and archives long and hard and couldn't find an answer. I'm looking to replace some of the data files of our software with hdf5 to make it easier to edit them with external tools. Specifically, I need a way to edit multi-dimensional arrays of numeric data, for which I figures hdf5 would be a natural fit. However what I need are arrays with variable sizes. It seems to be complicated to do that through the API, none of the popular tools (HDFView, HDF Explorer) seem to support resizing data, and ViTables I haven't been able to get to run on Windows. So my question is - is hdf5 suitable as a data format for data with varying dimensions? What tools will let me work with that? Thanks. regards, Roel _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected]<mailto:[email protected]> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
