Main Content

aeroReadIERSData

File containing current International Astronomical Union (IAU) 2000A Earth orientation data

Description

file = aeroReadIERSData(foldername) creates a MAT file, file, based on IAU 2000A Earth orientation data from the International Earth Rotation and Reference Systems Service (IERS). It saves the file to foldername. file name has the format aeroiersdataYYYYMMDD.mat, where:

  • YYYY - Year

  • MM - Month

  • DD - Day

file = aeroReadIERSData(foldername,'url',urladdress) creates the MAT file based on Earth orientation data from a specific web site or data file.

example

Examples

collapse all

This example shows how to create the Earth orientation file for the current day or a specified website.

Create File from Specified Website

Create the Earth orientation file for the current day, in the current folder, using data from the default https://maia.usno.navy.mil/ser7/finals2000A.data website.

aeroReadIERSData(pwd)
ans = 
'/tmp/Bdoc24b_2679053_4032461/tp5c11b0aa/aero-ex20368314/aeroiersdata20240720.mat'

Create File from Specified Website

Create the Earth orientation file for the current day, in the current folder, using data from the alternate https://datacenter.iers.org/data/latestVersion/10_FINALS.DATA_IAU2000_V2013_0110.txt website.

aeroReadIERSData(pwd,'url','https://datacenter.iers.org/data/latestVersion/10_FINALS.DATA_IAU2000_V2013_0110.txt')
ans = 
'/tmp/Bdoc24b_2679053_4032461/tp5c11b0aa/aero-ex20368314/aeroiersdata20240720.mat'

Create the Earth orientation file for the current day, in the current folder, using data from a specified file file:///C:\Documents\final2000A.data.

aeroReadIERSData(pwd,'url','file:///C:\Documents\finals2000A.data')

Input Arguments

collapse all

Folder for IERS data file, specified as a character array or string. Before running this function, create foldername with write permission.

Data Types: char | string

Optional web site or file containing the IAU 2000A Earth orientation data, specified as a web site address or file name.

Note

If you receive an error message while accessing the default site, use one of these alternate sites:

  • https://datacenter.iers.org/data/latestVersion/10_FINALS.DATA_IAU2000_V2013_0110.txt

  • ftp://ftp.iers.org/products/eop/rapid/standard/finals2000A.data

Example: https://datacenter.iers.org/data/latestVersion/10_FINALS.DATA_IAU2000_V2013_0110.txt

Data Types: char | string

Output Arguments

collapse all

Location of Earth orientation data MAT file, specified as a character array.

More About

collapse all

International Astronomical Union (IAU) 2000A Earth Orientation Data Format

The function expects the International Astronomical Union (IAU) 2000A Earth orientation data to use the format referenced here https://maia.usno.navy.mil/ser7/finals2000A.data:

ColumnDescription
1 to 2Year (to get true calendar year, add 1900 for MJD<=51543 or add 2000 for MJD>=51544)
3 to 4Month number
5 to 6Day of month
7Blank
8 to 15Fractional modified Julian date (MJD UTC)
16Blank
17IERS (I) or Prediction (P) flag for Bull. A polar motion values*
18Blank
19 to 27Bull. A PM-x (sec. of arc)*
28-36Error in PM-x (sec. of arc)*
37Blank
38-46Bull. A PM-y (sec. of arc)*
47-55Error in PM-y (sec. of arc)*
56-57Blank
58IERS (I) or Prediction (P) flag for Bulletin A UT1-UTC values*
59-68Bull. A UT1-UTC (sec. of time)*
69-78Error in UT1-UTC (sec. of time)*
79Blank
80-86Bull. A LOD (msec. of time) -- not always filled*
87-93Error in LOD (msec. of time) -- not always filled*
94-95Blank
96IERS (I) or Prediction (P) flag for Bull. A nutation values*
97Blank
98-106Bull. A dX wrt IAU2000A nutation (msec. of arc), free core nutation not removed*
107-115Error in dX (msec. of arc)
116Blank
117-125Bull. A dY wrt IAU2000A nutation (msec. of arc), free core nutation not removed*
126-134Error in dY (msec. of arc)
135-144Bull. B PM-x (sec. of arc)*
145-154Bull. B PM-x (sec. of arc)*
155-165Bull. B UT1-UTC (sec. of time)*
166-175Bull. B dX wrt IAU2000A nutation (msec. of arc)*
176-185Bull. B dY wrt IAU2000A nutation (msec. of arc)*

* Abbreviated terms:

  • Bull. — Bulletin

  • LOD — Length of day

  • wrt — With regard to

  • pm — Polar motion

Version History

Introduced in R2017b