-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Johann Cohen-Tanugi edited this page Nov 18, 2015
·
7 revisions
Welcome to the meas_simastrom wiki! Here is a quick tutorial to get started, including the setup of master versions of obs_cfht and meas_simastrom. The paths here reflects the workarea at CC-IN2P3.
- Create a working directory and cd to it.
- Initialize the LSST stack; make sure you use a recent enough version of gcc (>=4.6)
source /usr/local/shared/bin/gcc464_env.sh
source /sps/lsst/Library/stack_v11_0/loadLSST.bash
setup pipe_tasks - Install master versions of the two packages in a subdirectory called e.g. my_package
mkdir my_package
cd my_package
git clone https://github.com/lsst-france/meas_simastrom.git
git clone https://github.com/lsst/obs_cfht.git
#compile obs_cfht
cd obs_cfht
setup -k -r .
scons (there is an innocuous runtime error when running the test executable)
eups declare -r . -t <your login name>
#compile meas_simastrom
cd ../meas_simastrom
setup -k -r .
scons opt=3
eups declare -r . -t <your login name> - Setup the LSST stack including the local versions of the packages
setup obs_cfht -t fabio
setup meas_simastrom -t <your login name>
ln -s /sps/lsst/data/astrometry_net_data . (this contains a CFHT-Deep subdirectory)
setup astrometry_net_data -t <your login name> - link the calexp output dataset to the local directory
cd ../..
ln -s /sps/lsst/data/CFHT/output output - Execute, with 2 options:
- use a visit list in a file run.list (exemple in /sps/lsst/dev/boutigny/CFHT/run.list) and execute simAstromTest.py output @run.list
- use the command line to define the visits to match astrometrically : simAstromTest.py output --id visit=845346 ccd=0..3 --id visit=849375 ccd=0..3 --id visit=849376 ccd=0..3