At some point in the past the output format for some geometric quantities changed. A few accommodating changes are required, e.g., x = data.coord[:,:,:,:,1] -> x = data.coord[:,1,:,:,:]
I've made changes in the plot_snap*.py files for getting coordinates. Is there anywhere else a similar change would need to be made? I don't think so but I also don't remember if other geometric quantities changed output format.
For plot_snap2d.py I've changed it to use g.n.coords for coordinates to avoid gaps at meshblock boundaries.
I also added optional support for cmocean because they have some great perceptually uniform colormaps that I like to use.
At some point in the past the output format for some geometric quantities changed. A few accommodating changes are required, e.g.,
x = data.coord[:,:,:,:,1]
->x = data.coord[:,1,:,:,:]
I've made changes in the
plot_snap*.py
files for getting coordinates. Is there anywhere else a similar change would need to be made? I don't think so but I also don't remember if other geometric quantities changed output format.For
plot_snap2d.py
I've changed it to useg.n.coords
for coordinates to avoid gaps at meshblock boundaries. I also added optional support for cmocean because they have some great perceptually uniform colormaps that I like to use.