Klaus Brunner

Results 4 comments of Klaus Brunner

Looks like you're doing everything right and there's a bug. Original spa.c gives sunrise/sunset. Likely a loss of precision somewhere, as the sun rises only about 1° above the horizon...

SPA is effectively a condensed version of Meeus's AA, and it's worth keeping in mind what NOAA writes about this, emphasis mine: "The sunrise and sunset results are theoretically _accurate...

> If the `Class` that is being inspected is not in a jar that has a `/META-INF/MANIFEST.MF` file, the `getPackage` method returns `null`. And also if that MANIFEST.MF exists, but...

Issue identified and fixed in master. I'll publish a release soon, meanwhile there's a fresh snapshot at https://oss.sonatype.org/content/repositories/snapshots/net/e175/klaus/solarpositioning/