Coder Social home page Coder Social logo

smithsonian / supernovas Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 2.0 6.55 MB

The Naval Observatory NOVAS C astrometry library, made better

Home Page: https://smithsonian.github.io/SuperNOVAS/

License: The Unlicense

C 96.16% Fortran 1.17% Makefile 1.62% CSS 0.47% HTML 0.59%
positional-astronomy astronomy astrometry astronomy-library astronomy-software c-language c-programming-language observatory

supernovas's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lacgit hannorein

supernovas's Issues

should it need doxygen by default?

A default

 make

told me I needed doxygen. Should there be a default make that just compiles? Of course it worked after I installed it, but I'd like to argue the default should not.

Numerical value of AU

Not a huge issue, but do you have any thought on whether it would make sense to update the value of AU to the one adopted by the IAU? It's not a huge difference...

149597870.7 
149597870.69098932

Changes to build to make packaging easier

As we are planning to package SuperNOVAS for Debian and RPMFusion, we will probably want to update the build to make it
easier, e.g.:

  • Use CFLAGS / LDFLAGS defined externally (without editing config.mk).

  • Set CIO locator file location externally (without editing config.mk).

  • Add lib/supernovas.so target (with possibly versioned name).

  • Add lib/solsys1.so and lib/solsys2.so targets (bundling the related objects together).

  • It's strongly encouraged to add a version to SONAME (even if the .so file name does not contain the version itself). Downstream packaging will typically want it.

Typo in example

I easily get confused with times systems but I think there is a typo in this example in the documentation:

// Calculate the Terrestrial Time (TT) based Julian date of observation (in days)
// Let's say on 2024-02-06 at 14:53:06 UTC.
double jd_tt = julian_date(2024, 2, 6, 14.885) + get_utc_to_tt(leap_seconds) / 86400.0; 
 
// We'll also need the TT - UT1 difference, which we can obtain from what we already
// defined above
double ut1_to_tt = get_ut1_to_tt(jd_tt, dut1);

The first argument to get_ut1_to_tt in the example is TT, but I think it should be leap_seconds according to the documentation of the function itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.