lvimages
Updated: Sep01,2020

A routine to make lists of lrs2 or virus images that meet user criteria. The criteria concern things like observation/exposure number, detector amp, ifuslot value, OBJECT card value, and QCAT card value.


% lvimages --help 

usage: lvimages lrs2 6000 1 081 RU ldls_long any [-v] [-h]  
arg1 = spectrograph (lrs2,virus)        
arg2 = obs number  (9901, can be "any")  
arg3 = exposure number (1, can be "any")  
arg4 = ifuslot     (081, can be "any")  
arg5 = amp name (LL,LU,RL,RU,  can be "any")   
arg6 = object card value (can be "any")   
arg7 = QCAT value (can be "any")   
Additional options: 
  -h = just show usage message  
  -v = run in verbose/debug mode 

Examples: 
% cat BaseDir 
/home/sco/LRS2_cals
% cat Date 
20200830

% lvimages lrs2 any any 056 LL any any 
% cat Final.List 
/home/sco/LRS2_cals/20200830/lrs2/lrs20000002/exp01/lrs2/20200830T013448.7_056LL_twi.fits skyflat ___
/home/sco/LRS2_cals/20200830/lrs2/lrs20000015/exp01/lrs2/20200830T075404.2_056LL_sci.fits ZTF20abpzatb_056_E ___
/home/sco/LRS2_cals/20200830/lrs2/lrs20000016/exp01/lrs2/20200830T092435.6_056LL_sci.fits FEIGE_25_056_E spc

% lvimages lrs2 any any 056 LL any spc  
% cat Final.List 
/home/sco/LRS2_cals/20200830/lrs2/lrs20000016/exp01/lrs2/20200830T092435.6_056LL_sci.fits FEIGE_25_056_E spc

% lvimages lrs2 any any 056 any skyflat any 
% cat Final.List 
/home/sco/LRS2_cals/20200830/lrs2/lrs20000002/exp01/lrs2/20200830T013448.7_056LL_twi.fits skyflat ___
/home/sco/LRS2_cals/20200830/lrs2/lrs20000002/exp01/lrs2/20200830T013448.7_056LU_twi.fits skyflat ___
/home/sco/LRS2_cals/20200830/lrs2/lrs20000002/exp01/lrs2/20200830T013448.7_056RL_twi.fits skyflat ___
/home/sco/LRS2_cals/20200830/lrs2/lrs20000002/exp01/lrs2/20200830T013448.7_056RU_twi.fits skyflat ___

 



Back to calling page