[yt-dev] Issue #875: accessing field ('all', 'particle_phi_spherical') fails with units error (yt_analysis/yt)

Cameron Hummels issues-reply at bitbucket.org
Sat Aug 2 14:11:08 PDT 2014


New issue 875: accessing field ('all', 'particle_phi_spherical') fails with units error
https://bitbucket.org/yt_analysis/yt/issue/875/accessing-field-all-particle_phi_spherical

Cameron Hummels:

As I'm doing some last minute testing with yt, i tried to look at the units output by different fields.  so i loaded up some of the sample datasets and ran:

import yt
ds = yt.load('IsolatedGalaxy/galaxy0030/galaxy0030')
ad = ds.all_data()
ad['io', 'particle_phi_spherical'] # or ad['all', 'particle_phi_spherical']

It fails with this error:

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






More information about the yt-dev mailing list