[Paraview] netcdf reader

2012-02-15 Thread leo paul
Hi, I was having trouble reading data from a netcdf file to paraview. Is there some syntax that lets paraview know that it is reading in data in spherical coordinates? I was going through the 'help' section in paraview and found that 'if spherical coordinates is turned on' the netcdf reader will

Re: [Paraview] netCDF reader

2010-01-18 Thread Moreland, Kenneth
I'm not sure vtkImageData (and everything that uses it) really supports negative spacing. See, for example, this email thread: http://www.vtk.org/pipermail/vtkusers/2009-May/100989.html. I agree. And that's why I have added the function fabs to make positive the tolerance variable.

Re: [Paraview] netCDF reader

2010-01-15 Thread Brockmann Patrick
I have identified those points which causes problems with the actual /ParaView3/VTK/IO/vtkNetCDFCOARDSReader.cxx - if a regular spacing coordinate variable decreases (90 to -90 for example), you always get a vtkRectilinear grid. It should reach, wth the computing choice made, to the creation of

Re: [Paraview] netCDF reader

2010-01-14 Thread Moreland, Kenneth
I have identified those points which causes problems with the actual /ParaView3/VTK/IO/vtkNetCDFCOARDSReader.cxx - if a regular spacing coordinate variable decreases (90 to -90 for example), you always get a vtkRectilinear grid. It should reach, wth the computing choice made, to the creation

Re: [Paraview] netCDF reader

2010-01-13 Thread Moreland, Kenneth
, then the ParaView netCDF reader should understand that. That said, I see that the netCDF reader will only actually create spherical coordinates for 3D grids. I am not sure I remember the logic behind that, but I think it was that in general it is usually better to visualize a map surface as a 2D

Re: [Paraview] netCDF reader

2010-01-13 Thread Brockmann Patrick
for latitude and longitude, then the ParaView netCDF reader should understand that. That said, I see that the netCDF reader will only actually create spherical coordinates for 3D grids. I am not sure I remember the logic behind that, but I think it was that in general it is usually better to visualize