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

[Paraview] netcdf-4 structured grid in paraview

2015-12-01 Thread Wiesenberger, Matthias
Dear all, I've already sent this mail some weeks ago but I still haven't figured out a solution. I use netcdf-4 to write fields (density, temperature,...) in 3 dimensions to disk. These fields are given on a curvilinear grid (e.g. toroidal coordinates X,Y,Z). I have vectors containing the

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

Re: [Paraview] netcdf-4

2014-08-06 Thread Matthias Wiesenberger
Hi David, that helped a lot, thanks very much. I downloaded v4.1 from the paraview site and it opens netcdf-4 as you describe. thanks again Matthias On 08/05/2014 08:32 PM, David E DeMarle wrote: In a fresh build of paraview master on a mac, I can read this file without a problem. When I go

Re: [Paraview] netcdf-4

2014-08-06 Thread David E DeMarle
Great! I'll get in contact with the ubuntu manager and help him or her enable it there too. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Aug 6, 2014 at 5:03 AM, Matthias Wiesenberger matthias.wiesenber...@uibk.ac.at

Re: [Paraview] netcdf-4

2014-08-05 Thread David E DeMarle
In a fresh build of paraview master on a mac, I can read this file without a problem. When I go to open the file I'm given a choice of CAM NetCDF (Unstructured) or NetCDF files generic and CF conventions. Choose netcdf cf and, accept defaults and hit apply and I see the data, curvilinear with

Re: [Paraview] netcdf-4

2014-08-04 Thread David E DeMarle
Which version of ParaView does ubuntu provide? True netcdf4 support first appeared in 3.98 as I recall. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sat, Aug 2, 2014 at 5:56 PM, Wiesenberger, Matthias

Re: [Paraview] netcdf-4

2014-08-04 Thread Aashish Chaudhary
also, it will help if you can share your data (sample one) with us. - Aashish On Mon, Aug 4, 2014 at 11:10 AM, David E DeMarle dave.dema...@kitware.com wrote: Which version of ParaView does ubuntu provide? True netcdf4 support first appeared in 3.98 as I recall. David E DeMarle

Re: [Paraview] netcdf-4

2014-08-04 Thread Matthias Wiesenberger
Hi, my paraview is version 4.01 64-bit. I attached a sample file for you. It's generated from one of the netcdf example codes modified only by the additional creation flag NC_NETCDF4. Matthias On 08/04/2014 05:21 PM, Aashish Chaudhary wrote: also, it will help if you can share your data

[Paraview] netcdf-4

2014-08-02 Thread Wiesenberger, Matthias
Hi, I downloaded and installed paraview via my ubuntu package manager. I then generated some data with my code using a freshly installed netcdf library. Paraview can read and visualize that data without complaints. However, I now want to make use of the parallel I/O features that the new