PhilippaHartley
PhilippaHartley
I'm using Python3 and the same behaviour happens on either a scientific linux OS or a mac.
I dug into the code and found that, inside image.py, the write function calls self._FITS.write_image(self._ext+1, img_send, offset+1), which in fitsio_pywrap.py is wrapping around the C function 'fits_write_image' which does not...
I think it would be good to get the expand_if_needed functionality working first (since the reason for writing rectangles to file would likely usually be to avoid keeping a large...
I did get the expand_if_needed functionality working for 3d data. I can't remember how now but I have the source code if you would like to compare versions? I can...
I think it was that I needed to implement expand_if_needed inside this subset-overwriting feature.
Maybe I had just commented it out while working on the subset writing bit. but it's back in now in my version.