On Wed, Jan 25, 2017 at 7:15 AM, Slavin, Jonathan firstname.lastname@example.org wrote:
Thanks for your response. I downgraded back to yt 3.2.3 so that I could get my work done, so I at the moment, I can't explore the grid hierarchy with yt 3.3.3. I'm happy to share my dataset with you. I'll upload it to the curldrop site.
Thanks for sharing the dataset with me! Thanks also for taking the time to report the regression, I very much appreciate getting reports like this so we can take the time to fix the underlying issue.
I think I've fixed your issue here:
Once that is merged I will make an effort to backport that fix along with several others that have come in since yt 3.3.3 and do a release of yt 3.3.4. In the meantime you can try running yt from the development branch to get the fix once it's merged in.
On Tue, Jan 24, 2017 at 7:31 PM, email@example.com wrote:
I just tried this using WDMerger_hdf5_chk_1000 (see yt-project.org/data), which is a FLASH dataset from a simulation done in cylindrical coordinates, but it seems to work for me ok using that dataset:
$ yt load WDMerger_hdf5_chk_1000/WDMerger_hdf5_chk_1000.hdf5 In : slc = ds.slice(2, 0.) In : slc['dr'].min() Out: 25600000.0 code_length
Somehow something is getting set to a NaN, my guess is gobj.LeftEdge[i]. In this context gobj is a grid object, so for some reason grid.LeftEdge is NaN along one of your axes for at least one of your grids. You can navigate the grid hierarchy by looking at the grid array: ds.index.grids should be a reference to the root grid. You can also just iterate over ds.index.grids to look at all the grids in your dataset.
Is there any chance you can share the dataset that's causing this issue? We have the yt curldrop (https://docs.hub.yt/services.html#curldrop) available for sharing data publicly. If it's not ok to share the dataset publicly we can try sharing it off-list.
Jonathan D. Slavin Harvard-Smithsonian CfA firstname.lastname@example.org 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA
yt-users mailing list email@example.com http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org