Edit
Cities...
Edit or create a lonlat.pra file. This is a file where informations about cities (name, county, longitude, latitude and time zone) are.
Note that name of the country is not stored into the lonlat.pra file. Instead, Proastro get this information from the directory where the lonlat.pra file is.
Time zones...
Edit or create a Zx.pra file, x being a number from 1 (1, 2 , 3 and so on). A time zone file contains information about the correction to apply to official time to get UT (GMT) time.
Country directories...
Edit or create a countries file. A countries file in a file where informations about recognized countries are. For each country you must give the name of the directory the lonlat.pra and zx.pra file are in.
Stars...
Edit or create a stars file. This is a file where data for
stars of interest for drawing and interpretation purpose are in.
Sort
Sort a lonlat.pra file by city name order.
Sort a dircountries.pra file by country/state name order.
Time zones...
Sort a z?.pra file by date. Proastro needs a sorted z?.pra file for its search algorithm.
Stars...
Sort a stars file by R.A.
Transfer
Cities to text...
Translate a Proastro cities file (lonlat.pra) to a text file. Each line of the text file is a city of the lonlat.pra file.
Time zone to text...
Translate a z?.pra file to a text file. Each line of the text file is a record of the z?.pra file.
Directories to text...
Translate a dircountries.pra file to a text file. Each line of the text file is a record of the dircountries.pra file.
Stars to text...
Translate a stars.pra file to a text file. Each line of the text file is a record of the stars.pra file.
Text to Cities...
Translate a text file to a Proastro lonlat.pra file. May be useful if you don't like the edit dialog for the cities file. Also may help if you get the cities data from a book you have scanned (with the help of an OCR software).
Here is a sample of a text file ProastroTools can import:
Abadia@Saoura@00h11'00.00" W@ 31d01'00.00" N@1@
Adrar@Saoura@00h01'00.00" W@ 27d51'00.00" N@1@
Affreville@Orleansville@00h09'00.00" E@ 36d15'00.00" N@1@ First field: name of the city
Second field: name of the county
Third field: longitude, in hours, of the city. W for West, E for East.
Next field is the latitude of the city in degrees. N for North, S for South.
Last field is the number of the time zone, that is to say the z?.pra file Proastro will use to find the official to UT time correction (here z1.pra).
@ is the separator character.
Text to Time Zone.
Translate a text file to a Proastro z1.pra file. May be useful if you don't like the edit dialog for the time zone file.
Here is a sample of a text file ProastroTools can import:
-3000-01-01 00:00:00.00 JD@1883-11-18 12:00:00.00 GD@ 7777h00'000"@Local Time before 18/11/1883 1883-11-18 12:00:00.00 GD@1918-03-31 02:00:00.00 GD@ 06h00'000"@CST Time 1883-1918, GMT - 6 h
1918-03-31 02:00:00.00 GD@1918-10-27 02:00:00.00 GD@ 05h00'000"@CST War Time 1918
1918-10-27 02:00:00.00 GD@1919-03-30 02:00:00.00 GD@ 06h00'000"@CST Time 1918-1919, GMT - 6 h
19 First field is the start date of the correction period.
Second field is the end date of the correction period.
Third field is the correction, that is to say the number of hours to add to official time to get UT time. 7777 is a special value that means local time.
Last field is a comment about the correction period.
@ is the tab separator character.
Text to Stars...
Import a text file to a Proastro stars file. Here is an example of a text file ProastroTools can import to a Proastro star file:
#HR NUMBER #ref eqinoxe date # Name # magnitude #Spectrum # RA #DEC #RA proper motion per year #DEC proper motion per year # Name #Draw
15 @2000-01-01 12:00:00 @Alpha Andromeda @2.06 @B8 @0h 8' 23.3" @+29d 5' 26 @ 0d0'0.136 @-0d0'0.163 @Alpheratz @YES
337 @2000-01-01 12:00:00 @Beta Andromeda @2.06 @M0 @1h 9' 43.9" @+35d 37' 14 @ 0d0'0.178 @-0d0'0.114 @Mirach @YES
603 @2000-01-01 12:00:00 @Gamma1 Andromeda @2.26 @K3 @2h 3' 54" @+42d 19' 47 @ 0d0'0.045 @-0d0'0.052 @Alamak @YES
First field is the id of the star. Second filed is reference equinoxe date for the data of the star
third field is the Name of the star.
Next field is the magnitude of the star.
Next field is the spectrum of the star.
Next field is RA in hours of the star.
Next field is the declination of the star, in degrees.
Next field is the right ascension annual proper motion in seconds of hours.
Next field is the declination annual proper motion of the star in seconds of degrees.
Last field is a comment for the star.
@ is the tab separator character.
Note: proper motion can be given in hour or degrees.
Miscellaneous
Check coherence of time zone file...
Basic verification of a time zone file. Checks if start and end dates match.
Rebuild directory countries:
From txt file, lonlat.txt and z??.txt rebuild all the binary files (lonlat.pra,
z??.pra, directories.pra) in the countries directory. So, just change the txt
files and run this command.
Please note: do a backup of your countries directory before using this command.
Regenerate lontat and z files??:
Do the reverse of the previous command: Take as input the binary files and re-generate
(overwrite) the txt files.
Please note: do a backup of your countries directory before using this command.
Ayanamsa value to zero date:
Given a date hour and an ayanamsa degrees value, compute the zero date that is to say the date when sideral and tropical zodiac were the same.
Zero date to ayanamsa value:
Compute the Ayanasa value for an given date and zero date
Change Ecliptic Equinoxe:
Compute ecliptique longitude/latitude of a body from one equinoxe to an other