Skip to content
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

Update to fitsio 1.0.5 #37

Closed
dkirkby opened this issue Dec 15, 2019 · 3 comments
Closed

Update to fitsio 1.0.5 #37

dkirkby opened this issue Dec 15, 2019 · 3 comments

Comments

@dkirkby
Copy link
Member

dkirkby commented Dec 15, 2019

It looks like the DESI conda env (and corresponding jupyter kernel) use fitsio 0.9.5:

> source /project/projectdirs/desi/software/desi_environment.sh master
> python -c 'import fitsio; print(fitsio.__version__)'
0.9.11

GFA data written since 20191208 cannot be read with 0.9.11 (for unknown reasons) but the latest 1.0.5 can read old and new GFA data.

To reproduce the problem reading recent GFA data with 0.9.11:

import fitsio
fitsio.read_header('/project/projectdirs/desi/spectro/data/20191212/00031386/gfa-00031386.fits.fz', ext='FOCUS1')

which results in OSError: FITSIO status = 204: keyword value is undefined.

@moustakas
Copy link
Member

Not sure if we use any compression, but we should be aware of this issue--
esheldon/fitsio#283

@daqiii
Copy link

daqiii commented Dec 16, 2019 via email

@sbailey
Copy link
Contributor

sbailey commented Aug 7, 2020

done in PR #40 and tag 1.4.0

@sbailey sbailey closed this as completed Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants