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

Updates for 18.11 #68

Merged
merged 24 commits into from Dec 12, 2018
Merged

Updates for 18.11 #68

merged 24 commits into from Dec 12, 2018

Conversation

weaverba137
Copy link
Member

This PR (which is for 18.11 despite the name of the branch):

Note the 'WIP' label!

@weaverba137 weaverba137 added the WIP Work in Progress label Nov 29, 2018
@weaverba137 weaverba137 self-assigned this Nov 29, 2018
@weaverba137 weaverba137 added this to In progress in 18.11 via automation Nov 29, 2018
@weaverba137
Copy link
Member Author

weaverba137 commented Nov 29, 2018

@sbailey, please look over this initial assessment of the files in 18.11. I'm taking care of the straightforward things like adding new columns, but there are some structural problems in here too that need examination.

  • DESI_SPECTRO_DATA
    • NIGHT/EXPID/fibermap
      • File has no EXTNAME in HDU 0.
      • File is missing extension TARGETS.
      • Due to an astropy bug 10**6 arcsec-2 yr2 is not properly parsed. It can be changed to 10**+6 arcsec-2 yr2 as a work-around.
  • DESI_SPECTRO_REDUX
    • SPECPROD/zcatalog
      • File has no EXTNAME in HDU 0.
      • Is TEMVER00 supposed to be a float? String seems more appropriate.
    • SPECPROD/exposures/NIGHT/EXPID/cframe
      • In the SCORES HDU the names of the columns depend on the name of the file (BRZ). This is kind of annoying.
    • SPECPROD/spectra-NSIDE/PIXGROUP/PIXNUM/spectra
      • File has no EXTNAME in HDU 0.
      • I thought we got rid of compressed MASK HDUs. This mismatch actually causes the check_model program to crash!
  • DESI_SPECTRO_SIM
    • PIXPROD/NIGHT/EXPID/simspec
      • File contains units in the form 1e-17 erg / (Angstrom cm2 s). Should be 10**-17 erg/(s cm2 Angstrom).
      • Add descriptions of new tables.
      • Do the WAVE_[BRZ] HDUs have units?
  • DESI_TARGET
    • mtl
      • File has no EXTNAME in HDU 0.
      • Check HDU 1 columns.
    • sky
      • File has no EXTNAME in HDU 0.
      • File sky.fits no longer has a data model!
    • stdstar
      • File has no EXTNAME in HDU 0.
      • File standards-(bright|dark).fits no longer has a data model!
    • targets
      • File has no EXTNAME in HDU 0.
      • Check HDU 1 columns.
    • truth
      • File has no EXTNAME in HDU 0.
      • Check number of HDUs.
    • fiberassign/tile
      • I can't remember: which of the three tile files in DESI_TARGET/fiberassign are we supposed to be using?
      • File has no EXTNAME in HDU 0.
      • Check number of HDUs.

@weaverba137
Copy link
Member Author

This is particularly annoying: many files have fibermap tables, but they are not all the same! For example zbest and spectra files add NIGHT, EXPID and TILEID to the fibermap table.

@sbailey
Copy link
Contributor

sbailey commented Dec 12, 2018

Thanks for the detailed list. Many of these are in the category of prescriptive (what the files should have) vs. descriptive (what the 18.11 reference run files do have). I've tried to add comments with the most egregious cases (missing HDUs, missing columns).

Since we're imminent on the 18.12 release, I'm going to call this good enough directionally correct progress for 18.11. Test pass on my laptop but not yet on Travis. After resolving that I'll merge and tag for 18.11 and then continue with cleanup for 18.12 and beyond (including opening a few tickets for some specific cases).

@sbailey sbailey mentioned this pull request Dec 12, 2018
Copy link
Contributor

@sbailey sbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough for 18.11, moving on.

@sbailey sbailey merged commit 4d8a8a2 into master Dec 12, 2018
18.11 automation moved this from In progress to Done Dec 12, 2018
@sbailey sbailey deleted the updates-18.9 branch December 12, 2018 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in Progress
Projects
No open projects
18.11
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants