fitsio
fitsio copied to clipboard
A python package for FITS input/output wrapping cfitsio
Hi, To reproduce: ``` wget https://portal.nersc.gov/project/cosmo/temp/dstn/c4d_160812_060140_oow_z_ls9.fits.fz python -c "import fitsio; print(fitsio.__version__); h = fitsio.read_header('c4d_160812_060140_oow_z_ls9.fits.fz', ext=1); print(h); fitsio.write('x.fits', None, header=h, clobber=True)" ``` This is with fitsio 1.1.8. This file has a...
The following example shows that if a NaN value is present in the original data being compressed, the whole tile will be NaN when read in again: ``` In [1]:...
fitsio can read/write long value items into a header using CONTINUE lines. And it can read/write long keyword names with HIERARCH lines. However, combining the two fails. Here is a...
I attempted to use pip install for fitsio on a Windows 10, 64-bit machine today. Here are the errors I encountered: > PS C:\Users\Ed> pip install fitsio > Collecting fitsio...
The pip install is failing if bzip or curl are not available. There is a check in setup.py for this that must have stopped working
We will need to support writing these. For reading, I think this may be equivalent to what we are doing with object arrays for most use cases, but it has...
Trying to open a FITS file with a binary table containing multiple fixed size array columns with `fitsio.read` results in an error: ```KeyError: 'unsupported BINARY_TBL fits data type: 80``` The...
Would it be possible to release this library under the LGPL, the version of the GPL intended for library code? I am asking because I would like to use as...
I see a function prototype in fits_hcompress.c in line 42 of the code: `static int htrans(int a[],int nx,int ny);` But I don't see a function implementation. Therefore I get an...