Dear yt folks,


I am trying to visualize some RAMSES MHD simulation data. The simulation is for gravitationally collapsing gas looking at star formation. I'm looking to obtain projection and slice plots and then annotate the magnetic fields onto the resulting image.

I'm on Mac OS X 10.9.5

I'm using conda 4.3.18

My version of yt is: 3.3.5-py27_0

and python 2.7.12


All of what I believe is the relevant code:

 pf = yt.load('output_00284/info_00284.txt')

 sp = pf.h.sphere(part_center, (zoom_width + 0.5, "pc"))

 L = sp.quantities.angular_momentum_vector()

 p = yt.OffAxisSlicePlot(pf, L, 'density', center=part_center, width =(zoom_width, "pc"))

 p.annotate_magnetic_field()

 p.save('test.png')


The error:


yt.utilities.exceptions.YTPlotCallbackError: annotate_magnetic_field callback failed with the following error: Could not find field '('all', 'magnetic_field_x')' in info_00284.


If I load the field list for the data set, I can see that the B field data is there, but under 'ramses', not 'all'

 ('ramses', 'x-Bfield-left'),

 ('ramses', 'x-Bfield-right'),

 ('ramses', 'x-velocity'),

 ('ramses', 'y-Bfield-left'),

 ('ramses', 'y-Bfield-right'),

 ('ramses', 'y-velocity'),

 ('ramses', 'z-Bfield-left'),

 ('ramses', 'z-Bfield-right'),


Is there a way to pass these fields to annotate_magnetic_field? Or a manner in which I can have this information load in the field ('all', 'magnetic_field_')


I should also note that I can create and save the plots with no issues, so long as I do not try to annotate the magnetic fields.


Cheers,
Daniel Murray
Graduate student at University of Wisconsin Milwaukee