IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 14 years ago

#1504 new defect

problems registering files into database when you don't summitcopy...

Reported by: heather Owned by: eugene
Priority: normal Milestone:
Component: ippTools Version:
Severity: normal Keywords:
Cc:

Description

When you use a database that does not have entries in summit%, for example ssp or megacam which are currently injecting files manually, register.pro fails to load exposures to register because of lack of entries in summitExp.

Here's an example of how I encountered this:

I inject the files:

ipp_serial_inject.pl --telescope simple --camera simple --workdir neb://@HOST@.0/ssp/20110702 --end_stage reg --dbname ssp *fits

When I then do a pantasks:

module pantasks.pro
module register.pro
add.database ssp
controller host add ipp006
run

nothing is loaded until I make a fake entry in summitExp:

insert into summitExp (summit_id, dateobs) values (0,'2012-01-31 20:30:26');
update summitExp set summit_id = 0;

This is a hack! All the manually injected files have summit_id = 0... Why are we joining on summitExp? Not all data downloads through summitcopy....

Change History (0)

Note: See TracTickets for help on using tickets.