Skip to content

Degree notation examples are invalid #4271

@gmart7t2

Description

@gmart7t2

These two examples in the docs are invalid:

Image

Trying to view those two SATs gives this error message:

Invalid URL: failed to parse sat `1°1′0″0‴`: relationship between epoch offset and period offset must be multiple of 336

Invalid URL: failed to parse sat `1°0′1″0‴`: relationship between epoch offset and period offset must be multiple of 336

The message itself is a bit confusing. What "relationship" is it talking about?

Looking at the code, the relationship it enforces is that the 2nd and 3rd numbers in degree notation must differ by a multiple of 336. So maybe this is a better error message:

difference between epoch offset and period offset must be multiple of 336

1°2016′0″0‴ (rare, epoch 6) and 1°0′336″0‴ (epic, epoch 7) would make better examples.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions