Due: in lab, October 17, 2003.
Given:
Satellite clock corrections are stored in yet another RINEX file, which is called the navigation message (the navigation message also includes the Keplerian elements, but we won't talk about those for a few more weeks). The navigation message is also called the broadcast ephemeris from time to time.
In this homework you will compute the satellite clock corrections by first reading the navigation message, then making the appropriate calculations. This web site will be useful for explaining the satellite clock corrections.
Your computer program:
You should have a main program that reads the navigation message. Subsequently you should define the time for which you want the clock correction. Then call a function that takes as input the PRN number and time for which you want the correction. The parameters read from the navigation message can be sent explicitly to the function or you can use a global variable.
Calculate the satellite clock correction - in meters - for PRN 2, 4, and 24 for this time:
Turn in your satellite clock function code and the satellite clock corrections for PRN 2, 4, and 24 in meters. Print these to a precision of at least 1 mm. There will be a mandatory deduction of 15 points if your satellite clock correction isn't determined inside a function in units of meters.