dkirkby / bossdata

Tools for accessing SDSS BOSS data
MIT License
1 stars 3 forks source link

Boss fetch #72

Closed diahuci closed 9 years ago

diahuci commented 9 years ago

Hi. I tried the executable script: bossfetch --verbose qso.dat but it gives me a long traceback and an IOerror. Is there something I need to setup before I put that into the command line in the terminal or do I just have to download that file first? I already have bossdata.

The traceback goes to: /home/diane/anaconda/bin/bossfetch, line 236, in main(), then the astropy.table.Table and a lot more. (I would have posted a photo, but I'm using ubuntu and am new to their GIMP program.)

Long story short, it gives an input/output error: IOError: [Errno 2] No such file or directory: 'qso.dat'. I'm assuming that the fetch should work.

dkirkby commented 9 years ago

It sounds like you might not yet have a valid qso.dat file. Try running this command to produce one:

bossquery -where 'CLASS="QSO" and ZWARNING=0' --max-rows 100 --save qso.dat

If that is still not working, please post the full traceback.

diahuci commented 9 years ago

The code you provides works! (Note: Needs a small syntax correction "-where" should be "--where".)