-
Notifications
You must be signed in to change notification settings - Fork 10
BOSS DRP IDLspec2D v6_2+ paths added #94
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
Conversation
update boss paths for IDLspec2D v6_2_0 and later which includes a restructuring of the output file structure. New special functions are used to maintain backwards compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few questions and I'll review the other PR separately, but this looks ok to me.
spArc = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/@fieldgrp|/@pad_fieldid|@isplate|/spArc-{br}{id}-{frame:0>8}.fits.gz | ||
spCFrame = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/@fieldgrp|/@pad_fieldid|@isplate|/spCFrame-{br}{id}-{frame:0>8}.fits.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing for backwards compatibility, sptypefolder
and fieldgrp
functions will return empty strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that is correct.
specFull_coadd = $BOSS_SPECTRO_REDUX/{run2d}/spectra/full/{coadd}/{mjd}/spec-{coadd}-{mjd}-{catalogid}.fits | ||
spAllField_coadd = $BOSS_SPECTRO_REDUX/{run2d}/spectra/full/{coadd}/{mjd}/spAll-{coadd}-{mjd}.fits | ||
spAllLineField_coadd = $BOSS_SPECTRO_REDUX/{run2d}/spectra/full/{coadd}/{mjd}/spAllLine-{coadd}-{mjd}.fits | ||
spCOADDS = $BOSS_SPECTRO_REDUX/{run2d}/@spcoaddfolder|/{phase}_{survey}_COADDS.par |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this name need to be in all caps? Not necessarily suggesting we change it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not, however, the name matches the name of the data model.
spAllLineField_epoch = $BOSS_SPECTRO_REDUX/{run2d}/epoch/spectra/full/@pad_fieldid|@isplate|/{mjd}/spAllLine-@pad_fieldid|-{mjd}.fits | ||
sciExp = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/@fieldgrp|/@pad_fieldid|@isplate|/SciExp-@pad_fieldid|.par | ||
spPlancombepoch = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/@fieldgrp|/@pad_fieldid|@isplate|/epoch/spPlancombepoch-@pad_fieldid|-{mjd}.par | ||
fieldlist_epoch = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/fieldlist-{run2d}@epochflag|.fits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is from /epoch/
to the new sptypefolder
method, which I think for some cases should return just epoch
to retain backwards compatibility, but when I look at that method, it returns summary/epoch
for fieldlist-epoch
? I just looked at one example as a check, but want to sure all the bases are covered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct, I missed that when I checked, since it was a valid path to the daily version. I have now fixed the special function
@@ -271,69 +271,70 @@ sdR_N = $BOSS_SPECTRO_DATA_N/{mjd}/sdR-{br}{id}-{frame}.fit | |||
sdR_S = $BOSS_SPECTRO_DATA_S/{mjd}/sdR-{br}{id}-{frame}.fit | |||
|
|||
#boss DRP paths | |||
spplan2d = $BOSS_SPECTRO_REDUX/{run2d}/@pad_fieldid|@isplate|/spplan2d-@pad_fieldid|-{mjd}.par | |||
spPlancomb = $BOSS_SPECTRO_REDUX/{run2d}/@pad_fieldid|@isplate|/spPlancomb-@pad_fieldid|-{mjd}.par | |||
spplan2d = $BOSS_SPECTRO_REDUX/{run2d}/@sptypefolder|/@fieldgrp|/@pad_fieldid|@isplate|/spPlan2d-@pad_fieldid|-{mjd}.par |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this file name change break backwards compat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was incorrect previously. I have updated the IPL-3 version as well
Fix the spPlan2d path in ipl3
Made modifications to the BOSS DRP paths to be compatible with the updates in v6_2_0, while maintaining backward compatibility