<div dir="ltr"><div><div><div>Hi,<br><br></div>You should look at the section on vtkCPDataDescription in the Catalyst User's Guide (<a href="http://www.paraview.org/files/catalyst/docs/ParaViewCatalystUsersGuide_v2.pdf">http://www.paraview.org/files/catalyst/docs/ParaViewCatalystUsersGuide_v2.pdf</a>). <br><br></div>You're adaptor code should look like:<br>    datadescription = vtkCoProcessorPython.vtkCPDataDescription()<br>
    datadescription.SetTimeData(time, step)<br>
<br>
    datadescription.AddInput("AtmData1")<br>
    datadescription.AddInput("AtmData2")<br>
    if cpscript.RequestDataDescription(datadescription) == 0:<br></div>       return<br><div>
    inputdesc1 = datadescription.GetInputDescriptionByName("AtmData1")<br>
<span class="im">    inputdesc2 = datadescription.GetInputDescriptionByName("AtmData2")<br>
<span class="im"> </span>    if inputdesc1.GetIfGridIsNecessary() == True:<br>
        inputdesc1.SetGrid(grid1)<br>
<br>
</span><span class="im">   if inputdesc2.GetIfGridIsNecessary() == True:<br>       inputdesc2.SetGrid(grid2)<br>
<br>
    cpscript.DoCoProcessing(datadescription)</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 3:23 PM,  <span dir="ltr"><<a href="mailto:u.utku.turuncoglu@be.itu.edu.tr" target="_blank">u.utku.turuncoglu@be.itu.edu.tr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Thanks for your help. The driver is running with following code,<br>
<br>
    datadescription = vtkCoProcessorPython.vtkCPDataDescription()<br>
    datadescription.SetTimeData(time, step)<br>
<br>
    datadescription.AddInput("AtmData1")<br>
    cpscript.RequestDataDescription(datadescription)<br>
    inputdesc1 = datadescription.GetInputDescriptionByName("AtmData1")<br>
<span class="">    if inputdesc1.GetIfGridIsNecessary() == False:<br>
        return<br>
    inputdesc1.SetGrid(grid1)<br>
<br>
</span>    datadescription.AddInput("AtmData2")<br>
    cpscript.RequestDataDescription(datadescription)<br>
    inputdesc2 = datadescription.GetInputDescriptionByName("AtmData2")<br>
<span class="">    if inputdesc2.GetIfGridIsNecessary() == False:<br>
        return<br>
    inputdesc2.SetGrid(grid2)<br>
<br>
    cpscript.DoCoProcessing(datadescription)<br>
<br>
</span>So, i just need to replace input with AtmData1 and AtmData2 to match with<br>
coprocessing script. I think that the input port names must watch with the<br>
names with driver code.<br>
<br>
Thanks again,<br>
Regards,<br>
<br>
--ufuk<br>
<br>
</blockquote></div><br></div>