[Issues] TargetProcessor: graphical select problem

Hans Vaith hav at mpe.mpg.de
Thu Dec 21 13:00:23 CET 2006


Dear Willem-Jan,

thanks for your reply. Yes, in order to get the error it is 'necessary' to 
process 02-Oct first. I tried all possible processing orders and some work, 
others don't. I have repeated the processing for all orders several times. 
The results are consistent so far:

10-Oct ... 02-Oct ... 09-Oct   works
10-Oct ... 09-Oct ... 02-Oct   works
02-Oct ... 09-Oct              fails (when trying to process 09-Oct)
02-Oct ... 10-Oct              fails (when trying to process 10-Oct)
09-Oct ... 02-Oct ... 10-Oct   fails (when trying to process 10-Oct)
09-Oct ... 10-Oct              fails (when trying to process 10-Oct)

By 'fails' I mean that I get the error message about  
referencing 'creation_date' before assignment in the ProcessGraphDetail 
window.

Note that each time I waited until the frames from one day were processed, 
before proceeding with the next day. Between trying different orders I 
deleted the processed PhotSrcCatalog and PhotSrcCatalogParameters objects 
from my mydb, in order to start from the same starting point.

When I instead try to start the processing of a day while the processing of 
the previous day is not yet finished the error does not occur.

At the moment I don't have access to the machine that runs the target 
processor service, so I cannot retrieve the logs that it writes, but if you 
can tell me what the log file names are (are they the same as the awe log 
files or does the target processor use separate log files?), then I could ask 
Jan to send these logs to me and I could forward them to you.

Thanks,
Hans
  

On Thursday 21 December 2006 10:08, W.J. Vriend wrote:
> Hello Hans,
>
> Thanks for the details. But I can't understand why processing
> PhotSrcCatalog X (2 oct) gives an error in showing details of
> PhotSrcCatalog Y (9 oct). So are you sure the processing is necessary to
> generate the error ? I can't reproduce the error here, can you send me
> the logging of the target processor,or at the least the traceback of the
> error showing the line number and file where the error occurred ?
>
> Notice that PhotSrcCatalogs are calibration objects, for processing and
> viewing the status of these objects you'll need to set the depth to at
> least one. A depth of zero for calibration objects will not process
> anything, but will only check if an object with the specified parameters
> exists.
>
> cheers,
>
> Willem-Jan
>
> Hans Vaith wrote:
> > Hi Willem-Jan,
> >
> > I am trying to get familiar with the Target Processor. At the moment I am
> > going through the various steps in the image/photometric pipeline and am
> > trying to create the objects using the Target Processor.
> >
> > I am using our WFI tutorial data in mydb. My starting point is
> > AstrometricParameters. Everything up to and including Astrometry has been
> > done. I now want to use the Target Processor to create PhotSrcCatalogs.
> > This is what I am doing:
> >
> > o) On the main page I set Processing and Querying to 'image pipeline'
> > o) Target: PhotSrcCat
> > o) Filter: #843
> > o) Chips: all chips
> >
> > o) then I click on the 'graphical select' link
> > o) --> I get a 'Process Graph' window
> > o) I select year (2004) and date (10), then click on 'Show'
> > o) raw data blocks are shown for three days (2,9,10 October), as expected
> >   (no PhotSrcCatalogs exist so far)
> > o) I click on the raw data block for 2-Oct
> > o) --> I get a 'Process Graph Details' window
> > o) In the 'Process Graph Details' window I click the Process button
> > o) --> I get a 'Submit Jobs' window
> > o) I click on 'Submit'
> > o) the window title changes to 'Process Jobs'
> > o) I wait until the job is finished, then I close the 'Process Jobs'
> > window
> >
> > o) On the main page I click on the 'graphical select' link again
> > o) --> I get a 'Process Graph' window
> > o) I select year (2004) and date (10), then click on 'Show'
> > o) a processed data block is shown for 2-Oct, and raw data blocks are
> >    shown for 9 and 10 October, as expected
> > o) I click on the raw data block for 9-Oct
> > o) A window opens and displays the error message
> >    "Error serving page /ProcessGraphDetail, exception local
> >     variable 'creation_date' referenced before assignment"
> >
> > Thanks for your help
> >
> > Cheers,
> > Hans
> >
> > On Wednesday 20 December 2006 13:37, W.J. Vriend wrote:
> >> Hello Hans,
> >>
> >> Could you specify in more detail what you are and what goes wrong ? I
> >> can't reproduce this error.
> >>
> >> WJV
> >>
> >> Hans Vaith wrote:
> >>> Hi All,
> >>>
> >>> when I try to create a PhotSrcCatalog object via the 'graphical select'
> >>> I get the error message
> >>>
> >>> "Error serving page /ProcessGraphDetail, exception local
> >>> variable 'creation_date' referenced before assignment"
> >>>
> >>> after clicking on one of the colored blocks in the window that's
> >>> titled "ProcessGraph". The error message is shown in a separate window.
> >>>
> >>> As far as I can see this error occurs only of there are already some
> >>> processed data shown in the ProcessGraph window. It works fine if there
> >>> are only raw data (ReducedScienceFrames in this case).
> >>>
> >>> Cheers,
> >>> Hans
> >>> _______________________________________________
> >>> Issues mailing list
> >>> Issues at astro-wise.org
> >>> http://listman.astro-wise.org/mailman/listinfo/issues

-- 
_______________________________________________________________
Hans Vaith   Max-Planck-Institut fuer extraterrestrische Physik
             Postfach 1312, D-85741 Garching, Germany
             Phone :(Country Code 49) 89 30000-3831
             e-mail: hav at mpe.mpg.de (Fax: 89/30000-3569)



More information about the Issues mailing list