OBJSTARS
Name
objstars
Purpose
Get a list of stars from the USNO A2.0 catalog centered on a solar system object.
Description
Category
Astronomy
Calling Sequence
objstars,starttime,ndays,objcode,outfile,OBSCODE=obscode,PAD=pad
Inputs
starttime - Starting time for object ephemeris. This can be provided as
a julian date (scalar), or a 3,4,5, or 6 element time vector
[y,m,d,h,m,s]. h, m, s, are optional in order of decreasing
significance.
ndays - Number of days to run ephemeris over.
objcode - Object code for solar system object (see EPHEM.PRO)
Optional Input Parameters
outfile - Output file name, default is objcode+'.'+FILETYPE
Keyword Input Parameters
FILETYPE - Specifies the output format for the file. This type is also
used as the default suffix of the output file name.
edb - (default) ascii format needed for XEphem.
OBSCODE - Standard M.P.C. observatory code, default is geocentric
PAD - padding distance around path of object for extraction,
default = 240 arcsec
Outputs
A file is created that is in the format specified.
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
It is not practical to extract too large of a list. Also, this program
does not have appropriate logic to handle the case where the object's
path crosses 0h RA. There is an arbitrary limit of 2 degrees placed
on the extraction widths to prevent extracting the entire star catalog.
Procedure
Modification History
Written by Marc W. Buie, Lowell Observatory, 1999 July 13
2002/09/09, MWB, added support for string obscode values
2003/10/01, MWB, converted my Delfile call to system file_delete routine