(return to [wiki:Data_Analysis_Examples Data Analysis Examples]) * I built the IPP software from svn trunk (r25003) * hit and fixed an issue with libreadline linkage vs libncurses (#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 .ipprc }}} * {{{ cp 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) * '''missing DB.php on the apache server''' * set up a demo database: * {{{ ippadmin project vysosdata1 ippuser demo_20090806 }}} * {{{ pxadmin -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/*.fts }}} * {{{ ipp_serial_inject.pl --telescope vysos --camera vysos --workdir /home/ipp/data/demo.20090806 --end_stage reg --dbname demo_20090806 newdata/20090630/flats/*.fts }}} * {{{ ipp_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.pro }}} * {{{ module register.pro }}} * {{{ add.database demo_20090806 * {{{ control host add vysosdata1 }}} * {{{ run }}} * register should run for a while; in ippMonitor, entries in 'newExp' should slowly move to 'rawExp' * Generate Detrend Images * start & setup pantasks: * {{{ module pantasks.pro }}} * {{{ detrend.modules }}} * {{{ control host add vysosdata1 }}} * {{{ run }}} * 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 }}} ==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...