[Developers] carpet2 : recombine 1d, 2d data files
Luca Baiotti
baiotti at aei.mpg.de
Thu Nov 16 06:12:25 CST 2006
Hi,
Christian David Ott wrote:
> Hi,
>
> On Thu, 16 Nov 2006, sebastiano bernuzzi wrote:
>
>
>>I had data from a long carpet ( carpet 2 ) simulation with various
>>checkpoints
>>How can I put together 1d and 2d data files ?
>
>
> since this is a question related to CarpetIOASCII, I suggest
> that we move this discussion to developers at lists.carpetcode.org.
>
> To answer your question: Since 1D and 2D files are currently just
> ASCII files, you can use 'cat file1 file2 > file3' to concatenate
> the files.
Thomas Radke has written very useful scripts that merge different ASCII
files from the same simulation, also avoiding duplicate data.
They are in
CarpetIOASCII/src/util/mergeCarpetIOASCII.pl
and
CarpetIOScalar/src/util/mergeCarpetIOScalar.pl
starting from the stable 3 version.
Ciao,
Luca.
More information about the Developers
mailing list