planetarypy-hirise
MRO HiRISE support for planetarypy.
pip install planetarypy-hirise # pure-Python half
pip install planetarypy-hirise[isis] # + the ISIS mosaic pipeline
or, equivalently, from core's extra:
pip install planetarypy[hirise]
The import path is unchanged
Code written against core's in-tree HiRISE module keeps working verbatim:
from planetarypy.instruments.mro.hirise import get_browse, get_metadata
planetarypy.instruments and planetarypy.instruments.mro are PEP 420 namespace
packages — neither carries an __init__.py — so core and this package contribute
modules to the same dotted path. Never add an __init__.py at either level, in
either distribution; it converts them back to regular packages and the split breaks.
What is here, and what stayed in core
Core keeps the declarative catalog knowledge: the index registry entries for
mro.hirise.{edr,rdr,dtm} and the mission/instrument name maps. A core-only
install can therefore still run plp indexes peek mro.hirise.edr,
plp fetch mro.hirise.edr, and find HiRISE in the catalog without this package.
This package adds the behaviour:
| browse images | browse_url, get_browse |
| metadata | get_metadata, format_meta, sun_azimuth_from_top |
| EDR products | SOURCE_PRODUCT, RED_PRODUCT, edr_products, download_edr |
| GeoTIFF conversion | jp2_to_geotiff |
ISIS pipeline ([isis]) |
ingest_edr, calibrate_channel, stitch_channels, map_project, create_mosaic, create_mosaics, create_red_mosaic |
CLI
Installing this package adds four verbs to plp, via the
planetarypy.cli_plugins entry point:
plp hibrowse OBSID download a browse JPEG from EXTRAS
plp hiedr OBSID download EDR channel products
plp himos OBSID build a CCD mosaic via ISIS
plp hitif FILE.JP2 convert a projected JP2 to GeoTIFF in an official IAU CRS
How the plugin registers
planetarypy_hirise.cli:register is the entry point core calls on every plp
invocation. It imports planetarypy.instruments.mro.hirise at module load,
which is load-bearing rather than incidental: that import runs
register_storage_resolver and register_meta_handler, so plp meta mro.hirise.edr finds the HiRISE row formatter. Core removed its hard-coded
fallback for that lookup when HiRISE moved out, so making the import lazy would
silently regress plp meta to a generic two-column dump.
License
BSD-3.
Metadata
Release files for planetarypy-hirise 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| planetarypy_hirise-0.2.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| planetarypy_hirise-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.6 kB
Release files / planetarypy_hirise-0.2.0.tar.gz
| Download URL | planetarypy_hirise-0.2.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
994692584331bb2aedb46a08e25f2a83e4b2ce5476eacf85ca3b166c378b8af1
|
|
BLAKE2b-256 checksum How to use checksums |
2ff83af20f54f56fdf7feb2613bf25419f595c80bf75bef3abc4053c50eec4ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / planetarypy_hirise-0.2.0-py3-none-any.whl
| Download URL | planetarypy_hirise-0.2.0-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a237b17e2c761463525eca1a0bdaa3de382c89de01fddd1c3da02c60ec211da
|
|
BLAKE2b-256 checksum How to use checksums |
308ca6bc6e13dd9a769ea1249505f676107a4b8a4216774af4fe6238e178a803
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|