<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I rechecked the GMT grids and the Warp by Scalar only seems to work on some data (if the reference frame is cartesian), but not with longitude-latitude grids. I checked both the classic GMT netCDF format (cf) and the new format (nf) and although there is no problem loading the data, the warp by scalar is greyed out.<br><br></div>I generated a topo grid from Sandwell & Smith (area = 10/10/-10/10) at 1 arc minute cell size and it loads as a structured (curvilinear) grid. The Z values are correct for the bathymetry and topography. In this case, the surface is curved as expected for a section on the sphere, so maybe that is why the warp by scalar is not available?<br><br></div>The file I got to work before was a simple flat surface in cartesian units. This grid was defined as an image (uniform rectilinear grid) before the warp was applied.<br><br></div>Still not sure about this one.<br><br></div>Lester<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2015 at 19:35, Lester Anderson <span dir="ltr"><<a href="mailto:arctica1963@gmail.com" target="_blank">arctica1963@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks Utkarsh, that solved the issue fine :)<br><br></div>Cheers<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Lester<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2015 at 14:17, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried the "Warp By Scalar" filter? The filter allows you to<br>
select the scalar to warp with as well as the normal along which to<br>
warp the mesh.<br>
<br>
Utkarsh<br>
<div><div><br>
On Tue, Feb 24, 2015 at 5:37 AM, Lester Anderson <<a href="mailto:arctica1963@gmail.com" target="_blank">arctica1963@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I can see how to load a GMT (netCDF) grid into Paraview but cannot seem to<br>
> see how to translate it into an elevation surface.<br>
><br>
> The data is a gridded surface of a subducting slab geometry, with X, Y as<br>
> longitude and latitude respectively, and Z as the depth range 0 to -700 km.<br>
> Here the Z value represents the scalar depth.<br>
><br>
> Do I need to pre-process the data prior to loading into Paraview? When<br>
> loaded the Z-dimension is 1 so it is still essentially a 2D surface. Loading<br>
> point data (eg earthquake solutions) is fine as I can edit the data table,<br>
> but not sure what else I need to get a slab surface in correctly: for<br>
> plotting the Z-dimension would need to have an extent of 0 to 699 (d=700).<br>
><br>
> Be good to know how I can solve this simply.<br>
><br>
> Cheers<br>
><br>
> Lester<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>