Using NK reduction scripts - collection of perl scripts to implement a 'pipeline' for reducing data from CFH12K, SUPRIME etc - computation performed by 'imcat' commands (mainly c-progs). - scripts are still somewhat fluid, but becoming less so, - perl is ideal for this type of problem - prerequisites for using NK scripts UNIX - e.g. Kernighan+Pike, Unix Power Tools perl - e.g. programming perl imcat - 'man imcat' and http://www-nk.ifa.hawaii.edu/~kaiser/imcat - reduction proceeds in (at least) two phases - phase-1 - sky subtraction, flat fielding, masking - process one observing run at a time - phase-2 - registration and image co-addition - process one target field at a time - most recent 'phase-1' scripts can be found in cronus:/netdisks/galileo9/kaiser/12ksurvey/cfh0900/phase1 - most recent 'phase-1' scripts can be found in cronus:/netdisks/galileo9/kaiser/12ksurvey/phase2scripts - work directory organisation phase-1: /home/..../PROJECT/OBSRUN/phase1 phase-2 /home/.../PROJECT/TARGET where e.g. PROJECT=MACS, OBSRUN=subaru1200, TARGET=MACSJ2234 - work directories live in home disk - permanent record - no big files DIARY files inventory files database files log files - database files - 'require'ed by scripts to customise the action - e.g.: chips.db # define layout of mosaic for 12K, SUPRIME.. scratch.db # location of scratch directories ..... - goal is that scripts will be read only - centralized - no camera, user, site specific parameters in the scripts - names lists - text files listing images for each possible image type, target, filter - scratch directory organization - scratch.db defines the base-directories on master, slaves - mirrored structure on master, slaves for ease of switching.