[yt-dev] Issue #671: ARTIO root cell count does not match up (yt_analysis/yt)

Matthew Turk issues-reply at bitbucket.org
Fri Oct 4 13:59:38 PDT 2013


New issue 671: ARTIO root cell count does not match up
https://bitbucket.org/yt_analysis/yt/issue/671/artio-root-cell-count-does-not-match-up

Matthew Turk:

The number of root cells selected is not correct when we run through `.mask` as opposed to through `.select`.  I believe this is likely my fault somewhere in computing the SFC start, etc, and the selection of cells.  I am assigning this bug to myself.

This script demonstrates the problem on the sample data:

http://paste.yt-project.org/show/3924/

This came up while adding a variation of these calculations to the test suite.

For the record, here is what it outputs on my machine:

```
2073808 2085480 1.00562829346
76347 76347 1.0
122941 122941 1.0
98129 98129 1.0
46316 46316 1.0
148136 148136 1.0
37511 37511 1.0
78035 78035 1.0
82925 82925 1.0
7640 7640 1.0
These should all be the same:
2771788 2783460.0 2783460
These should be the same:
2085480.0 2097152.0
```

Note that I manually overrode the `list_sfc_ranges` to cover the full domain for the purposes of this test.

Responsible: MatthewTurk



More information about the yt-dev mailing list