<div dir="ltr">I've just realized that my issue is actually related to: <a href="http://paraview.markmail.org/thread/nsgch2mmqlkfu7zv">http://paraview.markmail.org/thread/nsgch2mmqlkfu7zv</a><div><br></div><div>When the WholeExtent is not covered by <Piece Extent>, the missing values are random. </div><div>Is there a way to stop this from happening?</div><div><br></div><div>Cheers</div><div><br></div><div>Nick</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 3:01 PM, Nsk Nsk <span dir="ltr"><<a href="mailto:nazca.nsk@gmail.com" target="_blank">nazca.nsk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I'm trying to manually write a vti file containing many <Piece> blocks, each one of them containing several appended DataArray, my current file looks like this:<br><br><div><?xml version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian" ></div> <ImageData WholeExtent="24 40 24 40 24 40" Origin="-2.00000E-03 -2.00000E-03 -2.00000E-03" Spacing="6.25000E-05 6.25000E-05 6.25000E-05"></div><div><div> </div><div> <Piece Extent="26 28 26 28 26 28"></div><div> <CellData></div><div> <DataArray type="Float32" Name="array1" format="appended" offset="0" /></div><div> <DataArray type="Int32" Name="array2" format="appended" offset="36" /></div><div> <DataArray type="Int32" Name="array3" format="appended" offset="72" /></div><div> </CellData></div><div> </Piece></div><div> <Piece Extent="28 32 26 28 24 26"></div><div> <CellData></div><div> <DataArray type="Float32" Name="array1" format="appended" offset="108" /></div><div> <DataArray type="Int32" Name="array2" format="appended" offset="176" /></div><div> <DataArray type="Int32" Name="array3" format="appended" offset="244" /></div><div> </CellData></div><div> </Piece></div></div><div> </div><div> ....etc</div><div><div><br></div><div> </ImageData></div><div> <AppendedData encoding="raw"></div></div><div> _<span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array1_Piece1]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array1</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece1</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array2_Piece1]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array2</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece1</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array3_Piece1]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array3</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece1</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array1_Piece2]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array1</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece2</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array2_Piece2]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array2</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece2</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em;background-color:rgb(249,249,249)">[#bytes_array3_Piece2]</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">[DATA_array3</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:13.9700002670288px;background-color:rgb(249,249,249)">_Piece2</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.6999998092651px;line-height:1.1em">]...etc..</span></div><div><div> </AppendedData></div><div></VTKFile></div></div><div><br></div><div>Paraview is able to load the file but the array values seem corrupted. Is there any special requirement for the AppendData block of multiple pieces ImageData?</div><div>Many thanks,</div><div><br></div><div>Nick</div><div> </div></div>
</blockquote></div><br></div>