find_filter

Use a variety of schemes to find the name of the filter used for a FITS image. The filter name is written to standard out.


% find_filter.sh fstack_V.fits 
V

% find_filter.sh N4618.fits 
R 

% find_filter.sh Rsco4338.fits 
V 

% find_filter.sh lrs720386pre.fits 
GG385 

Parts of this are klugy, but fairly obvious. If a new (non-standard) filter naming scheme is encountered, this code should be easy to change to handle the new case.




Back to SCO CODES page