Hello,
I am trying to use Nifty4Gemini to reduce some NIFS data. However when I run the code, it produces an error where it is unable to find the FluxCalibration entry. Is anybody aware of this problem?
The output from the debugger is:
—
Traceback (most recent call last):
File “/Users/kumari/conda/envs/astroconda27/bin/runNifty”, line 38, in <module>
nifty.nifsPipeline.start(sys.argv[2:])
File “/Users/kumari/conda/envs/astroconda27/lib/python2.7/site-packages/nifty/pipeline/nifsPipeline.py”, line 165, in start
fluxCalibration = nifsPipelineConfig[‘fluxCalibration’]
File “/Users/kumari/conda/envs/astroconda27/lib/python2.7/site-packages/nifty/pipeline/configobj/configobj.py”, line 567, in __getitem__
val = dict.__getitem__(self, key)
KeyError: ‘fluxCalibration’
—
The code which triggers this is:
—
> /Users/kumari/conda/envs/astroconda27/lib/python2.7/site-packages/nifty/pipeline/nifsPipeline.py(165)start()
-> fluxCalibration = nifsPipelineConfig[‘fluxCalibration’]
(Pdb) print(nifsPipelineConfig)
{‘sort’: False, ‘calibrationReduction’: False, ‘telluricReduction’: False, ‘scienceReduction’: False, ‘telluricCorrection’: False, ‘merge’: True}
—
I will be really grateful if someone could provide some info to solve this problem.
Many Thanks & Best Regards,
Nimisha