Re: [Paraview] Filter suddenly stopped working "did not create output for port 0"

2017-12-08 Thread Chris Marsh
On MacOS. I had an old paraview in my path that I removed prior to this.
Perhaps that was it...changed too much now


On 8 December 2017 at 07:38, Utkarsh Ayachit 
wrote:

> > I had previously configured paraview with ccmake and set build type to
> > Release and enabled Python.
> > Any idea how that may impact this?
>
> Not entirely sure how, unless some incorrect libraries are getting
> loaded. Are you on Windows? Is your PATH sane?
>
> Utkarsh
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Filter suddenly stopped working "did not create output for port 0"

2017-12-07 Thread Chris Marsh
OK I have it working on my end.
I had previously configured paraview with ccmake and set build type to
Release and enabled Python.

Any idea how that may impact this?

Chris Marsh
PhD Candidate
chrismarsh.ca

121 Research Drive
University of Saskatchewan

On 7 December 2017 at 13:41, Chris Marsh <chris.ma...@usask.ca> wrote:

> Hi,
>
> Thanks for trying this. Good call on the removal of the extra CMake stuff.
> It was there because I started this filter before I knew about things like
> setting ParaView_DIR and forgot to update this!
>
> Interesting that works for you. I just rebuilt with the change to use 
> ParaView_DIR
> (on the off chance it changed something...) but still broken on my end. :(
>
> So, this isn't an issue with the filters code, but rather something with
> how either I compiled Paraview or ... something?
>
> Are you using the github version of paraview?
>
> Cheers
> Chris
>
>
> On 6 December 2017 at 21:53, Utkarsh Ayachit <utkarsh.ayac...@kitware.com>
> wrote:
>
>> I tried to build with latest "master" and I didn't get any errors. The
>> plugin worked fine. I did remove these lines [1] from the
>> CMakeLists.txt file since that was causing build errors. What are
>> those for? I'd discourage you from adding your own FindParaView.cmake.
>> Once I removed those and simply set ParaView_DIR to my build
>> directory, all built and ran fine.
>>
>> Utkarsh
>>
>>
>> [1] https://github.com/Chrismarsh/vtk-paraview-datetimefilter/bl
>> ob/master/CMakeLists.txt#L5-L10
>>
>> On Tue, Dec 5, 2017 at 4:01 PM, Chris Marsh <chris.ma...@usask.ca> wrote:
>> > Hi, I have a filter that decodes a posix string from a pvd file into a
>> > datetime format. This has worked well, however with the newest paraview
>> I
>> > get the error
>> >
>> > ERROR: In
>> > ParaView-v5.4.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
>> line
>> > 672
>> >
>> > vtkPVCompositeDataPipeline (0x60c0001ad9e0): Algorithm
>> > vtkDateTimeAnnotation(0x60c00013e1e0) did not create output for port 0
>> when
>> > asked by REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.
>> >
>> >
>> > I've tried fiddling around with various things I've found on the mailing
>> > list, but I'm at a bit of a loss.
>> >
>> > Would appreciate any help. Code is here
>> > https://github.com/Chrismarsh/vtk-paraview-datetimefilter
>> >
>> > Cheers
>> > Chris
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > 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:
>> > http://public.kitware.com/mailman/listinfo/paraview
>> >
>>
>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Filter suddenly stopped working "did not create output for port 0"

2017-12-07 Thread Chris Marsh
Hi,

Thanks for trying this. Good call on the removal of the extra CMake stuff.
It was there because I started this filter before I knew about things like
setting ParaView_DIR and forgot to update this!

Interesting that works for you. I just rebuilt with the change to use
ParaView_DIR
(on the off chance it changed something...) but still broken on my end. :(

So, this isn't an issue with the filters code, but rather something with
how either I compiled Paraview or ... something?

Are you using the github version of paraview?

Cheers
Chris


On 6 December 2017 at 21:53, Utkarsh Ayachit <utkarsh.ayac...@kitware.com>
wrote:

> I tried to build with latest "master" and I didn't get any errors. The
> plugin worked fine. I did remove these lines [1] from the
> CMakeLists.txt file since that was causing build errors. What are
> those for? I'd discourage you from adding your own FindParaView.cmake.
> Once I removed those and simply set ParaView_DIR to my build
> directory, all built and ran fine.
>
> Utkarsh
>
>
> [1] https://github.com/Chrismarsh/vtk-paraview-datetimefilter/
> blob/master/CMakeLists.txt#L5-L10
>
> On Tue, Dec 5, 2017 at 4:01 PM, Chris Marsh <chris.ma...@usask.ca> wrote:
> > Hi, I have a filter that decodes a posix string from a pvd file into a
> > datetime format. This has worked well, however with the newest paraview I
> > get the error
> >
> > ERROR: In
> > ParaView-v5.4.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line
> > 672
> >
> > vtkPVCompositeDataPipeline (0x60c0001ad9e0): Algorithm
> > vtkDateTimeAnnotation(0x60c00013e1e0) did not create output for port 0
> when
> > asked by REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.
> >
> >
> > I've tried fiddling around with various things I've found on the mailing
> > list, but I'm at a bit of a loss.
> >
> > Would appreciate any help. Code is here
> > https://github.com/Chrismarsh/vtk-paraview-datetimefilter
> >
> > Cheers
> > Chris
> >
> >
> >
> >
> >
> > ___
> > 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:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Filter suddenly stopped working "did not create output for port 0"

2017-12-05 Thread Chris Marsh
Hi, I have a filter that decodes a posix string from a pvd file into a
datetime format. This has worked well, however with the newest paraview I
get the error

ERROR: In
ParaView-v5.4.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line
672

vtkPVCompositeDataPipeline (0x60c0001ad9e0): Algorithm
vtkDateTimeAnnotation(0x60c00013e1e0) did not create output for port 0 when
asked by REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.

I've tried fiddling around with various things I've found on the mailing
list, but I'm at a bit of a loss.

Would appreciate any help. Code is here
https://github.com/Chrismarsh/vtk-paraview-datetimefilter

Cheers
Chris
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Convert VTU for Arctic Viewer

2017-09-21 Thread Chris Marsh
Ah yes, that works. Thanks.

I have modified the 2nd example (vtk) to work on a single vtu file I have
(so no time) and output a single array. It appears to complete fully and it
writes the the tar fiels to my data directory.
When I try to serve up these data, I'm presented with a static image of the
head sample dataset I had previously loaded. Rebooting and killall node did
not resolve this.
Using a different port shows a blank page.

Thanks for the help,

Cheers
Chris

On 21 September 2017 at 12:22, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> Just download ParaView binary and use pvpython. You will have everything
> required meaning both vtk and paraview side of things.
>
> On Thu, Sep 21, 2017 at 12:17 PM, Chris Marsh <chris.ma...@usask.ca>
> wrote:
>
>> Hi Sebastien,
>> This is very helpful, thanks!
>>
>> Current hangup is that vtk.web.* is not available. I've installed vtk
>> --with-python via homebrew (I use vtk successfully from python regularly).
>> However the web components do not seem available. Googling isn't helping
>> me. Any suggestions?
>>
>> Cheers
>> Chris
>>
>>
>> On 21 September 2017 at 11:31, Sebastien Jourdain <
>> sebastien.jourd...@kitware.com> wrote:
>>
>>> Hi Chris,
>>>
>>> Thanks for your interest. The following Python scripts provide an
>>> example on how to generate such dataset.
>>>
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/paraview/mpas/raw-probe-flat-earth.py
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/vtk/mpas/raw-probe-flat-earth.py
>>>
>>> Moreover, depending on your data structure, the way you want to iterate
>>> through time may differ.
>>> The example below show the can dataset with a geometry export. But at
>>> least, it also show how to control time in ParaView when the reader is Time
>>> aware.
>>>
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/paraview/samples/VTKGeometry-can.py
>>>
>>> Let me know if you need additional information regarding that script and
>>> what it is doing.
>>>
>>> Seb
>>>
>>> On Thu, Sep 21, 2017 at 10:59 AM, Chris Marsh <chris.ma...@usask.ca>
>>> wrote:
>>>
>>>> Hi,
>>>> I have a set of vtu files that represent a time series of spatial data.
>>>> I would like to visualize it via the arctic viewer. Ultimately, I'd like
>>>> something similar to the Flat earth probing example given here (
>>>> http://tonic.kitware.com/). However it's unclear how to convert a vtu
>>>> to the required json format.
>>>>
>>>> The documentation is lacking in this regard and the example data is not
>>>> helpful for reverse engineering what is needed.
>>>>
>>>> Would appreciate any insight.
>>>>
>>>> Cheers
>>>> Chris
>>>>
>>>> ___
>>>> 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:
>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>
>>>>
>>>
>>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Convert VTU for Arctic Viewer

2017-09-21 Thread Chris Marsh
Hi Sebastien,
This is very helpful, thanks!

Current hangup is that vtk.web.* is not available. I've installed vtk
--with-python via homebrew (I use vtk successfully from python regularly).
However the web components do not seem available. Googling isn't helping
me. Any suggestions?

Cheers
Chris


On 21 September 2017 at 11:31, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> Hi Chris,
>
> Thanks for your interest. The following Python scripts provide an example
> on how to generate such dataset.
>
> https://github.com/Kitware/arctic-viewer/blob/master/
> scripts/examples/paraview/mpas/raw-probe-flat-earth.py
> https://github.com/Kitware/arctic-viewer/blob/master/
> scripts/examples/vtk/mpas/raw-probe-flat-earth.py
>
> Moreover, depending on your data structure, the way you want to iterate
> through time may differ.
> The example below show the can dataset with a geometry export. But at
> least, it also show how to control time in ParaView when the reader is Time
> aware.
>
> https://github.com/Kitware/arctic-viewer/blob/master/
> scripts/examples/paraview/samples/VTKGeometry-can.py
>
> Let me know if you need additional information regarding that script and
> what it is doing.
>
> Seb
>
> On Thu, Sep 21, 2017 at 10:59 AM, Chris Marsh <chris.ma...@usask.ca>
> wrote:
>
>> Hi,
>> I have a set of vtu files that represent a time series of spatial data. I
>> would like to visualize it via the arctic viewer. Ultimately, I'd like
>> something similar to the Flat earth probing example given here (
>> http://tonic.kitware.com/). However it's unclear how to convert a vtu to
>> the required json format.
>>
>> The documentation is lacking in this regard and the example data is not
>> helpful for reverse engineering what is needed.
>>
>> Would appreciate any insight.
>>
>> Cheers
>> Chris
>>
>> ___
>> 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:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Convert VTU for Arctic Viewer

2017-09-21 Thread Chris Marsh
Hi,
I have a set of vtu files that represent a time series of spatial data. I
would like to visualize it via the arctic viewer. Ultimately, I'd like
something similar to the Flat earth probing example given here (
http://tonic.kitware.com/). However it's unclear how to convert a vtu to
the required json format.

The documentation is lacking in this regard and the example data is not
helpful for reverse engineering what is needed.

Would appreciate any insight.

Cheers
Chris
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Windows plugin compatibility with Paraview

2017-01-25 Thread Chris Marsh
I would like to build and make available a pre-compiled windows binary for
a filter I have developed. I would like to avoid the (windows) user having
to compile the filter as well as paraview. Therefore I am wondering what
compiler is used to produce the official Paraview builds so-as to avoid ABI
issues with my pre-compiled .dll. Is there anything else I need to be aware
of?

Thanks, Chris
___
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:
http://public.kitware.com/mailman/listinfo/paraview