Re: [Paraview] curvilinear CF conventions

2017-12-12 Thread Moreland, Kenneth
David, The ParaView netCDF/CF reader does support the coordinates specified in Section 5.2. As the name of that section implies, this specification of coordinates applies explicitly to latitude and longitude coordinates. The rational, as far as I can tell, is that the direction of each

[Paraview] installing additional Python modules

2017-12-12 Thread Heiland, Randy
Any good advice for installing additional 3rd party modules for pvpython? In a Programmable Source I’d written to read in MATLAB (.mat) data files, I was using the scipy module (scipy.io.loadmat). When I wrote that, I naively thought to myself - WOW, it sure was convenient that they included

[Paraview] Set cells in unstructured grid

2017-12-12 Thread Petr Valenta
Hello, I have a particle code that is integrated with Catalyst. It exports particles using a vtkUnstructuredGrid containing only points and VTK_VERTEX cells that index them. Initially, the cells were created the following way: grid->Allocate(num_cells); vtkIdType cell_id[1]; for(vtkIdType