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
Final clean up of DESI_SPECTRO_REDUX, DESI_TARGET #171
Conversation
@weaverba137: Thanks for catching all the little inconsistencies in the desitarget files. I've reviewed all of the unit/type/header keyword updates and I'm happy with your changes, so you could merge your work so far, if you'd like. Regarding the oddball files (again, thanks for noticing these): Files with an extra randoms directory, e.g.:
|
@geordie666, thank you this is extremely helpful. We have a way to cross-reference data model files internally, so we can just cross-reference the "original" randoms rather than even needing to copy all the content. For the bricks files though, I'm going to propose that we simply pretend that they don't exist for the purposes of the data model. |
@weaverba137: I think it's absolutely fine simply to ignore the existence of the bricks files, if that's your preference. If a user asks about their content, it would be straightforward to point them to the Legacy Surveys website (if they don't think to look there first). Should we be bombarded with questions about the bricks files (!) we can revisit including them in a later Data Release. |
I will merge as soon as the latest set of tests pass. |
This PR cleans up some remaining verification loose ends in
DESI_SPECTRO_REDUX/SPECPROD
andDESI_TARGET
.zpix
/ztile
files haveZCAT_NSPEC
as int16, but that changes to int64 inzall
files. The data model reflects thezpix
/ztile
files.DESI_TARGET/TARG_DIR
to match files on disk. This mainly involved fixing up the regular expressions that match the files.DESI_TARGET/TARG_DIR
, I discovered two entirely new classes of random files, plus two complete oddballs:$DESI_TARGET/catalogs/dr9/2.4.0/randoms/resolve/randoms-1-15/randoms-1-hp-539.fits
$DESI_TARGET/catalogs/dr9/0.48.0/randoms/noresolve/north/randoms-noresolve-1-19.fits
$DESI_TARGET/catalogs/dr9/0.48.0/randoms/resolve/survey-bricks-dr9-randoms-0.48.0.fits
$DESI_TARGET/catalogs/dr9/0.47.0/randoms/resolve/randoms-survey-bricks.fits
For the record, the two extra classes of random files are matched by these regular expressions:
[0-9.]+/randoms/resolve/randoms-[0-9]+-[0-9]+/randoms-[0-9]+-hp-[0-9]+\.fits
[0-9.]+/randoms/noresolve/(north|south)/randoms-noresolve-[0-9]+-[0-9]+\.fits
@geordie666 would you be able to make a recommendation on what to do about documenting these extra classes of randoms? I think we can just ignore the two bricks files.