rms-oops


Namerms-oops JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryObject-Oriented Python and SPICE
upload_time2024-12-17 19:58:07
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseApache-2.0
keywords oops
VCS
bugtrack_url
requirements astropy coverage cspyce numpy Pillow pyparsing rms-fpzip rms-filecache rms-interval rms-julian rms-pdsparser rms-pdstable rms-polymath rms-solar rms-tabulation rms-vax rms-vicar scipy
Travis-CI No Travis.
coveralls test coverage
            [![GitHub release; latest by date](https://img.shields.io/github/v/release/SETI/rms-oops)](https://github.com/SETI/rms-oops/releases)
[![GitHub Release Date](https://img.shields.io/github/release-date/SETI/rms-oops)](https://github.com/SETI/rms-oops/releases)
[![Test Status](https://img.shields.io/github/actions/workflow/status/SETI/rms-oops/run-tests.yml?branch=main)](https://github.com/SETI/rms-oops/actions)
[![Code coverage](https://img.shields.io/codecov/c/github/SETI/rms-oops/main?logo=codecov)](https://codecov.io/gh/SETI/rms-oops)
<br />
[![PyPI - Version](https://img.shields.io/pypi/v/rms-oops)](https://pypi.org/project/rms-oops)
[![PyPI - Format](https://img.shields.io/pypi/format/rms-oops)](https://pypi.org/project/rms-oops)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/rms-oops)](https://pypi.org/project/rms-oops)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rms-oops)](https://pypi.org/project/rms-oops)
<br />
[![GitHub commits since latest release](https://img.shields.io/github/commits-since/SETI/rms-oops/latest)](https://github.com/SETI/rms-oops/commits/main/)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/SETI/rms-oops)](https://github.com/SETI/rms-oops/commits/main/)
[![GitHub last commit](https://img.shields.io/github/last-commit/SETI/rms-oops)](https://github.com/SETI/rms-oops/commits/main/)
<br />
[![Number of GitHub open issues](https://img.shields.io/github/issues-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/issues)
[![Number of GitHub closed issues](https://img.shields.io/github/issues-closed-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/issues)
[![Number of GitHub open pull requests](https://img.shields.io/github/issues-pr-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/pulls)
[![Number of GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/pulls)
<br />
![GitHub License](https://img.shields.io/github/license/SETI/rms-oops)
[![Number of GitHub stars](https://img.shields.io/github/stars/SETI/rms-oops)](https://github.com/SETI/rms-oops/stargazers)
![GitHub forks](https://img.shields.io/github/forks/SETI/rms-oops)

# 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:

```sh
python -m unittest tests/unittester.py
```

- To run the host tests including golden master tests:

```sh
python -m unittest tests/hosts/unittester.py
```

- To run the main oops unit tests and the host tests:

```sh
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:

```sh
export PYTHONPATH=.
python tests/hosts/cassini/iss/gold_master.py --help
python tests/hosts/galileo/ssi/gold_master.py --help
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rms-oops",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "\"Robert S. French\" <rfrench@seti.org>, \"Joseph N. Spitale\" <jspitale@seti.org>",
    "keywords": "oops",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/a5/05/6e48e1eab4d05fbba620f2b7544dd6ed0c2eca26437a9711df8ecbb55891/rms_oops-0.1.0.tar.gz",
    "platform": null,
    "description": "[![GitHub release; latest by date](https://img.shields.io/github/v/release/SETI/rms-oops)](https://github.com/SETI/rms-oops/releases)\n[![GitHub Release Date](https://img.shields.io/github/release-date/SETI/rms-oops)](https://github.com/SETI/rms-oops/releases)\n[![Test Status](https://img.shields.io/github/actions/workflow/status/SETI/rms-oops/run-tests.yml?branch=main)](https://github.com/SETI/rms-oops/actions)\n[![Code coverage](https://img.shields.io/codecov/c/github/SETI/rms-oops/main?logo=codecov)](https://codecov.io/gh/SETI/rms-oops)\n<br />\n[![PyPI - Version](https://img.shields.io/pypi/v/rms-oops)](https://pypi.org/project/rms-oops)\n[![PyPI - Format](https://img.shields.io/pypi/format/rms-oops)](https://pypi.org/project/rms-oops)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/rms-oops)](https://pypi.org/project/rms-oops)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rms-oops)](https://pypi.org/project/rms-oops)\n<br />\n[![GitHub commits since latest release](https://img.shields.io/github/commits-since/SETI/rms-oops/latest)](https://github.com/SETI/rms-oops/commits/main/)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/SETI/rms-oops)](https://github.com/SETI/rms-oops/commits/main/)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SETI/rms-oops)](https://github.com/SETI/rms-oops/commits/main/)\n<br />\n[![Number of GitHub open issues](https://img.shields.io/github/issues-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/issues)\n[![Number of GitHub closed issues](https://img.shields.io/github/issues-closed-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/issues)\n[![Number of GitHub open pull requests](https://img.shields.io/github/issues-pr-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/pulls)\n[![Number of GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/SETI/rms-oops)](https://github.com/SETI/rms-oops/pulls)\n<br />\n![GitHub License](https://img.shields.io/github/license/SETI/rms-oops)\n[![Number of GitHub stars](https://img.shields.io/github/stars/SETI/rms-oops)](https://github.com/SETI/rms-oops/stargazers)\n![GitHub forks](https://img.shields.io/github/forks/SETI/rms-oops)\n\n# rms-oops\n\nThis package is under development. Use with extreme caution.\n\n# Environment Variables\n\n- `OOPS_RESOURCES`: The top-level directory containing all files needed by OOPS. Unless\n  overriden as described below, this environment variable is the only one that needs to be\n  set. It is expected that the specified directory will contain the subdirectories:\n  - `SPICE`: SPICE kernels and associated database.\n  - `HST`: Reference and calibration files required for HST.\n  - `JWST`: Reference and calibration files required for JWST.\n  - `gold_master`: Gold master files for host tests.\n  - `test_data`: Test input files.\n- `SPICE_PATH`: The location of the SPICE kernel files; defaults to\n  `${OOPS_RESOURCES}/SPICE`.\n- `SPICE_SQLITE_DB_NAME`: The full path and filename of the SPICE SQlite database;\n  defaults to `${SPICE_PATH}/SPICE.db`.\n- `OOPS_TEST_DATA_PATH`: The location of the oops test files; defaults to\n  `${OOPS_RESOURCES}/test_data`.\n- `OOPS_GOLD_MASTER_PATH`: The location of the oops gold master test files; defaults to\n  `${OOPS_RESOURCES}/gold_master`.\n- `OOPS_BACKPLANE_OUTPUT_PATH`: The output path to use when writing backplanes\n  for gold master tests; defaults to the current directory.\n- `HST_IDC_PATH`: The location of HST IDC files; defaults to\n  `${OOPS_RESOURCES}/HST/IDC`.\n- `HST_SYN_PATH`: The location of HST SYN files; defaults to\n  `${OOPS_RESOURCES}/HST/SYN`.\n\n# Running Tests\n\n- To run the main oops unit tests:\n\n```sh\npython -m unittest tests/unittester.py\n```\n\n- To run the host tests including golden master tests:\n\n```sh\npython -m unittest tests/hosts/unittester.py\n```\n\n- To run the main oops unit tests and the host tests:\n\n```sh\npython -m unittest tests/unittester_with_hosts.py\n```\n\n- To run the gold master tests for one instrument with the ability to specify command\n  line options:\n\n```sh\nexport PYTHONPATH=.\npython tests/hosts/cassini/iss/gold_master.py --help\npython tests/hosts/galileo/ssi/gold_master.py --help\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Object-Oriented Python and SPICE",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/SETI/rms-oops",
        "Issues": "https://github.com/SETI/rms-oops/issues",
        "Repository": "https://github.com/SETI/rms-oops",
        "Source": "https://github.com/SETI/rms-oops"
    },
    "split_keywords": [
        "oops"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f00a43fe1ff2f6d962d644661d4e786ae569da280fa1cfee1d464a9d8d41e4c",
                "md5": "cce207c3eda869e09bbc67068296061e",
                "sha256": "b9aa27a8e74047f960f6f4c1c18e75c3fef7a7788d53536200f4f4c37e9b13fa"
            },
            "downloads": -1,
            "filename": "rms_oops-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cce207c3eda869e09bbc67068296061e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 501285,
            "upload_time": "2024-12-17T19:58:05",
            "upload_time_iso_8601": "2024-12-17T19:58:05.191713Z",
            "url": "https://files.pythonhosted.org/packages/8f/00/a43fe1ff2f6d962d644661d4e786ae569da280fa1cfee1d464a9d8d41e4c/rms_oops-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5056e48e1eab4d05fbba620f2b7544dd6ed0c2eca26437a9711df8ecbb55891",
                "md5": "09eeab1a8865ade23c57a9592709233f",
                "sha256": "3e68b6a7a098870acd950d6098c77d0041607852a1dca00ab514d47f118ab75b"
            },
            "downloads": -1,
            "filename": "rms_oops-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "09eeab1a8865ade23c57a9592709233f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 642240,
            "upload_time": "2024-12-17T19:58:07",
            "upload_time_iso_8601": "2024-12-17T19:58:07.778504Z",
            "url": "https://files.pythonhosted.org/packages/a5/05/6e48e1eab4d05fbba620f2b7544dd6ed0c2eca26437a9711df8ecbb55891/rms_oops-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 19:58:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SETI",
    "github_project": "rms-oops",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "astropy",
            "specs": []
        },
        {
            "name": "coverage",
            "specs": []
        },
        {
            "name": "cspyce",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "Pillow",
            "specs": []
        },
        {
            "name": "pyparsing",
            "specs": []
        },
        {
            "name": "rms-fpzip",
            "specs": []
        },
        {
            "name": "rms-filecache",
            "specs": [
                [
                    ">=",
                    "2.0.3"
                ]
            ]
        },
        {
            "name": "rms-interval",
            "specs": []
        },
        {
            "name": "rms-julian",
            "specs": []
        },
        {
            "name": "rms-pdsparser",
            "specs": []
        },
        {
            "name": "rms-pdstable",
            "specs": []
        },
        {
            "name": "rms-polymath",
            "specs": []
        },
        {
            "name": "rms-solar",
            "specs": []
        },
        {
            "name": "rms-tabulation",
            "specs": []
        },
        {
            "name": "rms-vax",
            "specs": []
        },
        {
            "name": "rms-vicar",
            "specs": []
        },
        {
            "name": "scipy",
            "specs": []
        }
    ],
    "lcname": "rms-oops"
}
        
Elapsed time: 0.39804s