path = "/Users/dg42728/github/bdexda/data/NIRSPEC/NSDRP/NS.20011009.54395_57_flux_tbl.fits.gz"
^^ This is what is changing but only the last part the NS.200.... but you wanna keep the same number (57) for all of them
Read in a new spec for a different file [spec = KeckNIRSPECSpectrum(file=path)]
combinedspec=spec1+spec2
path = "/Users/dg42728/github/bdexda/data/NIRSPEC/NSDRP/NS.20011009.54395_57_flux_tbl.fits.gz" ^^ This is what is changing but only the last part the NS.200.... but you wanna keep the same number (57) for all of them
Read in a new spec for a different file [spec = KeckNIRSPECSpectrum(file=path)] combinedspec=spec1+spec2