I am trying to load a state file (stroed locally) and it is referring to the data on the server (remote) using pv-visualizer. Any ideas as to how to do it?
This works fine with the paraview (but not with visualizer)
I tried giving multiple paths (one local and one remote) in the --data argument as follows:
–data ‘data1=remotepath|data2=localpath’ but this does not work either.
In visualizer the purpose of --data is really to limit server side data browsing. In fact the Python code that execute on the server can only see the server side. If you want to read a local file, you will have to use the browser file dialog to browse your local files. And then send it to the server for processing. But to achieve that part, you will have to extend the web application logic.
A client: accesses the website where paraview visualizer is hosted
A website: backend of the website
A remote: this is where the calculation/visualization happens.
A client accesses just the website basically, where it can click on different buttons on the webpage and on the back end of the website, it will do some tasks (based on python flask such as launching a new paraview web visualizer session).
Referring to the above nomenclature, the statefiles are stored on the “website server” but the xdmf/visualization files are stored on the “remote”
I see, that make sense as you are using pvpython@website and pvserver@remote rather than running pvpython@remote directly and doing ws proxy from website to remote.