The changes in this simple PR are to accommodate the SV Data Challenge.
surveyinit currently assumes that the tile file includes a mixture of DARK, BRIGHT, and GRAY tiles, and crashed when I gave it a minimal tile file with just DARK tiles, and so I added a simple if statement to check.
The second change (to surveymovie) was to use uppercase column names when grabbing data from the exposures.fits file (which perhaps was standardized elsewhere / previously?).
I wouldn't be surprised if something else breaks with only DARK tiles (which will be good to know), but this is already an improvement so go ahead and merge when convenient.
The changes in this simple PR are to accommodate the SV Data Challenge.
surveyinit
currently assumes that the tile file includes a mixture of DARK, BRIGHT, and GRAY tiles, and crashed when I gave it a minimal tile file with just DARK tiles, and so I added a simpleif
statement to check.The second change (to
surveymovie
) was to use uppercase column names when grabbing data from theexposures.fits
file (which perhaps was standardized elsewhere / previously?).