Hello, let me move this ticket over this repo following @moustakas recommendation.
See below our previous messages:
Hi @moustakas, this is a question from Elenea: I've tried to run FastSpecFit for daily data writting this line in the NERSC terminal:
fastspec /global/cfs/cdirs/desi/survey/catalogs/main/LSS/daily/datcomb_BGS_ANY_tarwdup_zdone.fits --mp 128 --ntargets 100 --outfile fastspec-example.fits
but I've got this error: ValueError: Redrockfile /global/cfs/cdirs/desi/survey/catalogs/main/LSS/daily/datcomb_BGS_ANY_tarwdup_zdone.fits missing standard prefix redrock-; please specify redrockfile_prefix argument.
It has never happened to me when running FastSpecFit for Iron. Why does this happens?
@fprada it'd be better if we moved this ticket over to https://github.com/desihub/fastspecfit/issues, but briefly, this isn't going to work because the LSS daily catalogs don't include the spectra, which FastSpecFit needs. The message is just saying that by default it's looking for a file with a redrock- prefix because it "replaces" that prefix coadd- to find (and read) the spectra. You can bypass this assumption by explicitly passing the argument redrockfiles and `--specfile-prefix.
Hello, let me move this ticket over this repo following @moustakas recommendation.
See below our previous messages:
Hi @moustakas, this is a question from Elenea: I've tried to run FastSpecFit for daily data writting this line in the NERSC terminal: fastspec /global/cfs/cdirs/desi/survey/catalogs/main/LSS/daily/datcomb_BGS_ANY_tarwdup_zdone.fits --mp 128 --ntargets 100 --outfile fastspec-example.fits but I've got this error: ValueError: Redrockfile /global/cfs/cdirs/desi/survey/catalogs/main/LSS/daily/datcomb_BGS_ANY_tarwdup_zdone.fits missing standard prefix redrock-; please specify redrockfile_prefix argument. It has never happened to me when running FastSpecFit for Iron. Why does this happens?
@fprada it'd be better if we moved this ticket over to https://github.com/desihub/fastspecfit/issues, but briefly, this isn't going to work because the LSS daily catalogs don't include the spectra, which FastSpecFit needs. The message is just saying that by default it's looking for a file with a redrock- prefix because it "replaces" that prefix coadd- to find (and read) the spectra. You can bypass this assumption by explicitly passing the argument redrockfiles and `--specfile-prefix.