Take a list of galaxy names from an input ASCII file and match each galaxy to rc3.9. The output is a list of indexrc3 values in a file named "rc3_name_match.indexrc3". If a name is not matched, then the output index value is "0".
% rc3_name_match.sh --help Usage: rc3_name_match.sh list.in N arg1 - input file listing FITS headers to survey arg2 - Run in a debug/verbose modeIf the input list file does not exist, then the code operates in interactive mode.
The rc3gal script I used to use that runs rc3tools to identify RC3 galaxies remains avaliable, but rc3_name_match.sh can be used for this also. Here is a complete example.
% rc3_name_match.sh none N *** Running in INTERACTIVE mode. **** Filling GCATS (names) array GCATS name array is filled. Enter galaxy name (N221, blank to stop): N4618 Catalog name = NGC number = 4618 indexrc3 = 13769 NGC 4618 UGC 7853 VV 73 PGC 42575 12:41:33.00 +41:09:03.0 J2000.0 Type = .SBT9.. Bt = 11.22 Ab(gal) = 0.00 Dia (arcmin) = 4.17 b/a = 0.813 V (km/s) = 592.0 T, (B-V)t, (U-B)t = 9.00 0.44 -0.19 Enter galaxy name (N221, blank to stop): I enter a blank return to indicate a STOPThis is alll a little klugy compared to the NED and AladinLite tools available on the web. However, this is a self-contained resources that runs in my system without internet access. It is also extrenely fast.
Bleow I show In example I ran in Oct2020 to find the rc2 matches to my PFC image data base. The EX1 table file contains the object card names that were pulled to the file "Object.Names".
% ls % ls EX1.images EX1.parlab EX1.table list.pfc s/ % table_column_pull EX1 object N Object.Names N % ls EX1.images EX1.parlab EX1.table list.pfc Object.Names s/ % rc3_name_match.sh Object.Names N % ls EX1.images EX1.parlab EX1.table list.pfc Names.Not_Recognized Object.Names rc3_name_match.indexrc3 Names.Not_Recognized Names not matched to RC2 names. Examples of such names are M42, SA96. SN2004da_V, etc... rc3_name_match.indexrc3 The 2022 RC3 index numbers for the entries in the EX1 table. If an name was not matched, the a value of "0" is written.