Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preproc writing wrong fibermap file #1315

Open
parfa30 opened this issue Jun 17, 2021 · 0 comments
Open

Preproc writing wrong fibermap file #1315

parfa30 opened this issue Jun 17, 2021 · 0 comments
Labels

Comments

@parfa30
Copy link

parfa30 commented Jun 17, 2021

This was noticed because OBJTYPE is not being identified properly in NightWatch. That's because the correct fibermap info is not being saved in the nightwatch files. I traced this to desispec.scripts.preproc. Line 161, sets the fibermapfile is fibermapfile = infile.replace('desi-', 'fibermap-').replace('.fits.fz', '.fits') but the fibermap file should really be fiberassign-.fits.fz. This is sent to io.readraw which sets it as an empty fibermap on line 144: fibermap = desispec.io.empty_fibermap(5000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants