Hipparcos star catalog loader and lookup.
Parses stars/hip_main.dat under the configured kernel base directory on first
use and caches the result in :persistent_term for fast read-heavy access.
Rows with blank RA, Dec, or Vmag are skipped (incomplete Hipparcos solutions);
they are never stored as phantom (0°, 0°) positions.
Summary
Functions
Returns every valid parsed star record (incomplete catalog rows excluded).
Returns star records for all configured significant stars that exist in the catalog.
Looks up a star by Hipparcos number.
Returns the configured HIP → traditional name map for significant stars.
Types
Functions
@spec all() :: [star_record()]
Returns every valid parsed star record (incomplete catalog rows excluded).
@spec all_significant() :: [star_record()]
Returns star records for all configured significant stars that exist in the catalog.
@spec lookup(integer()) :: {:ok, star_record()} | {:error, :not_found}
Looks up a star by Hipparcos number.
Returns {:ok, star_record} or {:error, :not_found}.
Returns the configured HIP → traditional name map for significant stars.