Welcome to iraf.net Friday, March 29 2024 @ 07:33 AM GMT
Anonymous: |
12/19/2005 09:18PM (Read 5032 times)
|
|
|
|
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
|
|
|
|
phil |
12/19/2005 09:18PM
|
|
|
Status: offline
Registered: 11/03/2005
Posts: 13
|
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. ([b:0963bf174e]NOTE: Everything between "query GET ... " to "HTTP/1.0\n\n" should be on the same line.[/b:0963bf174e])[code:1:0963bf174e]
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
[/code:1:0963bf174e]
Cheers,Phillip
|
|
|
|
ping |
12/19/2005 09:18PM
|
|
|
Status: offline
Registered: 04/13/2006
Posts: 45
|
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
|
|
|
|
fitz |
12/19/2005 09:18PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
See the similar thread at https://iraf.net/phpBB2/viewtopic.php?t=85576-Mike
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|