semread
Reading data from the SEM almanac file.
| Library |
|
Syntax
Function call
-
data,title = semread(filename,GPSWeekEpoch=refdate)— sets the starting date from which the week number in the Global Positioning System (GPS) is counted in the SEM almanac file.
Arguments
Input arguments
# filename is the name of the SEM almanac file
+
line
Details
The name of the SEM almanac file for reading data, set as a string. The file name can contain an absolute path, a relative path, or no path at all. The file name may also include an extension.
| Типы данных |
|
# GPSWeekEpoch — countdown date
+
"06-Jan-1980" | "21-Aug-1999" | "06-Apr-2019"
Details
The reference date set as a format string DateTime, from which the GPS number of the week is calculated in the SEM almanac file.
These dates are repeated every 1024 weeks, starting on January 6, 1980 at 00:00 (UTC). The default value is the date and time string, which matches the last date of the GPS week number transfer before the current day.
| Типы данных |
|
Output arguments
# data — parameters of each satellite
+
tabular data
Details
The parameters of each satellite returned as tabular data, where each row corresponds to a separate record, and each column corresponds to a parameter of this record. For more information on determining the parameters of the SEM almanac, see table 40-II of the ICD-GPS-240D standard [2].
| Parameters | Data type | Description |
|---|---|---|
|
|
The time according to the GPS clock, calculated using the parameters |
|
|
GPS week number. This is a continuous number, not |
|
|
The number of seconds since the beginning of the GPS week |
|
|
The number of the satellite’s pseudorandom code |
|
|
Satellite identification number |
|
|
The average value of the accuracy of determining the range for the user (User Range Accuracy, URA) of the satellite |
|
|
The eccentricity of the orbit |
|
|
Deviation of the angle of inclination from |
|
|
Rate of change of right ascension, in semicircles per second |
|
|
The square root of the semimajor axis, in m1/2 |
|
|
Geographical longitude of the orbital plane at the time of the weekly epoch, in semicircles |
|
|
The angle from the equator to the perigee, in semicircles |
|
|
The angular position of the satellite in orbit relative to perigee, in semicircles |
|
|
Zero-order correction to satellite clock readings, in seconds |
|
|
First-order correction to satellite clock readings, in seconds per second |
|
|
Satellite status (serviceability) code |
|
|
Satellite configuration code |
| Типы данных |
|
# title — the title of the almanac
+
line
Details
The title of the almanac, returned as a string.
| Типы данных |
|
Recommendations
To download the SEM Almanac files from the website NAVCEN for the current date, it is necessary to specify a date two days earlier than the current one, since the moment of GPS data applicability occurs approximately 70 hours after the transmission time of the almanac dataset.
Literature
-
Science Applications International Corporation. NAVSTAR GPS Space Segment/Navigation User Interfaces. IS-GPS-200M. Los Angeles, CA: United States Space Force Space Systems Command, approved May 21, 2021. https://www.navcen.uscg.gov/sites/default/files/pdf/gps/IS_GPS_200M.pdf.
-
Science Applications International Corporation. NAVSTAR GPS Space Segment/Navigation User Interfaces. ICD-GPS-240D. Los Angeles, CA: United States Space Force Space Systems Command, approved May 21, 2021. https://www.navcen.uscg.gov/sites/default/files/pdf/gps/ICD_GPS_240D.pdf.
-
United States Coast Guard. GPS Almanacs, NANUs, and OPS Advisories Archives. US Coast Guard Navigation Center. Accessed May 6, 2022. https://www.navcen.uscg.gov/archives.