Re: [Paraview] netcdf-4 structured grid in paraview

2015-12-01 Thread Favre Jean
I have tested the following solution which consists in using a Python programmable filter, copying the non-spatial data attributes, and creating a new coordinate array with the spatial attributes (x, x and z) see the included python code. I suggest using ParaView 4.4 or 5.0RC1. Note that the s

Re: [Paraview] netcdf-4 structured grid in paraview

2015-12-01 Thread Favre Jean
What you need can be simply implemented with a Python Programmable Filter, extracting the 3 coordinate arrays from the PointData fields, making a vector with algs.make_vector(), assigning it to output.Points, and appending all the other attributes from inputs[0].PointData if you supply a small