mommermi / photometrypipeline

automated photometry pipeline for small to medium-sized observatories
GNU General Public License v3.0
62 stars 26 forks source link

pp_run all descends into .diagnostics directory #19

Closed mkelley closed 7 years ago

mkelley commented 7 years ago

Hi Michael,

pp_run all descends into the .diagnostics directory and crashes:

RUN PIPELINE IN /disks/data0/data/lowell/data/20160212/phot/c2013a1/SDSS-R/.diagnostics
ERROR: cannot open file C_2013_A1_(Siding_Spring).gif
ERROR: cannot open file curveofgrowth.dat
Traceback (most recent call last):
  File "/home/msk/local/photometrypipeline/pp_run", line 390, in <module>
    fixed_aprad, source_tolerance)
  File "/home/msk/local/photometrypipeline/pp_run", line 114, in run_the_pipeline
    '_pp_conf.instrument_keys accordingly')
KeyError: 'cannot identify telescope/instrument; please update_pp_conf.instrument_keys accordingly'

Maybe this directory name should always be skipped?

mommermi commented 7 years ago

I agree! Consider it done!

mommermi commented 7 years ago

Mike, one more comment: if you use pp_run all, please use the -prefix option so that the pipeline knows what your filename conventions are. In the case of LMI, you can use pp_run -prefix lmi. all. M

mkelley commented 7 years ago

Got it, thanks.