← Back to team overview

dolfin team mailing list archive

Re: binary file format

 

On Tue, Jan 13, 2009 at 6:26 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Tue, Jan 13, 2009 at 05:24:41PM +0000, Garth N. Wells wrote:
>>
>>
>> Anders Logg wrote:
>> > On Tue, Jan 13, 2009 at 08:45:30AM +0100, Martin Sandve Alnæs wrote:
>> >> We just discussed that in another thread, and the answer from
>> >> everybody is yes please, that would be nice. XML file with metadata +
>> >> raw files with arrays is one solution. And of course, there are many
>> >> standardized file formats we could support in time for communication
>> >> with external tools.
>> >
>> > How about sticking everything into the XML file but with some suitable
>> > tags:
>> >
>>
>> I think that this is what Martin is suggesting. VTK has a file format
>> like this (although with binary content it is no longer strictly XML as
>> far as I understand).
>>
>> Garth
>
> ok, I thought he meant having the data in a separate file.

I did, but I don't care. The advantage of separate binary files
is that the XML file can be read as a text file, both by humans
and machines. Also, binary data will have fixed computable
positions in the pure binary file, which might be useful for ... something?

Martin


Follow ups

References