Open darylbond opened 4 years ago
Hi @darybond
dataset with variable refinement ratio
If I'm reading this right, I don't think yt supports this kind of data at all at the moment. A dataset is attached a single integer attribute ds.refine_by
(usually 2). Supporting this wouldn't be a trivial change, but in the mean time maybe we can at least add a user-visible warning that this is expected to fail ?
Do you get any correct-looking results with methods other than ds.covering_grid()
? I actually except everything else to break as well, in which case it should probably just error out at load time until we explicitly add support for this.
I am fairly new to yt and so haven't really got a feel for other methods of extracting data yet, I'll have a poke around.
For instance, could you try simple plot functions such as yt.ProjectionPlot
(or yt.ParticleProjectionPlot
depending on the kind of data you have here) ?
hi @darylbond , any update on this ?
Bug report
Bug summary
Loading an amrex dataset with variable refinement ratio leads to incorrect data access when using covering_grid.
Code for reproduction
yt-test.zip
Actual outcome
Expected outcome
The output data should be continuous without zero values throughout.
Version Information