Good evening everyone,
at the moment I am automating the visualisation of netcdf data in paraview with pvpython scripts.
And now I want to do the same with ParFlow model output (.pfb) using the ParFlow plugin and in this plugin included PFBReader.
LoadDistributedPlugin(‘ParFlow’) #works
ncfile = PFBReader(filename=‘filename.pfb’) # or any combination of filename= , or different name PFBreader PFB_reader, vtkMetaReaderParFlow ...
Does not work and returns the error:
Traceback (most recent call last):
File ‘<string>’, line 13, in <module>
NameError: Name ‘PFBreader’ is not defined. Did you mean: ‘PDBReader’?
It doesn’t find the reader, but when I manually select the plugin in the Paraview GUI/client and then load it, the reader ‘PFB reader’ is selectable and works fine.
Do I have the wrong name here or is it a different problem? I tried alot of names I found in the GUI or plugin code. That alone would help me a lot!
I use the Paraview version ParaView/5.12.0-RC2 and it works just fine in the GUI.
If you have read this far, thank you very much for your time and have a nice day!
Any ideas would be very appreciated!