-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DSS2Red FITS file is corrupt #7
Comments
@cdeil actually, it seems that some of the Allsky.fits files are actually gzipped! |
@tboch - Any news / conclusions? If indeed the issue is just that the files are gzipped and there won't be a change in |
We will update these tiles, as to conform with the HiPS standard. I don't have a proper timescale for this yet, but my suggestion would be not to support the gzipped files in our |
If the change happens in the coming months, I think that's fine. I think (true?) currently we never load allsky images for drawing in the hips package, so users won't encounter a problem. |
@tboch - Status? I'd suggest we close issues here on the https://github.com/hipspy/hips-extra/issues/ and disable that issue tracker and only use https://github.com/hipspy/hips/issues/ . Two issue trackers is too confusing. |
@tboch - I was trying to add a test for HiPS
Allsky.fits
athttps://github.com/hipspy/hips/blob/master/hips/tiles/tests/test_allsky.py#L10
and got this error trying to read
datasets/samples/DSS2Red/Norder3/Allsky.fits
:ftverify
also says that this is not a valid FITS file:I think
./datasets/samples/IRAC4/Norder3/Allsky.fits
might be OK, I'll try to continue with that now.@tboch - is this something CDS can fix in the coming months, i.e. re-generate FITS files to be valid FITS files?
Or do we need to implement a workaround in our FITS reader? (when I use
fits.open
passing directly the filename it seems to work, i.e. it must also be somehow possible to extract thedata
numpy array from theBytesIO
object (but I don't know how).The text was updated successfully, but these errors were encountered: