[Python-apps-team] Bug#478359: Bug#478359: mayavi2: fails to read blocks other than the first, in multiblock PLOT3D files

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Mon May 5 16:08:45 UTC 2008


Hi Varun and Francesco,

Varun Hiremath wrote:
>> I'm unable to read any block, except the first, in multiblock
>> PLOT3D files.
>> I can reproduce this bug with any multiblock PLOT3D file having more
>> than one block.  For instance we can consider the test case I prepared
>> for bug #400406 (see [1] and [2]).

Mayavi2's current plot3d support is very basic and does not support any 
multi-block data.  This is a feature request and I would certainly 
appreciate it if you filed a ticket on the trac instance.


>> [2] http://bugs.debian.org/cgi-bin/bugreport.cgi/vtk-multiblockPLOT3D-bug-test.tar.gz?bug=400406;msg=5;att=1

The test data is useful thanks.  I'll keep a copy just so it can be used 
when I get to implementing the multi block support.

>> OK, back to the PLOT3DReader tab: where's the option to select which
>> grid blocks I want to load?!?
>> I really cannot find it...

Because it isn't implemented yet. :(

>> I would like to have a means to decide which grid blocks will be loaded
>> (e.g.: I want to load block 1, 2, and 4, but not the remaining two),
>> so that a number of PLOT3D:tiny.xyz, tiny.q objects are automatically
>> created, each one corresponding to one of the requested grid blocks
>> (e.g.: three objects are created, corresponding to blocks 1, 2, and 4).

The trouble with this approach is that it breaks down when you have 100 
blocks.  How do you view 100 of them?  Anyway, this is something that 
would require some thought and work.

>> Please note that this decision may be taken only after PLOT3D properties
>> (such as "Binary file", "Has byte count", and so forth) have been
>> specified, or otherwise the total number of blocks present in the
>> PLOT3D file will not be computed correctly...

Correct.

> Thanks for this detailed report. It looks more like a wishlist
> bug. I'm forwarding this upstream.

Yes, that is correct. If you can add a ticket on the trac interface here,

	http://svn.enthought.com/enthought/

that would be great, if not I can add it (just let me know either way). 
  Thanks.

cheers,
prabhu





More information about the Python-apps-team mailing list