diff --git a/docs/content/notebooks/tutorial_niriss-soss.ipynb b/docs/content/notebooks/tutorial_niriss-soss.ipynb index 2f8d9da..37bc246 100644 --- a/docs/content/notebooks/tutorial_niriss-soss.ipynb +++ b/docs/content/notebooks/tutorial_niriss-soss.ipynb @@ -271,6 +271,17 @@ "Now we subtract the superbias level from all frames. " ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
NOTE: When running the Superbias Correction with the direct outputs of a previous step a specific error may occur:
\n", + " UFuncTypeError: Cannot cast ufunc 'subtract' output from dtype('float32') to dtype('uint16') with casting rule 'same_kind'.
\n", + "This likely stems from a crds reference file compatability issue, and is being looked into. In the mean time, a workaround is to simply create a list of paths to the previous step output files, e.g.,
\n", + " results = ['XXXX_seg001_saturationstep.fits', 'XXXX_seg002_saturationstep.fits', ...]
\n", + "and pass this to the SuperBiasStep.
" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/docs/content/notebooks/tutorial_nirspec-g395h.ipynb b/docs/content/notebooks/tutorial_nirspec-g395h.ipynb index 59541b8..c299d9f 100644 --- a/docs/content/notebooks/tutorial_nirspec-g395h.ipynb +++ b/docs/content/notebooks/tutorial_nirspec-g395h.ipynb @@ -300,6 +300,17 @@ "Now we subtract the superbias level from all frames. " ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
NOTE: When running the Superbias Correction with the direct outputs of a previous step a specific error may occur:
\n", + " UFuncTypeError: Cannot cast ufunc 'subtract' output from dtype('float32') to dtype('uint16') with casting rule 'same_kind'.
\n", + "This likely stems from a crds reference file compatability issue, and is being looked into. In the mean time, a workaround is to simply create a list of paths to the previous step output files, e.g.,
\n", + " results = ['XXXX_seg001_saturationstep.fits', 'XXXX_seg002_saturationstep.fits', ...]
\n", + "and pass this to the SuperBiasStep.
" + ] + }, { "cell_type": "code", "execution_count": null,