Hi,
I am learning about the structure of the VTK AMR file with suffix .vthb. As I now understand it, the top level meta data with *.vthb contains the base grid information, and the refined AMR boxes on each subsequent level:
<VTKFile type="vtkOverlappingAMR" version="1.1" byte_order="LittleEndian" header_type="UInt64">
<vtkOverlappingAMR origin="-2 -2 0" grid_description="XY">
<Block level="0" spacing="0.5 0.5 0.5">
<DataSet index="0" amr_box="0 4 0 4 0 -1" file="test_0.vti"/>
</Block>
<Block level="1" spacing="0.25 0.25 0.5">
<DataSet index="0" amr_box="0 3 0 5 0 -1" file="test_1.vti"/>
<DataSet index="1" amr_box="6 9 4 9 0 -1" file="test_2.vti"/>
</Block>
</vtkOverlappingAMR>
</VTKFile>
Then each child file with *.vti is just regular image files on a structured grid.
However, I am not sure is this is efficient in handling many small image files. For example, if the refined cells are distributed in an irregular shape (e.g. figure 9 in visualization-analysis-of-amr-datasets), theoretically there will be a lot of small file pieces. I am wondering if anyone has any experience in handling this kind of AMR dataset, and to what extent can it work properly?