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

How do data models in DESI_TARGET map to files in reference runs? #44

Closed
weaverba137 opened this issue Mar 20, 2018 · 3 comments
Closed
Assignees
Labels

Comments

@weaverba137
Copy link
Member

The data model files in the DESI_SPECTRO_(DATA|REDUX|SIM) sections map cleanly onto directories in the recent reference runs. However, data model files in the DESI_TARGET section do not. This includes fiber assignment files.

@sbailey
Copy link
Contributor

sbailey commented Mar 20, 2018

Starting from a reference run base directory:

Reference Run Data Model
targets/targets.fits $DESI_TARGET/targets-{source}-{version}.fits
targets/mtl.fits $DESI_TARGET/mtl-{source}-{version}.fits
targets/truth.fits $DESI_TARGET/truth-{source}-{version}.fits
targets/sky.fits $DESI_TARGET/sky-{version}.fits
targets/standards-dark.fits $DESI_TARGET/stdstar-{version}.fits
targets/standards-bright.fits $DESI_TARGET/stdstar-{version}.fits
fiberassign/tile_*.fits $DESI_TARGET/fiberassign/tile_*.fits

Note: reference runs currently have two different standards files for dark vs. bright, while long term we may only have 1.

Not yet in the datamodel, but will apply to real data too:

  • targets/qa/

Specific to reference runs with no equivalent in the datamodel:

  • targets/test-tiles.fits
  • targets/select_mock_targets.log
  • targets/{group}/{pixnum}/.
  • fiberassign/*.txt, *.log

Suggestion: for the files that do have an equivalent, update the data model as needed to document the contents of the existing files, but don't worry about directory structure or file names yet. I don't think the reference run or the data model reflect what we really want but I don't have an organized suggestion of what to do yet.

@weaverba137
Copy link
Member Author

OK, this sounds reasonable.

@weaverba137
Copy link
Member Author

I have updated the data model files to reflect the reference run versions of the targets and fiberassign files. The changes are part of #42.

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

No branches or pull requests

2 participants