<div dir="ltr">Thanks for testing. We're working on a fix for this now.<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 23, 2018 at 4:58 AM Petr Valenta <<a href="mailto:valenpe7@email.cz">valenpe7@email.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Andy,<br><br>thank you for your reply. I don't know why, but it does work with setting DataMode='Ascii'.<br>It works also with DataMode='Binary', the only option which does not work seems to be now DataMode='Appended'.<br><br>Thanks and regards,<br>Petr <br><br>---------- Původní e-mail ----------<br><br>Od: Andy Bauer  <a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a> <br><br>Komu: <a href="mailto:valenpe7@email.cz" target="_blank">valenpe7@email.cz</a><br><br>Datum: 22. 5. 2018 21:02:18<br><br>Předmět: Re: [Paraview] Resample To Image with Catalyst<br><br>Hi Petr,<br><br><br>Could you try adding in the following to your Python script after the coprocessor.RegisterWriter() line:<br>writer.DataMode = 'Ascii'<br><br><br>Please let me know if that fixes the issue for you. This isn't the desired fix but something to at least verify that I can reproduce your issue.<br><br><br><br>Thanks,<br>Andy<br><br><br><br><br><br><br><br>On Mon, May 21, 2018 at 12:16 PM Petr Valenta  <a href="mailto:valenpe7@email.cz" target="_blank">valenpe7@email.cz</a>  wrote:<br><br>Hello,<br><br>the code which I am using is instrumented with Catalyst.<br>I am trying to process simulation data using ResampleToImage filter and then to store the result on a disk.<br><br><br>In the Python pipeline I have something like:<br><br><br>adaptor_input = coprocessor.CreateProducer(datadescription, 'input')<br>resample = ResampleToImage(Input=adaptor_input)<br><br>resample.UseInputBounds = True<br><br>resample.SamplingDimensions = [256, 256, 256]<br>writer = servermanager.writers.XMLPImageDataWriter(Input=resample)<br>coprocessor.RegisterWriter(writer, filename='resample_%t.pvti', freq=10)<br><br><br><br>When I check the results in ParaView, the grid is correct but the data array appended on it contains only zeros. When I skip the filter and dump directly the adaptor_input, the data array contains correct values. Could you, please, help me to resolve this issue?<br><br><br>Thank you.<br><br><br>Kind regards,<br>Petr<br><br><br><br><br><br>_______________________________________________<br><br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br><br><br><br>Follow this link to subscribe/unsubscribe:<br><br><a href="https://public.kitware.com/mailman/listinfo/paraview" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a><br><br><br><br><br></div></blockquote></div>