[Paraview] Resample To Image with Catalyst

Petr Valenta valenpe7 at email.cz
Mon May 21 12:03:13 EDT 2018


Hello,



the code which I am using is instrumented with Catalyst.

I am trying to process simulation data using ResampleToImage filter and then
to store the result on a disk.




In the Python pipeline I have something like:




adaptor_input = coprocessor.CreateProducer(datadescription, 'input')

resample = ResampleToImage(Input=adaptor_input)



resample.UseInputBounds = True


resample.SamplingDimensions = [256, 256, 256]


writer = servermanager.writers.XMLPImageDataWriter(Input=resample)

coprocessor.RegisterWriter(writer, filename='resample_%t.pvti', freq=10)





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?




Thank you.




Kind regards,

Petr





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180521/307012ef/attachment.html>


More information about the ParaView mailing list