Closed adl1995 closed 7 years ago
Could you use the 2MASS6XH sample in hips-extra, which has PNG tiles?
@tboch The PNG tiles are already available in hips-extra. I was reluctant to add the test case as it would require a separate survey, the current one does not support PNG tiles.
I think a separate function get_test_tiles_png
would server the purpose, or would it be better to take the tile path as a parameter?
I have no strong feeling about how to test this. But if the library supports PNG, we should add a test using PNG tiles.
I just added a test case for PNG tiles, however, it is currently failing. The pixel values sum to 0.0
. I suspect this is because it doesn't fall in the sky image.
You have committed changes to astropy_helpers
:
https://github.com/hipspy/hips/pull/63/files
Please get rid of them (and never commit changes to astropy_helpers
in the future).
I just added a test case for PNG tiles, however, it is currently failing. The pixel values sum to 0.0. I suspect this is because it doesn't fall in the sky image.
Can you pick another survey that has PNG and data at least for part of the sky image?
Can you pick another survey that has PNG and data at least for part of the sky image?
I'd suggest using HiPS P/AKARI/FIS/Color that has PNG and data in the galactic plane.
@adl1995 - I merged https://github.com/hipspy/hips-extra/pull/3 just now. Does it work if you use tiles from that survey?
@adl1995 - Maybe add a section on making an RGB color image in the high-level docs with a nice example? https://hips.readthedocs.io/en/latest/getting_started.html#more-advanced-examples
The HiPS paper uses "HiPS of the Spitzer GLIMPSE 360 survey" in Figure 4, which looks nice.
@cdeil I just made some updates. For the example on getting started page, should I duplicate all the steps from above or only the ones that need changing?
For the example on getting started page, should I duplicate all the steps from above or only the ones that need changing?
As you like. I think I would re-use the geometry
, but otherwise it's new.
Things to explain there:
@cdeil Please merge this PR. I will make a separate PR for documentation changes.
OK, merging now.
As discussed in issue #62, I have added a test case of JPG tiles, which is passing. However, I haven't added a test case for PNG tiles, because the current survey only support FITS, JPG tiles.