It would be very helpful if the sqgrids.QsoSimObject.write method could optionally write to an existing FITS file and to a specified HDU name. Similarly, it would be great if the corresponding read method could read a particular HDU / extension name.
It would be very helpful if the
sqgrids.QsoSimObject.write
method could optionally write to an existing FITS file and to a specified HDU name. Similarly, it would be great if the correspondingread
method could read a particular HDU / extension name.In case it's useful, in DESI we use this simple wrapper on various
astropy
convenience methods -- https://github.com/desihub/desispec/blob/master/py/desispec/io/util.py#L147-L209Thanks!