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





_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to