recreate does not work if the existing HDU's are already in the matching combination to the requested set. However, data could have been updated since the creation of the HDU, which doesn't get updated in the background, it would be quite common that the FITS HDUs cannot be recreated even when the argument is set to True.
recreate
does not work if the existing HDU's are already in the matching combination to the requested set. However, data could have been updated since the creation of the HDU, which doesn't get updated in the background, it would be quite common that the FITS HDUs cannot be recreated even when the argument is set to True.