Hi all,<br><br>I'm having some problems with AMRFixedResProjectionBase.<br><br>I was at first getting this error:<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>
  File "/Users/britton/Documents/work/yt/yt/yt/data_objects/data_containers.py", line 339, in __repr__<br>    for i in self._con_args])<br>AttributeError: 'AMRFixedResProjection' object has no attribute 'weight_field'<br>
<br>So I added a weight_field kwarg to the __init__ function and a self.weight_field attribute.  That took care of the first error, but now if I do<br><br>proj = pf.h.fixed_res_proj(0, 0, na.array([0,0,0]), 32, fields=['Density'])<br>
proj['Density']<br><br>I get this:<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/Users/britton/Documents/work/yt/yt/yt/data_objects/data_containers.py", line 276, in __getitem__<br>
    self.get_data(key)<br>  File "/Users/britton/Documents/work/yt/yt/yt/data_objects/data_containers.py", line 1816, in get_data<br>    self._get_data_from_grid(grid, fields_to_get, dls)<br>  File "/Users/britton/Documents/work/yt/yt/yt/data_objects/data_containers.py", line 1836, in _get_data_from_grid<br>
    FillBuffer(ref_ratio,<br>NameError: global name 'FillBuffer' is not defined<br><br>If instead I do this:<br>proj.data['Density']<br>I simply get an array full of zeros.<br><br>Does anyone have any advice or examples on using fixed resolution projections?<br>
<br>Thanks,<br>Britton<br>