Sidereon.GNSS.PreciseEphemeris.PreciseInterpolantArtifact (Sidereon v0.30.0)

Copy Markdown View Source

Canonical precise-interpolant artifact facade.

This module delegates to Sidereon.GNSS.PreciseEphemeris.InterpolantArtifact and preserves the capability name used by the Rust, Python, wasm, and C bindings.

Summary

Functions

Build canonical artifact bytes from an SP3 product, an interpolant, or an opened artifact.

Return the artifact bytes backing an opened handle.

Return the artifact byte length.

Return the artifact checksum.

Read artifact bytes from disk and open them.

Open precise-interpolant artifact bytes.

Return the satellite ids available in the artifact.

Evaluate states for parallel satellite and epoch arrays.

Evaluate states for many satellites at one shared J2000-second epoch.

Return the source time-scale abbreviation.

Return the underlying interpolant handle.

Types

Functions

artifact_bytes(source)

@spec artifact_bytes(
  Sidereon.GNSS.SP3.t()
  | Sidereon.GNSS.PreciseEphemeris.Interpolant.t()
  | t()
) ::
  {:ok, binary()} | {:error, term()}

Build canonical artifact bytes from an SP3 product, an interpolant, or an opened artifact.

as_bytes(artifact)

@spec as_bytes(t()) :: {:ok, binary()} | {:error, term()}

Return the artifact bytes backing an opened handle.

byte_len(artifact)

@spec byte_len(t()) :: {:ok, non_neg_integer()} | {:error, term()}

Return the artifact byte length.

checksum64(source)

@spec checksum64(source()) :: {:ok, non_neg_integer()} | {:error, term()}

Alias for checksum/1.

checksum(source)

@spec checksum(source()) :: {:ok, non_neg_integer()} | {:error, term()}

Return the artifact checksum.

from_bytes(bytes)

@spec from_bytes(binary()) :: {:ok, t()} | {:error, term()}

Alias for open/1.

from_path(path)

@spec from_path(String.t()) :: {:ok, t()} | {:error, term()}

Read artifact bytes from disk and open them.

open(bytes)

@spec open(binary()) :: {:ok, t()} | {:error, term()}

Open precise-interpolant artifact bytes.

satellite_ids(artifact)

@spec satellite_ids(t()) :: [String.t()]

Return the satellite ids available in the artifact.

satellites(artifact)

@spec satellites(t()) :: [String.t()]

Alias for satellite_ids/1.

states_at_j2000_s(artifact, satellites, epochs_j2000_s)

@spec states_at_j2000_s(t(), [String.t()], [number()]) ::
  {:ok, Sidereon.GNSS.PreciseEphemeris.StateBatch.t()} | {:error, term()}

Evaluate states for parallel satellite and epoch arrays.

states_at_shared_j2000_s(artifact, satellites, epoch_j2000_s)

@spec states_at_shared_j2000_s(t(), [String.t()], number()) ::
  {:ok, Sidereon.GNSS.PreciseEphemeris.StateBatch.t()} | {:error, term()}

Evaluate states for many satellites at one shared J2000-second epoch.

time_scale(artifact)

@spec time_scale(t()) :: String.t()

Return the source time-scale abbreviation.

to_interpolant(artifact)

@spec to_interpolant(t()) :: Sidereon.GNSS.PreciseEphemeris.Interpolant.t()

Return the underlying interpolant handle.