-
Notifications
You must be signed in to change notification settings - Fork 2
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
any test case? #2
Comments
Hello, Thank you to give a try to sg2. To use I will update the documentation but, as developer you should setup your sources directory using autoreconf, libtoollize and other autotools. Once this is done you must use configure to generate makefiles for you own computer/setup, then you will be able to generate sg2-2.3.0.tar.gz by running The sg2-2.3.0.tar.gz is package crafted for source distribution to end users, it is not for developers. it include the generated As user of python you can install pre-build wheel using:
Currently there is no public test to check if sg2 is working, we expect to provide some sanity test in future, but currently our test need human expertise and aren't fully automated. In the meanwhile you can compare your result with the result you can get from pre-build binaries. I will leave the issue open to track the implementation of test. Best regards |
I've tested the
However, the result of SPA calculated by nrel is:
Output of two algorithms differs a lot. |
Hello, I do not get the same result as you even if gamma_S0 seems little bit different, maybe due to refraction correction.
Note that the sun rise equation get some fixes, the output of sg2 is in universal time. |
Managed to find some ground truth data at https://aa.usno.navy.mil/data/AltAz , returned sun position for upon test case is:
Both SPA and SG2 is not correct for sun elevation angle. The ERFA enabled |
Hello, I did compared the result you provided from https://aa.usno.navy.mil/data/AltAz with the attached python script and I get quite close match as show in the attached plot. note that aa.usno.navy.mil seems to be computed data.
|
After clone the source code, I managed to rebuild the "configure" file used in
build-wheel.sh
in given docker container by:autoreconf -fiv
However, the build-wheel.sh failed at:
./configure --with-pic CXXFLAGS="-O3" CFLAGS="-O3"
Why the
build-wheel.sh
must run directory extracted from "sg2-2.3.0.tar.gz" ?Can you append test cases on sun_position and sun_rise so that users of SG2 can verify the building process is correct?
The text was updated successfully, but these errors were encountered: