<div dir="ltr">Hi,<div><br></div><div>I'm trying to calculate the center of mass of my FLASH dataset using the following:</div><div><br></div><div>import yt<br></div><div>ds = yt.load("path/to/file")<br></div><div><div>ad = ds.all_data()</div><div>print ad.quantities.center_of_mass()</div></div><div><br></div><div>However, the last line throws the error: 'FLASHDataset' object has no attribute 'field_info' .</div><div><br></div><div>As a test, I ran </div><div><br></div><div>ds.field_info["flash", "temp"]<br></div><div><br></div><div>which gives the same error.</div><div><br></div><div>Can anyone give me any advice on what's going on and how to get past this error?</div><div><br></div><div>Thanks,</div><div><br></div><div>Dan</div></div>