Ash Kelly
Ash Kelly
hm, so this doesn't work. We get to a point where if you pass in `('PartType0', 'mass')` or `('deposit', 'PartType0_mass')` that we can't tell if we should read from the...
It works (I think) for all other particles except `PartType0` but I don't think I currently understand the flow of this section of code to figure this out after all....
yeah, so, what seems to happen is the `('deposit', 'PartType0_mass')` comes in and then this goes into `generate_fields` which then sends `('PartType0', 'mass')` and `('PartType0', 'Coordinates')` through. I can't seem...
so this is my test script ```python import yt fname = 'GadgetDiskGalaxy/snapshot_200.hdf5' ds = yt.load(fname) center = [31995.63476562, 31473.6640625, 28969.88671875] arb_center = ds.arr(center, 'code_length') left_edge = arb_center-ds.quan(100, 'kpc') right_edge =...
yeah, so I'm still stuck with this. In summary, my issue is that we want to intercept `("gas", "XXX")` and as its an SPH field we smooth it, but then...
Yeah, this a big thing we should fix. This is related to the whole gas field name API stuff.
**TLDR** We wired up the `covering_grid` and `arbitrary_grid` so that if they detect the particle type `PartType0` in the `get_data` function then we short-circuit and go into some SPH deposition....
I think this is certainly something we should fix, however it's stagnant because I'm lost on how to fix it. I'm happy to zoom with someone and sort of discuss,...
@matthewturk I'm happy with both suggestions. Dropping the support, but also allowing some kind of override name `("PartType0_unsmooth", "density")`. I was actually trying to implement the latter but due to...
If this is to do with `masks` as in boolean masks then it might be useful to consider `numpy.packbits` to reduce the size of them - I came across this...