| Version 11 (modified by , 17 years ago) ( diff ) |
|---|
(return to Data Analysis Examples)
Setting up the software and basic configuration
- I built the IPP software from svn trunk (r25003)
- hit and fixed an issue with libreadline linkage vs libncurses (see ticket #1284)
- created an ippadmin database and ippadmin user (dropped existing empty ippadmin):
ippadmin init localhost ippuser ipp
- created an empty-password ssh key for use by the ipp user:
ssh-keygen
- set up the user config files:
cp src/ipp.20090805/ippconfig/ipprc.config .ipprccp src/ipp.20090805/ippconfig/site.config.in install/ipp.20090805.lin64/share/ippconfig/site.config- edit site.config to include db host, etc information
- install ippMonitor:
- cd src/ipp.20090805/ippMonitor/
- psconfigure --dbhost vysosdata1 --dbuser ippuser --dbpass (XXX) --htdocs /srv/www/htdocs
- make (failed at first try because of permissions on /srv/www/htdocs)
- ippMonitor was missing DB.php on the apache server -- see IppMonitor for the fix
Demonstration Data Analysis
- set up a demo database:
ippadmin project vysosdata1 ippuser demo_20090806pxadmin -dbname demo_20090806 -create
- inject data (science, flat, dark)
ipp_serial_inject.pl --telescope vysos --camera vysos --workdir /home/ipp/data/demo.20090806 --end_stage reg --dbname demo_20090806 newdata/20090630/*.ftsipp_serial_inject.pl --telescope vysos --camera vysos --workdir /home/ipp/data/demo.20090806 --end_stage reg --dbname demo_20090806 newdata/20090630/flats/*.ftsipp_serial_inject.pl --telescope vysos --camera vysos --workdir /home/ipp/data/demo.20090806 --end_stage reg --dbname demo_20090806 newdata/20090630/Calibration/*.fts
- test that pantasks + ssh work:
ssh vysosdata1 pclient- you should see something like the following:
pclient: no file /home/ipp/.pcontrolrc Welcome to PCLIENT - pcontrol client shell
- run the registration analysis on the new data:
- start pantasks; in pantasks, issue these commands:
module pantasks.promodule register.pro- {{{ add.database demo_20090806
control host add vysosdata1run
- register should run for a while; in ippMonitor, entries in 'newExp' should slowly move to 'rawExp'
- start pantasks; in pantasks, issue these commands:
- Generate Detrend Images
- For now, the VYSOS5 config applies only bias and flat
- start & setup pantasks:
module pantasks.prodetrend.modules- {{{ add.database demo_20090806
control host add vysosdata1run
- make a bias:
dettool -simple -pretend -dbname demo_20090806 -definebyquery -workdir /home/ipp/data/demo.20090806/detrend -inst VYSOS5 -det_type BIAS -select_exp_type BIAS- look at the results in ippMonitor Detrend steps
- make a flat:
dettool -simple -pretend -dbname demo_20090806 -definebyquery -workdir /home/ipp/data/demo.20090806/detrend -inst VYSOS5 -det_type FLAT -filter r -select_exp_type FLAT -select_filter PSr
Side note on astrometry
we were having trouble with astrometry in May. I've been looking into this a bit more, and it looks like at least part of the problem is that the angle moves around a bit, and the solution is sensitive to angles of 1-2 degrees. The file ippconfig/vysos5/psastro.config includes an option for searching over a range of angles (PSASTRO.GRID.MIN.ANGLE, PSASTRO.GRID.MAX.ANGLE, PSASTRO.GRID.DEL.ANGLE). I've set this to -10 to +10 in steps of 1 degree. This may not be enough range in some cases.
Note:
See TracWiki
for help on using the wiki.
