[yt-users] 'FLASHDataset' object has no attribute 'field_info'
Daniel Fenn
dsfenn at gmail.com
Fri Mar 18 12:52:23 PDT 2016
Hi,
I'm trying to calculate the center of mass of my FLASH dataset using the
following:
import yt
ds = yt.load("path/to/file")
ad = ds.all_data()
print ad.quantities.center_of_mass()
However, the last line throws the error: 'FLASHDataset' object has no
attribute 'field_info' .
As a test, I ran
ds.field_info["flash", "temp"]
which gives the same error.
Can anyone give me any advice on what's going on and how to get past this
error?
Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160318/9a93645a/attachment.htm>
More information about the yt-users
mailing list