Source

yt.workshop2012.fields / scripts / examine_field.py

Full commit
1
2
3
4
5
6
from yt.mods import *

pf = load("Enzo_64/DD0030/data0030")
pf.h
print pf.field_info["Density"].get_units()
print pf.field_info["MeanMolecularWeight"].get_source()