Re: [yt-users] yt-users Digest, Vol 107, Issue 10
Hi Nathan, 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. Regards, Jon On Tue, Jan 24, 2017 at 7:31 PM, <yt-users-request@lists.spacepope.org> wrote:
Hi Jonathan,
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 [1]: slc = ds.slice(2, 0.)
In [2]: slc['dr'].min() Out[2]: 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[0] 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.
-Nathan
-- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA jslavin@cfa.harvard.edu 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ________________________________________________________
On Wed, Jan 25, 2017 at 7:15 AM, Slavin, Jonathan <jslavin@cfa.harvard.edu> wrote:
Hi Nathan,
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: https://bitbucket.org/yt_analysis/yt/pull-requests/2501 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.
Regards, Jon
On Tue, Jan 24, 2017 at 7:31 PM, <yt-users-request@lists.spacepope.org> wrote:
Hi Jonathan,
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 [1]: slc = ds.slice(2, 0.)
In [2]: slc['dr'].min() Out[2]: 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[0] 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.
-Nathan
-- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA jslavin@cfa.harvard.edu 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ________________________________________________________
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Nathan Goldbaum
-
Slavin, Jonathan