I would like to run ProcessCcdTask for a single dataId obtained through a Butler instance. I do not want to use parseAndRun or parse any arguments as if I were using the command line. A naive attempt looks like this:
ref = butler.dataRef(datasetType="raw", dataId=dataId) task.runDataRef(ref)
but this does not work as the code is unable to find the required calibs (note that it works fine using the command line task parseAndRun approach). Can anyone advise?
Postdoctoral Researcher, Macquarie University