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/Bdoc25a_2864802_2001066/tp2aa6a2fe/aero-ex20368314/aeroiersdata20250201.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/Bdoc25a_2864802_2001066/tp2aa6a2fe/aero-ex20368314/aeroiersdata20250201.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

Version History

Introduced in R2017b