-
Notifications
You must be signed in to change notification settings - Fork 1
CFHT Documentation
pfouque58 edited this page Mar 25, 2020
·
6 revisions
Here is an example of how I reduce a SPIRou run using the DRS v0.6.037 at CFHT, taking as an example the recent March 2020 run. I use the calibDB and telluDB from the mini data set:
- source /data/spirou/dev/venv/bin/activate to define the right environment
- Create a sub-directory 20AQ06 in /data/spirou3
- Create the right structure of sub-directories in it: raw, reduced, tmp, datadir, plot and in datadir: calibDB, telluDB, msg, runs
- Copy raw data from the CFHT structure to /data/spirou3/20AQ06/raw: subdirectories have names like 2020-03-10 while at CFHT we use 20AQ06-Mar10: cp /data/sessions/spirou/20AQ06-Mar10/2*{a,c,d,f,o}.fits /data/spirou3/20AQ06/2020-03-10/ and same for all the nights of the run
- Modify the user_config.ini in /data/spirou/dev/config/spirou/ to point to the right 20AQ06 directories
- apero_reset.py SPIROU will clean the directories
- define a 20AQ06_limited_run.ini in /data/spirou3/20AQ06/datadir/runs
- copy the mini_data_0.6.037 calibDB and telluDB directory contents to /data/spirou3/20AQ06/datadir/calibDB and telluDB
- apero_validate.py SPIROU
- apero_processing.py SPIROU 20AQ06_limited_run.ini --test=True to see the commands you will run
- screen
- apero_processing without the test option
Here is an example of limited_run.ini script for this run: https://pastebin.com/U1L6Q4M8