normalizeGliese

function normalizeGliese
universe/src/catalog/identity.ts:48
normalizeGliese(gliese: string) → string | null

Fold a Gliese designation into an id fragment: Gl 559A → GJ559A.

Gl and GJ are the same catalog written two ways and must not produce two different ids for one star — which they did, until a star that gained a GJ spelling in HYG v4.4 came back as a new system.

gliesestring
Undocumented
Returnsstring | null