<HTML>
<HEAD>
<TITLE>Re: [Paraview] Point data on/in sphere - converting to structured grid</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I’m confused as to why Table to Structured Grid won’t work. A structured grid has no problem representing data on regular longitude, latitude, and radius. If the coordinates are given in lon,lat,r, just use the calculator filter to convert them to x, y, z.<BR>
<BR>
If you were to ask what the ideal format for the data would be, I would suggest creating netCDF files using the COARDS or CF convention. It’s a much more efficient format than CSV and was specifically designed with geospatial data in mind. That said, this only makes sense if you have control over how your data is generated in the first place. I know of no easy way to convert CSV to netCDF.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 8/10/10 8:06 AM, "Lester Anderson" <<a href="lester_anderson1963@hotmail.com">lester_anderson1963@hotmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hello all<BR>
<BR>
I have made a start with building the global mantle model. Because the data are referenced to the Sphere, it is not possible<BR>
to do the import of CSV using Table_to_Structured Grid and so I had to use Table_to_Points (see attached image).<BR>
<BR>
The plot shows point data 50 depths 50-1600 km (final layers extend to 2800 km). The spatial distribution of data is 1 x 1 degree, and each layer increment is 50 km (eg 50, 100, 150 ... 2800) - data converted to X,Y,Z coordinates. As such it would seem that one could describe the data as being a structured grid with a curvilinear geometry.<BR>
<BR>
Is there a way to convert or reformat the data (in Paraview .pvd format) to a cell-based geometry given that one has the values and coordinates of each "cell" from the point data?<BR>
<BR>
I did have a quick try of Delauny3D but it crashed Paraview (3.8.0)<BR>
<BR>
If there is a more efficient way of dealing with the CSV file that would be useful to know.<BR>
<BR>
Thanks<BR>
<BR>
Lester <BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Consolas, Courier New, Courier"><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</FONT></SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>