[Issues] Target Processor: PhotSrcCatalog creation problem

Hans Vaith hav at mpe.mpg.de
Tue Dec 19 14:12:39 CET 2006

Hi All,

when trying to use the Target Processor to create PhotSrcCatalog objects I get 
an error saying that no AstrometricParameter objects can be found. Looking 
through the code in OnTheFly.py I found what causes this error. 

The AstrometricParameters.exist() method is called with  template='*zp*'. This 
template name is set by the method getTemplate() in OnTheFly.py. A comment 
there says that for PhotSrcCatalog objects only ReducedScienceFrames with a 
template name of '*_zpkey' or '*_zpuser' should be used. 

However, my ReducedScienceFrames have a different template 
name: 'WFI_img_obs_stare'.

I found the strings 'zpkey' and 'zpuser' in the OmegaCAM calibration plan, so 
it seems as if the code in OnTheFly.py expected to see things the way they 
are intended for OmegaCAM. Is there a plan to also support instruments in the 
Target Processor that do not follow these OmegaCAM template name conventions?

Thanks a lot.


More information about the Issues mailing list