Object-Oriented Python and SPICE
Project description
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(638.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rms_oops-0.2.0-py3-none-any.whl
(499.3 kB
view details)
File details
Details for the file rms_oops-0.2.0.tar.gz.
File metadata
- Download URL: rms_oops-0.2.0.tar.gz
- Upload date:
- Size: 638.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75acccfbc606c1f26417f2c804ed55c0ddb971e5708e2d5927aadd01825458f4
|
|
| MD5 |
be5ea95a073756b9a090f1986e4aacb5
|
|
| BLAKE2b-256 |
a49a5595fce0c2a4dc8fdcd156ca9b3baf06dede93930bbb846b114b65f46193
|
File details
Details for the file rms_oops-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rms_oops-0.2.0-py3-none-any.whl
- Upload date:
- Size: 499.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eecdc529f03524085f0c01c574e9a062766866a14cadcd45de7d62c56579f4d5
|
|
| MD5 |
cd7ca2f3fe775d50891ea61a2bb68ab9
|
|
| BLAKE2b-256 |
cdc630c142923b9e9601bfcac0fdd5e60e0164f394739d50fc9cf9a4545ed388
|