A convenient wrapper for running usno_look_wcs, a routine that overplots USNO-B1.0 sources on an FITS image that has WCS stored in the header.
% usno_look_wcs_run --help Usage: usno_look_wcs_run ./local_red/WCS/Rsco2039.fits N arg1 - Name of FITS image (can be full path) arg2 - run in debug mode (Y/N) A typical example run in an EMPTY working directory: % usno_look_wcs_run /home/sco/ACM_work_Oct2019/red_20191018/Test1/local_red/WCS/20191018T024545.3_acm_sci.fits N % ls 20191018T024545.3_acm_sci.fits 20191018T024545.3_acm_sci-usno.cdfp 20191018T024545.3_acm_sci.pngOne advantag of using this wrapper routine is that it allows one to review the USNO targets that are overplotted before the cdfp file is made. You can manually delete undesired region markers in the gui, or you can start over and select a new magnitude name and limit. The final chart that you create is in the local *.png file, and the coordinate file is in the local *.cdfp file.
After running this routine, you'll be left with a ds9 frame containing your image and the oveplotted rgion files. You may want to save these region files again and parse the contents of the saved files. Useful routine for this are ds9_region_saver and ds9regget.sh. Sometimes all you want is to get the information for a particular labeled region, and for this you can use search_ds9reg_by_name.