View Source SpaceDust.Data.EOP (Space Dust v0.1.0)

Earth Orientation Parameters (EOP) data - ref https://hpiers.obspm.fr/eoppc/bul/bulb/explanatory.html

Summary

Functions

get the EOP data at a given MJD, interpolating between the closest two data points

interpolate between two EOP data points at a given MJD

parse an entire EOP data file

pull EOP data from the IERS - realistically only needed once a year, or at container start

save EOP data to a file

Functions

getEopData(mjd)

get the EOP data at a given MJD, interpolating between the closest two data points

interpolateBetween(priorEop, futureEop, mjd)

interpolate between two EOP data points at a given MJD

parseEopData(lines)

parse an entire EOP data file

parseEopLine(line)

pullEOPData()

@spec pullEOPData() :: {:error, String.t()} | {:ok, list()}

pull EOP data from the IERS - realistically only needed once a year, or at container start

readSavedEopData()

@spec readSavedEopData() :: {:error, atom()} | {:ok, [binary()]}

saveEopData(lines)

@spec saveEopData(any()) :: {:error, atom()}

save EOP data to a file