astropy / reproject

Python-based Astronomical image reprojection :milky_way: - maintainer @astrofrog
https://reproject.readthedocs.io
BSD 3-Clause "New" or "Revised" License
107 stars 66 forks source link

Issue with HEALPix example #174

Open astrofrog opened 5 years ago

astrofrog commented 5 years ago

Currently the HEALPix example in

https://reproject.readthedocs.io/en/stable/healpix.html

is problematic because in fact the healpix array is 2D. This causes the reprojection to be very slow as a large (1000,800,1024) array is created and the plotting fails.

We should figure out how to deal with HEALPix files that have vector columns - @lpsinger @cdeil - is that quite a common thing? Currently we have a field= argument for reproject_from_healpix, and I'm wondering whether this should slice the vector column if there is only one vector column?

We should also fix the plot on that docs page to be auto-generated so that we can pick up issues like this (a user complained that the examples on that page didn't work)

astrofrog commented 5 years ago

Note that the plot is now auto-generated on the HEALPix page (since #52)