Lester, Yes, in structured grids in VTK the x dimension changes fastest, then y, then z.
Cory On Wed, Jun 22, 2016 at 1:15 PM, Lester Anderson <[email protected]> wrote: > Think I sorted it by reordering the data: > sort(z) -> sort(y) -> sort(x) (in Excel) > Gives the volume rendered properly. So is there a specific ordering > scheme to follow? > > On 22 June 2016 at 10:23, Lester Anderson <[email protected]> wrote: >> As a quick note, each layer is ordered bottom left to top right. The >> region is defined as: >> west = 117, East = 128.5, South = -11, North = -6 >> >> On 22 June 2016 at 06:42, Lester Anderson <[email protected]> wrote: >>> Hi Ken, >>> >>> The data dimensions are: 116 x 51 x 51 (xyz), so the model extent was set >>> to: >>> X = 0 - 115, Y = 0 - 50, Z = 0 -50 >>> These extents work fine and no errors assciated with the input, and no >>> missing nodes. The model comprises 51 layers and each is 116 x 51 and >>> all have the total 5916. >>> >>> Not sure what is going on because loading as points is fine. >>> >>> On 21 June 2016 at 17:30, Moreland, Kenneth <[email protected]> wrote: >>>> Lester, >>>> >>>> What are the dimensions of the grid in the table? Are they 116x51x51 or >>>> 115x50x50? >>>> >>>> The extent that you set in the TableToStructuredGrid filter uses inclusive >>>> indices. That means they should go from 0 to one less than the size of the >>>> dimension. So if your grid is 115x50x50, then the extent should be set as >>>> X = 0 - 114 >>>> Y = 0 - 49 >>>> Z = 0 - 49 >>>> >>>> -Ken >>>> >>>> -----Original Message----- >>>> From: ParaView [mailto:[email protected]] On Behalf Of Lester >>>> Anderson >>>> Sent: Tuesday, June 21, 2016 9:03 AM >>>> To: [email protected] >>>> Subject: [EXTERNAL] [Paraview] Table to structured grid problem >>>> >>>> Hello, >>>> >>>> I have tried to generate a structured grid from a csv file comprising >>>> 51 layers with X and Y as Long and Lat respectively. >>>> >>>> (1) Load CSV file >>>> (2) Filter -> TableToStructuredGrid >>>> set dimensions: >>>> x = 0 - 115 >>>> y = 0 - 50 >>>> z = 0 - 50 >>>> >>>> This all works fine, but the plot is skewed oddly in the gridding, as in >>>> the outline view does not show a nice regular shaped outline but rather a >>>> jagged edge, almost like it is trying to join points on the front and back >>>> faces (see test picture). >>>> >>>> TableTo Points worked fine and all points were placed correctly. >>>> >>>> Paraview 5.0.0 64-bit Windows >>>> >>>> Any ideas what might be going on? I never had this problem before and the >>>> CSV file is fine. >>>> >>>> Thanks >>>> Lester > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen R&D Engineer Kitware, Inc. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
