[cellml-discussion] Auto-generate HDF5 from CellML?

David Brooks d.brooks at auckland.ac.nz
Thu Nov 13 09:58:51 NZDT 2008


On 13/11/08 2:38 AM, Jon Olav Vik wrote:
> David Nickerson <david.nickerson at ...> writes:
>   
>> As a side note, I am envisioning that in the long term such simulation
>> data would ideally be stored using FieldML (http://www.fieldml.org)
>> which underneath is likely to provide several options for the high
>> performance persistent storage (with HDF5 being one of the options
>> that crops up quite frequently). Unfortunately, I'm unsure what sort
>> of time frame a fieldML based solution might become available...
>>     
>
> To me, HDF5 looks like a fairly round wheel, which I'd be happy to use while 
> FieldML decides whether to invent its own.
>
> One feature that would often be useful is parallel writing, for instance for 
> trivially parallel simulation of multiple parameter scenarios, writing results 
> for one scenario without blocking output from the others. HDF5 has this (http://
> www.hdfgroup.org/HDF5/PHDF5/) but e.g. the Python interface (www.pytables.org) 
> does not yet support it.
>
>   
Although PyTables provides an easy to use and efficient interface 
between Python and HDF5 files, it also imposes it's own metadata model 
on HDF5 files. If a general HDF5 solution, able to be used with 
PyTables, were to be designed to hold CellML simulation results then the 
HDF5 structure would have to allow for PyTable specific groups.

Another approach would be to specify a generic HDF5 framework for CellML 
simulations and to implement this layer in C/C++, and then, if using 
Python, access it via a possible PyCellML wrapper (which could also 
provide access to the CellML API).


Regards,

Dave Brooks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cellml.org/pipermail/cellml-discussion/attachments/20081113/eb2fa2d5/attachment-0001.htm>


More information about the cellml-discussion mailing list