| Version 14 (modified by , 17 years ago) ( diff ) |
|---|
(return to Data Analysis Examples)
Setting up the software and basic configuration
- Last Updated: 2009.08.20
- I've moved the old versions of ipp installations to src/old.install and old code to src/old.src
- I've created an svn branch for changes related to VYSOS, which I've checked out under src/ipp.20090820
http://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/branches/eam_branches/20090820 ipp.20090820
- I've updated ~/.cshrc to set the PSCONFDIR (installation location) to ~/install
- For the build, I'm using psconfig version ipp.20090805.
- 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 PSr -select_exp_type FLAT -select_filter PSr
- insert the astrometry model into the detrend database:
- run script register.astrom.sh in ~ipp/data:
./register.astrom.sh 3 demo_20090806
- run script register.astrom.sh in ~ipp/data:
- Science Processing Example
chiptool -simple -pretend -dbname demo_20090806 -definebyquery -dateobs_begin 2009/07/01 -dateobs_end 2009/07/02 -filter PSr -set_label demo.science -set_workdir /home/ipp/data/demo.20090806/demo.science- the command above does not work without help : IPP currently requires the exp_type to be "OBJECT", but VYSOS is setting this value to "LIGHT". I needed to modify the database manually with a command like this:
update rawExp set exp_type = 'object' where exp_type = 'light';
- start & setup pantasks:
module pantasks.pro module chip.pro module camera.pro control host add vysosdata1 add.database demo_20090806 add.label demo.science run
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.
