-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sexagesimal positions #175
Comments
this is related to the library mentioned in #72 (comment) - so note the conversion should be done on the client side |
Just to provide a quick update on this task. I have been working with a fork on TSOFA, the transpiled TS version of the SOFA C library. AstroLib is planned to be build on contemporary principles such as ECMA Script Modulse -ES Modules, or ESM for short. Working with TSOFA wasn't particularly harmonious as this was based on CommonJS. The documentation suggests that it is possible for these standards to interoperate, but in practice this is not ideal. As we contol the code for both TSOFA and AstroLib, it made reasonable sense to bring TSOFA up-to-date. This work breaks into two tasks, 1. re-engineer TSOFA so that it is ESM compliant and (due it being built in TS) with build into JavaScript using TSC. 2. switch the testing fromework from TestyTS to the significantly better supported Jest. I have now completed both of these tasks. Remaining work on TSOFA: Next tasks for this issue: |
Currently shown as degrees, which apparently some databases use instead of time. Do we need a conversion tool between hh:mm:ss and degrees, which will probably have rounding errors, so need to think about comparison with other databases. Which one will we store?
Also, maybe allow user to enter either, then calculate and present the other on the ui too.
The text was updated successfully, but these errors were encountered: