Skip to main content

Object-Oriented Python and SPICE

Project description

GitHub release; latest by date GitHub Release Date Test Status Code coverage
PyPI - Version PyPI - Format PyPI - Downloads PyPI - Python Version
GitHub commits since latest release GitHub commit activity GitHub last commit
Number of GitHub open issues Number of GitHub closed issues Number of GitHub open pull requests Number of GitHub closed pull requests
GitHub License Number of GitHub stars GitHub forks

rms-oops

This package is under development. Use with extreme caution.

Environment Variables

  • OOPS_RESOURCES: The top-level directory containing all files needed by OOPS. Unless overriden as described below, this environment variable is the only one that needs to be set. It is expected that the specified directory will contain the subdirectories:
    • SPICE: SPICE kernels and associated database.
    • HST: Reference and calibration files required for HST.
    • JWST: Reference and calibration files required for JWST.
    • gold_master: Gold master files for host tests.
    • test_data: Test input files.
  • SPICE_PATH: The location of the SPICE kernel files; defaults to ${OOPS_RESOURCES}/SPICE.
  • SPICE_SQLITE_DB_NAME: The full path and filename of the SPICE SQlite database; defaults to ${SPICE_PATH}/SPICE.db.
  • OOPS_TEST_DATA_PATH: The location of the oops test files; defaults to ${OOPS_RESOURCES}/test_data.
  • OOPS_GOLD_MASTER_PATH: The location of the oops gold master test files; defaults to ${OOPS_RESOURCES}/gold_master.
  • OOPS_BACKPLANE_OUTPUT_PATH: The output path to use when writing backplanes for gold master tests; defaults to the current directory.
  • HST_IDC_PATH: The location of HST IDC files; defaults to ${OOPS_RESOURCES}/HST/IDC.
  • HST_SYN_PATH: The location of HST SYN files; defaults to ${OOPS_RESOURCES}/HST/SYN.

Running Tests

  • To run the main oops unit tests:
python -m unittest tests/unittester.py
  • To run the host tests including golden master tests:
python -m unittest tests/hosts/unittester.py
  • To run the main oops unit tests and the host tests:
python -m unittest tests/unittester_with_hosts.py
  • To run the gold master tests for one instrument with the ability to specify command line options:
export PYTHONPATH=.
python tests/hosts/cassini/iss/gold_master.py --help
python tests/hosts/galileo/ssi/gold_master.py --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rms_oops-0.1.2.tar.gz (643.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rms_oops-0.1.2-py3-none-any.whl (503.2 kB view details)

Uploaded Python 3

File details

Details for the file rms_oops-0.1.2.tar.gz.

File metadata

  • Download URL: rms_oops-0.1.2.tar.gz
  • Upload date:
  • Size: 643.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rms_oops-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b332f2d4797a2d51004026cad3e5b8f4950785b53f84bd65647a16db2324eb69
MD5 891d06ac6bd42c123f2d0423ae8a04a1
BLAKE2b-256 0041f0cde33463c4fe5eeb0e24d1f5cdac2e4154ee71fcdf20adaa3cd4ff5330

See more details on using hashes here.

File details

Details for the file rms_oops-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rms_oops-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 503.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rms_oops-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8ca3b679c59ec0ab0bc318f76176de37eee46bb8ab28f4b34c884880045713
MD5 6cc074782634b32fb661231677f2069e
BLAKE2b-256 8adbf2c09a55d24331779abf1baa0be072c6a4bf090c828a8c08143a8dfe67d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page