lrs2_imset

Print LRS images names for a single channel. This code is designed to be run remotely. By this I mean the user does not have to be located in the image directory at the time of the run. I make a local file that contains the path to the image directory (usually something like "/hetdata/data") and the user provides the rest of the information on the command line.

% 
% lrs2_imset 

Usage: lrs2_imset base 20160716 013 01 uv
arg1 = file with basepath (can be ".", but why) 
arg2 = date of observation (20160716)
arg3 = observation value (3 chars, e.g. 003)
arg4 = exposure number (2 chars, e.g. 01)
arg5 = channel name (uv,or,rd,fr)
NOTE: uv=UV or=Orange, rd=Red, fr=Far-Red


% ls
Base  
% cat Base 
/home/sco/lrs2_points

% lrs2_imset Base 20160816 009 01 uv  
lower  =  /home/sco/lrs2_points/20160816/lrs2/lrs20000009/exp01/lrs2/20160816T040820.5_056LL_sci.fits  (see Name.Lower)
upper  =  /home/sco/lrs2_points/20160816/lrs2/lrs20000009/exp01/lrs2/20160816T040820.5_056LU_sci.fits  (see Name.Upper)
% ls 
Base  Name.Lower  Name.Upper  

% cat Name.Lower
/home/sco/lrs2_points/20160816/lrs2/lrs20000009/exp01/lrs2/20160816T040820.5_056LL_sci.fits 
% cat Name.Upper
/home/sco/lrs2_points/20160816/lrs2/lrs20000009/exp01/lrs2/20160816T040820.5_056LU_sci.fits 






Back to SCO CODES page