:~> perl split_atlas.pl
:~> perl ~/bin/FINDdiff.pl -keepall -m -col=1,1 -sep="\t" names.txt atlas.tab > LOG_FINDdiff_1The results are in names.txt_atlas.tab.common and any unmatched lines are reported in LOG_FINDdiff_1:
names.txt atlas.tab MCG6-28-44MGC6-28-44NGC4861+NGC4861 TOL1924-416TOL1924-411941-5431942-543
:~> nedname names.txt names.txt.outafter fixing a few typical "ESO-???" problems - e.g. ESO 296-???011 → ESO 296-IG 011, the fixed name list is exported to names-fixed.txt and we use the seekNEDnames.pl script to test the validity of these names:
:~> perl ~/bin/seekNEDnames.pl names-fixed.txtIn this case, there are 5 object names not found in NED, I used NED's near-position search to find their possible counter-part via confrimation of the current refcode being listed in as a reference to the object (this can be automated) then look through the appropiate cross-ID list to "guess" the best match in name format and grab the NEDra & NEDdec, e.g.:
published names closest NED name 1050+04 CGCG 1050.4+0454 UGC7905S UGC 07905 NED01 UGC8315N UGC 08315 NED02 ? 1350-00 CGCG 1350.2+0022 1941-543 ESO 194103-5422.3
perl generate_spectraDB_loader.pl metadata_table.fin
perl generate_spectraDB_preview.pl
perl makeVOtable.pl *_NED.txt
:~> perl ~/research/NEDsp/Codes/generate_NED_ASCII.pl -col=1,6,8 -units=A,erg_cm2_s_A -err_exp='$ferr=$flux*$ferr' DATA/*.txt :~> perl ~/research/NEDsp/Codes/generate_VOtable.pl DATA/*_NED.txtJust noticed the pdchannel values from split_atlas.pl is garbage, replacing it with those in info.txt (from generate_NED_ASCII.pl) by matching NED_names.txt with info.txt
:~> perl ~/bin/FINDdiff.pl -keepall -m -sep="\t" NED_names.txt info.txt
Unresolved issues: (1) NGC 1614 number of co-added spectra stated in paper different to that in the ASCII file; (2) Significance of "N" in UGC 8315N