Right now, 13 programs are failing with an "UnboundLocal" error. There seem to be unhandled bugs in the telluric/flux correction code. An example is this:
GN-2008B-Q-28.err:UnboundLocalError: local variable 'numi' referenced before assignment
GN-2011A-Q-6.err:UnboundLocalError: local variable 'numi' referenced before assignment
GN-2011B-Q-26.err:UnboundLocalError: local variable 'numi' referenced before assignment
GN-2012A-Q-88.err:UnboundLocalError: local variable 'numi' referenced before assignment
GN-2012A-SV-121.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2012B-Q-62.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2013B-Q-45.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2015A-FT-21.err:UnboundLocalError: local variable 'numi' referenced before assignment
GN-2015A-Q-2.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2015A-Q-61.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2017A-Q-47.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2018A-Q-112.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
GN-2019A-Q-115.err:UnboundLocalError: local variable 'standardStarSpecTemperature' referenced before assignment
Some possible solutions:
Turn the telluric/flux correction off for now (short term hack)
Add some error handling code to abort the telluric/flux correction in this situation (better)
Actually review and fix the code (hard to say how difficult).
Right now, 13 programs are failing with an "UnboundLocal" error. There seem to be unhandled bugs in the telluric/flux correction code. An example is this:
Some possible solutions: