henry2004y / Batsrus.jl

BATSRUS/SWMF Data Processor
https://henry2004y.github.io/Batsrus.jl/dev/
MIT License
5 stars 2 forks source link

AUXDATA reading error #8

Closed henry2004y closed 3 years ago

henry2004y commented 3 years ago

I encountered a very bad problem of corrupting binary *.vtu files in the early days. It turned out that the issue is the starting position of data is wrong because of the way I skip the header AUXDATA part. Sometimes the binary numbers may contain newline character that confuses the reader. It is now fixed.

Later on the reading of the header part was completely rewritten to provide better support for a variety of Tecplot ASCII headers. All the AXUDATA information is now stored into global VTK data.