VSAT info index
This page explains how I calculate the orbit positions of geostationary satellites using 2 line elements as the input.
Get the source data from www.celestrak.com/NORAD/elements/ and save the page as text file. Add a date into the file name for your convenience. "Save As" using a file name like geo-11-nov-2014.txt
Note that this process below only applies to geostationary satellites.
Two line elements file should look like this, as viewed in Notepad:
The first processing task is to convert to 1 line text elements, looking like this:
Sorry I have had to squeeze this a bit sideways to make it fit on the page but it should give you the idea. The important thing is that each satellite has its data on one line and that the columns all line up perfectly. This make is easy to read the data into a spread sheet (using "Text Import") and separate the figures into columns, using fixed vertical lines, thus the need for exact alignment.
Doing the above involves removing the "new line" or paragraph marks at the end of each line, but not on the end of each third line. This is not easy.
You can do it using Microsoft Word, which I don't have, or LibreOffice Writer, which I do have. Other word processors may do the trick. Notepad++ has been suggested but I have not tried it. The problem is doing search and replace on non-printing characters like "new line", "carriage return" and possibly other embedded non-visible characters.
Using LibreOffice Writer I do this:
Open file, e.g. geo-11-nov-2014.txt
Format Page, set to landscape and 39cm wide. Do Edit, Select All then set font size=10, so you can see each long line on one line.
Do find and replace. Select Other Options and set Regular expressions ticked.
Do find and replace four times, as follows, selecting Replace All.
Replace with x<space>
Find x<space>1 Where is says <space> just input one click on the space bar.
Replace with 1 Select "Match case"
Replace with <space>2<space> Select "Match case"
Replace with \n Select "Match case"
You now need to do some manual editing to remove errors in the original data file. Look all the way down and tidy it up. The following errors, or similar may be seen:
Check that there are gaps all the way down, except between the satellite name and the 1.
There may be a few spurious extra spaces or new line characters.
Sometimes extra digits creep put in. Replace bad digits with spaces where possible, e.g. in last column for LUCH 5CV reads 520037. It should be <space><space> 2003 or maybe 5200. No idea where the extra 2 digits came from!
In OPTUS 10 there seems to be one or more corrupt characters, following the name. Edit the text to make all the columns line up perfectly.
If in danger of corrupting the data, delete the relevant satellite.
Save the file as plain text, e.g. geo-11-nov-2014-one-line.txt
Now comes the exciting bit, putting the data into a spreadsheet.
Open LibreOffice Calc and import (File Open) the text file e.g. geo-11-nov-2014-one-line.txt
A pop up window will appear allowing you to parse the data into columns. Select the fixed width option. As necessary reposition the red dots and the vertical separator lines so that the separator lines fall exactly either side of the first 1 and to the immediate right of all the other columns, like so:
The result will be that the figures all get put nicely into columns on the spreadsheet.
Working on the spreadsheet, insert 4 blank rows across the top.
You then need to fill these four blank rows with various informative texts and formulas, in the range A1 to AK4
Do this by opening this file, http://www.satsig.net/orbit-research/top-four-lines.ods.
Highlight the four rows and do Edit Copy. Edit Paste into your own spreadsheet, filling the top four empty rows/
Note there is one sample satellite in row 4. Look at the formulas in boxes T4 to AK4.
You then need to fill your working columns with formulas from the range T4 to AK4.
Highlight the area T4 to AK4 and copy the formulas all the way down to the end of your list (e.g. to about line number 405)
Highlight row 4 and delete content of the cells (Edit Delete cells) in row 4. This row will now disappear.
The calculations "may" now be near complete.
Familiarise yourself with the row number at the bottom, as this makes it easier to highlight the entire work area, e.g. A4:AK415 You can then type these letters/figures into the select box at top left of the Libre Office calc spreadsheet.
Maybe Data Sort the entire work area into alphabetical order for common satellite name. (optional)
Now have a look at the orbit positions and see where some known satellites (e.g.Eutelsat 10E) are located. Are all the positions correct?
Now refine the positions. Look in the Epoch column, E and pick a similar number to the numbers shown. Enter this in box T1. The satellites will now move around drastically. Find out the orbit position error, using a known satellite position (e.g. look at all EUTELSAT satellites with known nominal orbit positions) , and adjust box X1 value to fix the problem. I added -110.405 today. They will all move round together to correct place. Expect satellites to be +/- 0.2 deg either side of their nominal positions.
Now Data Sort the entire work area into orbit position order using column X.
Having got a result highlight some boxes. e.g. Y3:AB422 and copy and paste into some printing process. I tend to copy into new spreadsheet using "Paste Special, Text, Numbers (or Values)" and save as text file with "Filter" set to fixed column width so it looks nice on a web page, using fixed width characters like courier. You may alternatively use html code to make a table, such as <option value>, </option> etc. You choose...
Any problems, suggestions for improvements or comments, please e-mail me
Page started Nov 2014. Amended 13 Feb 2018