This current version was written to fit a particular purpose, and will only properly convert a FITS image/cube into a single 2D or 3D SDS dataset.
1) output SDS dataset will contain only one SDS, namely the one derived from the primary HDU. It will also be in single precision (IEEE-float32)
2) the whole dataset is read into memory, no slicing. Although this is fast, it limits the size of the cube to the (virtual) memory you have.
3) No fancy annotations or axis labelling.
~/src/image/fits fitssds.c sdsfits.c - NEMO source code
19-Jan-95 V1.0 Created PJT