View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Inclusion of USNO-B1 catalog in astrometry tasks?

Guest wrote on Dec 19, 2005

Hi,

I've seen some past discussion about including the USNO-B1 catalog in the astrometry tasks in the MOSAIC and ASTCAT packages, but I don't see it anywhere yet. (I'm particularly interested in accessing it in AGETCAT.) Has this been implemented in and I'm missing it, or is there still not an apppropriate website that provides an interface that IRAF can use?

Thanx,
Joel Parker

Phillip Warner wrote on Dec 19, 2005

Hi Joel,

In the past, the USNO people only provided HTTP PUT, but it appears that they now have HTTP GET (as used by IRAF) through a VO Cone Search service (see http://www.nofs.navy.mil/data/FchPix/).

What you will need to do is edit the astcat$lib/catdb.dat (~iraf/noao/astcat/lib/catdb.dat) and append the entry below (starting with "begin...". Now, bear in mind that I've not used astcat specifically (aside from adding/modifying sources), so this may or may not work for you.

If the paste doesn't work as expected (aclist should show usnob1@usno as an available catalog), please feel free to email me, and I'll send you the catdb.dat file. (NOTE: Everything between "query GET ... " to "HTTP/1.0\n\n" should be on the same line.)


begin usnob1@usno
address inet:80:www.nofs.navy.mil:text
query GET /cgi-bin/vo_cone.cgi?CAT=USNO-B1&RA=%-s&DEC=%-s&SR=%-s&VERB=1&cftype=ASCII&slf=hh.hhh/dd.ddd&skey=RA HTTP/1.0\n\n
nquery 3
    ra  0.00000 degrees %0.5f
    dec 0.00000 degrees %0.5f
    radius 0.100 degrees %0.03f
protocol http
type stext
    hskip 26
    tskip 0
    recsize 0
    triml 1
    trimr 1
nheader 1
    csystem J2000
nfields 14
    id 1 0 c INDEF %12s
    ra 2 0 r degrees %11.8f
    dec 3 0 r degrees %11.7f
    sra 4 0 d milliarcsecs %3d
    sde 5 0 d milliarcsecs %3d
    mura 6 0 r INDEF %4.1f
    mudec 7 0 r INDEF %4.1f
    smura 8 0 r INDEF %4.1f
    smude 9 0 r INDEF %4.1f
    b1 10 0 r INDEF %7.3f
    r1 11 0 r INDEF %7.3f
    b2 12 0 r INDEF %7.3f
    r2 13 0 r INDEF %7.3f
    i2 14 0 r INDEF %7.3f


Cheers,

Phillip

ping zhao wrote on Dec 19, 2005

Hi Phil,

Has anyone successfully extracted USNOB1 catalog through IRAF/mscgetcatalog?

I followed your instructions and put catalog= usnob1@usno.

The task worked a little while but the output has no content.

Thanks!

Ping

Mike Fitzpatrick wrote on Dec 19, 2005

See the similar thread at http://iraf.net/phpBB2/viewtopic.php?t=85576

-Mike

Last post on Dec 19, 2005