Star catalogs @LCO

1. Location


Database name
Physcial location
Description
Additional Info
scan
pi2:/data1/pidb/
database of scan frames - average of 3 images
recalculated nigthly
scan_single
pi2:/data1/pidb/
database of scan single images
no recalculation
aver20_2006
pi1:/data3/pidb/
database of night images - average of 20 images ( pi-pipeline )
recalculated nightly

2. Problems description

Databases are filled in the morning after night analysis is finished. The problem is that most of the analysing script require some star statistics fields like :
no_measurements, magnitude, sigma_mag, cam2_sstar_id to be recalculated.
When it was done in WAW off-line ( for 2004/2005 ) recalculation was done once and could take even 10-30 days, however now it must be
done nightly so it must have been redesigned.
It is now using script recalc_night! which is calling sql routine :  ReCalcNight(NIGHT) . This routine selects all stars which have been observed on given night ( parameter of ReCalcNight procedure ) and recalculates statistics for these stars.
Currently is being tested on scan data, it should be fast enough to be executed daily , according to preliminary tests.

3. Database based algorithms