Jingwen Wu
unread,Nov 17, 2014, 3:13:35 PM11/17/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mosfi...@googlegroups.com
Dear Nick,
I met a new problem in the Mosfire DRP pipeline.
When I run the task "Wavelength.apply_lambda_sky_and_arc" on one of my objects, I got the following error message:
File "K_driver.py", line 43, in <module>
'Ne.txt', LROIs, waveops, neon=True)
File "/Users/MOSFIRE/mosdrp/MOSFIRE/Wavelength.py", line 748, in apply_lambda_sky_and_arc
SkyL[i]["2d"]["coeffs"][j,:] = coeffs
UnboundLocalError: local variable 'coeffs' referenced before assignment
I never have problem like this in reductions for other targets (They all works fine). And I run the pipeline a few more times,
to make sure it was not caused by my careless mistakes. The error message sustained.
Do you have an idea what may cause this error?
Thanks,
Jingwen