Test cases based on Orekit
See original GitHub issueFrom https://github.com/poliastro/poliastro/wiki/Validation : Orekit is an open-source space dynamics library written in Java. A Python wrapper is maintained by @petrushy (https://gitlab.orekit.org/orekit-labs/python-wrapper), which allows to include Orekit in the test cases.
🎯 Goal
Validate poliastro against Orekit
📋 Steps
- Include Orekit as a dependency in [options.extras_require] in
setup.cfg
. Orekit is distributed only via conda, how can we proceed? - Import Orekit data files, which contain Earth Orientation Parameters, leap seconds history, etc. It is maintained in https://gitlab.orekit.org/orekit/orekit-data. There are several possibilities:
- Download it as a zip somewhere in the repo and let this method do the job: https://gitlab.orekit.org/orekit-labs/python-wrapper/blob/master/python_files/pyhelpers.py#L37
- Unzip the current version in a folder somewhere in the repo
- Have the Git repository synchronized as a submodule. Probably too much effort for the moment
- Do not store the data in the repo, download it when installing poliastro (dev), by including it in
setup.cfg
- Common for all four possibilities: where is it best to store the data? In a folder named
data
in the root folder? Or is it poliastro’s philosophy not to store any data in the repo? I did not see any SPICE kernel or anything in the repo, just code.
- Write test cases 😃 Given that Orekit requires to start a JVM, I would rather write the test cases in separate files, what do you think?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
src/test/java/org/orekit/estimation/sequential ...
Orekit is a free low level space dynamics library written in Java. It provides basic elements (orbits, dates, attitude, frames, .
Read more >Unitary tests for the numerical propagator (#96) · Issues
We propose to extract some use cases to improve OREKIT unitary tests. These tests would cover some of the more significant use cases...
Read more >src/test/java/org/orekit/estimation/iod/IodLaplaceTest.java
Estimate the orbit of ISS (ZARYA) based on Keplerian motion. 78. @Test. 79. public void testLaplaceKeplerian1() {.
Read more >Tutorials - Orekit
The tests suite is the first place to look for getting help with Orekit ... with the source code in order to emphazise...
Read more >Frequently Asked Questions (FAQ) - Orekit
Our tests show the new frames are compliant with reference cases to about 10mm for LEO and 60mm for GEO. The TLE package...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone tries to run the Orekit test cases (still in a private branch), beware that the Python wrapper does not work with doctest at the moment, the test cases will return errors&warnings. This is probably due to JCC, the issue is being investigated by the kind Petrus: https://issues.apache.org/jira/browse/PYLUCENE-51
@jorgepiloto started working on this as part of our NumFOCUS Small Development grant, see latest activity on https://github.com/poliastro/validation/. Thanks @GorgiAstro for pioneering this work! Closing