<div dir="ltr">Dear all,<div><br></div><div><span style="font-size:13px">I am using yt2.6. I was trying to define a field of the temperature gradient like gradPressureX, but I got an error message:</span><br style="font-size:13px"><span style="font-size:13px">...</span><br style="font-size:13px"><span style="font-size:13px">new_field[1:-1,1:-1,1:-1]  = data["Temperature"][sl_right,</span><span style="font-size:13px">1:-1,1:-1]/ds</span><br style="font-size:13px"><span style="font-size:13px">ValueError: could not broadcast input array from shape (62,62,64) into shape (62,62,62)</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">I then tried to re-define gradPressureX by copying the original definition (</span><a href="http://yt-project.org/docs/2.6/reference/field_list.html#gradpressurex" target="_blank">http://yt-project.org/docs/2.6/reference/field_list.html#gradpressurex</a>) <span style="font-size:13px">and giving it a different name, and I got the same error. The original gradPressureX works fine.</span><span style="font-size:13px"> </span></div><div><br style="font-size:13px"><span style="font-size:13px">Is it because I did not load some specific module or something?</span><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">Thank you!</div></div><div style="font-size:13px">Yuan</div></div>