[yt-users] FLASH and Off Axis Projections

Jeffrey Alan Gritton jgritton at uga.edu
Thu Jun 11 08:56:53 PDT 2015


Hi all,


I'm having a bit of a problem with off axis projections and my FLASH domains. I want to create an off axis projection for the entire domain. However, I try to follow the Cookbook I run into one of two errors. The first being:


ds = yt.load("4.2.1_hdf5_plt_cnt_0150")

prj = yt.OffAxisProjectionPlot(ds, [-1,1,0], 'dens')
...

...

YTUnitOperationError: The subtraction operator for YTArrays with units (code_length) and (1) is not well defined.


The second I can't recreate at the moment but yt throws an error back complaining about accessing indicies outside of the array and suggests overriding periodic boundaries. My domain has no periodic boundaries. Has anyone ever run into this?



Thank you for your help,


Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150611/cb660654/attachment.htm>


More information about the yt-users mailing list