Metadata-Version: 2.4
Name: planetarypy-ctx
Version: 0.1.0
Summary: MRO CTX support for planetarypy: EDR products, the ISIS calibration pipeline, and quick-view.
Project-URL: Homepage, https://github.com/planetarypy/planetarypy-ctx
Project-URL: Repository, https://github.com/planetarypy/planetarypy-ctx
Author-email: Planetarypy Developers <69774+michaelaye@users.noreply.github.com>
License: BSD license
License-File: LICENSE
Keywords: ctx,mars,mro,planetary,planetarypy
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <4,>=3.11
Requires-Dist: loguru
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: planetarypy>=0.82.0
Requires-Dist: pooch
Requires-Dist: pvl
Requires-Dist: tomlkit
Requires-Dist: tqdm
Requires-Dist: yarl
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest-xdist; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: isis
Requires-Dist: geopandas; extra == 'isis'
Requires-Dist: hvplot; extra == 'isis'
Requires-Dist: kalasiris; extra == 'isis'
Description-Content-Type: text/markdown

# planetarypy-ctx

MRO CTX support for [planetarypy](https://github.com/planetarypy/planetarypy).

```bash
pip install planetarypy-ctx          # pure-Python half
pip install planetarypy-ctx[isis]    # + ISIS calibration, footprints, quick-view
```

or from core's extra:

```bash
pip install planetarypy[ctx]
```

## The import path is unchanged

```python
from planetarypy.instruments.mro.ctx import EDR, Calib, CTXCollection
```

`planetarypy.instruments` and `planetarypy.instruments.mro` are PEP 420 namespace
packages — neither carries an `__init__.py`. **Never add one at either level.**
`...mro.ctx` is a regular subpackage inside that namespace and keeps its own.

## What is here, and what stayed in core

Core keeps the declarative catalog knowledge — the `mro.ctx.edr` index registry
entry and the mission/instrument name maps — so a core-only install can still run
`plp indexes peek mro.ctx.edr` and `plp fetch mro.ctx.edr` **without this package**.

This package adds the behaviour: `EDR`, `get_edr_index`,
`product_id_from_serial_number`, `Calib`, `CTXCollection`, `calibrate_pid`,
`download_pid`, `do_footprintinit`, and `process_parallel`.

## CLI

```
plp ctxqv PID        quick-view a CTX product
plp ctx-migrate      migrate an older CTX storage layout
```

## License

BSD-3.
