-
Notifications
You must be signed in to change notification settings - Fork 13
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
Driver.py Failing at Wavelength Fitting for the Entire Slit #82
Comments
What night are you trying to reduce? Looks a lot like the DRP is trying to load a list of files and it finds it empty. |
We are trying to reduce the MOSFIRE Mask7 data from 20170930 in the H band. I have attached the Driver file (saved as a .txt file for attachment): The Handle step created the following files: Aborted.txt After running the DRP up to the error, the following files were also created: barset.npy I hope this helps. Please let me know if I can provide any more info. Thank you! |
I think that your problem is the use of .gz files. Can you try to gunzip all your files and re-run mospy AutoDriver? The line: Should read: Luca |
I used gunzip to extract all of the files and it worked! Thank you for the assistance!
|
Note this is the same as #58 we should try to address this. |
I was thinking the same
At the very least stop the auto driver generation if it encounters gzipped files and ask the user to take action.
We could, of course, gunzip but I wonder if it would be a bit invasive.
… On Nov 7, 2017, at 10:32 AM, Josh Walawender ***@***.***> wrote:
Note this is the same as #58 we should try to address this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello,
I am trying to reduce a data set and the Driver.py file at the "Wavelength Fitting for the Entire Slit." I am receiving the following message:
Traceback (most recent call last):
File "Driver.py", line 36, in
Wavelength.fit_lambda(maskname, band, obsfiles, obsfiles,waveops)
File "/media/alex/easystore/anaconda2/envs/mosfire_drp/lib/python2.7/site-packages/MOSFIRE-1.0.dev0-py2.7.egg/MOSFIRE/Wavelength.py", line 309, in fit_lambda
guessnames = IO.list_file_to_strings(wavenames)
File "/media/alex/easystore/anaconda2/envs/mosfire_drp/lib/python2.7/site-packages/MOSFIRE-1.0.dev0-py2.7.egg/MOSFIRE/IO.py", line 346, in list_file_to_strings
inputs = np.loadtxt(fname, dtype= [("f", "S100")])
File "/media/alex/easystore/anaconda2/envs/mosfire_drp/lib/python2.7/site-packages/numpy/lib/npyio.py", line 927, in loadtxt
% line_num)
ValueError: Wrong number of columns at line 2
Thank you!
The text was updated successfully, but these errors were encountered: