Nat1405 / Nifty4Gemini

A Gemini Data Reduction Pipeline Framework
MIT License
0 stars 0 forks source link

Problems reducing GN-2019A-Q-208 #2

Open Nat1405 opened 4 years ago

Nat1405 commented 4 years ago

On attempting to reduce GN-2019A-Q-208, I see the following error:

####################################
#                                  #
#  Start NIFS sorting and copying  #
#                                  #
####################################

Downloading data from Gemini public archive to ./rawData. This will take a few minutes.

URL used for the download: 
https://archive.gemini.edu/download/GN-2019A-Q-208/notengineering/NotFail/present/canonical

Path to raw file directory is: /Users/nat/research/hawaii/2020_marie_brown_dwarf/rawData

I am making lists of each type of file.
Traceback (most recent call last):
  File "/Users/nat/miniconda3/envs/iraf27/bin/runNifty", line 38, in <module>
    nifty.nifsPipeline.start(sys.argv[2:])
  File "/Users/nat/miniconda3/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/nifsPipeline.py", line 191, in start
    nifsSort.start()
  File "/Users/nat/miniconda3/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/steps/nifsSort.py", line 173, in start
    allfilelist, arclist, arcdarklist, flatlist, flatdarklist, ronchilist, objectDateGratingList, skyFrameList, telskyFrameList, obsidDateList, sciImageList = makePythonLists(rawPath, skyThreshold)
  File "/Users/nat/miniconda3/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/steps/nifsSort.py", line 429, in makePythonLists
    list1 = [sciDateList[n], obsid]
IndexError: list index out of range

Once again, the initial sorting algorithm is acting up. My suspicion is that this is being caused by not enough files of a particular type showing up. It would be nice if the program gave some sort of descriptive error message rather than crashing.

Nat1405 commented 4 years ago

Made some progress in c468871fa3b347b19b4c64fe44d23eb17ed4464d .