Chris Rowland wrote: > There seems to be a problem with the astorb.dat file, the effect seems > to be that the Ra of asteroids shown using astorb.dat is about 12 hours out. > > This seems to be because the formatting is wrong, possibly because the > number of characters for the asteroid number changed from 5 characters > to 6. This was mentioned as causing Y2K type problems but I've not heard > of a solution. > > I fixed it for the first 20 records by manually deleting a space at the > start of each line but don't fancy doing that for the rest, is there a > better solution around? > > Chris
The astorb.dat I just downloaded from lowell.edu has five spaces ahead of the asteroid numer (eg: .....1 Ceres etc where '.' is a space. Is your file different? If you have to change the number of spaces from 6 to 5, MS Word can do it: use ^p...... (where'.' represents a space character) as the find string and replace with ^p..... (You'll need to edit the first line by hand) Or use a decent text editor that knows about Regular Expressions (eg NoteTab). DN -- ____________________________________ David Nicholls Nicholls Communications http://www.dcnicholls.com/ ____________________________________ ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1.XolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/skychart-discussion/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
