A library to help process HiRISE EDRs with ISIS.
Project description
hiproc
A library to help process HiRISE EDRs with ISIS.
Free software: Apache 2 License
Features
TODO: Complete testing against Perl Pipelines.
External Dependencies
These programs use as much ‘vanilla’ Python 3 as possible.
However, it does depend on the following:
pvl library (https://pvl.readthedocs.io)
kalasiris library (https://kalasiris.readthedocs.io)
gdal
numpy
scipy
matplotlib
The HiJACK program also requires the resolveJitter program that is still buggy, and is not working reliably.
Warning !
The algorithms based on the HiRISE Processing Pipelines were emulated and tested locally, but the results of each pipeline have not been tested directly against the results of the HiRISE Processing Pipelines, and this warning will remain until I have done so. As a result, I would not particularly ‘trust’ anything produced by these programs at this time, and consider these algorithms a work-in-progress.
These programs have been tested against their upstream Perl counterparts:
- EDR_Stats: Verified!
Really just runs hi2isis so no surprise here.
- HiCal: Verified. (if HiGainFx() enabled)
Upstream is undergoing change. HiGainFx really shouldn’t be applied, so it is commented out here. We’re also working to integrate the bitflip cleaning into the upstream Perl, so this is in flux.
Contributing
Feedback, issues, and contributions are always gratefully welcomed. See the contributing guide for details on how to help and setup a development environment.
Naming
The ISIS software has a number of processing or “proc” programs (mocproc, thmproc, etc.) that are meant to be run to process raw images to higher-level, more usable versions. Naming this library hiproc is an echo to that. There is a hiproc program that is available after installation that provides a streamlined one-stop-program, but this package provides a great deal more.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
When updating this file, please add an entry for your change under Unreleased and one of the following headings:
Added - for new features.
Changed - for changes in existing functionality.
Deprecated - for soon-to-be removed features.
Removed - for now removed features.
Fixed - for any bug fixes.
Security - in case of vulnerabilities.
If the heading does not yet exist under Unreleased, then add it as a 3rd level heading, underlined with pluses (see examples below).
When preparing for a public release add a new 2nd level heading, underlined with dashes under Unreleased with the version number and the release date, in year-month-day format (see examples below).
Unreleased
0.6.1 (2021-03-23)
Added
lisfix will return a non-zero exit code if it chooses not to fix the input cube.
Changed
Updated documentation in various places.
0.6.0 (2021-03-18)
Added
More complete documentation for the programs and their parameters.
Changed
Implemented better handling for configuration files so that they will get distributed with the package.
0.5.0 (2021-03-05)
Added
lisfix: Added the lisfix module.
bitflips: Sometimes the very end of the histogram (although not a formal minima) is the appropriate choice, and is now considered.
bitflips: Added capability to ignore minor maxima at the ends of the histogram to “roll down” to a better solution.
Changed
name change of project from pyrise to hiproc.
bitflips: Changed the default medstd_limit from 300 to 400 DN.
Fixed
bitflips: There were a variety of edge cases that resulted in errors. The appropriate guardrails, handlers, and recovery logic has now been added.
HiStitch: The equalize and balance parameters cannot both be true.
0.4.0 (2020-09-22)
Tremendous amount of re-working in bitflips to improve performance.
Format cleanup
0.3.0 (2020-05-16)
Confirmed that EDR_Stats and HiCal produce identical output cubes.
0.2.0 (2020-05-06)
Updated with bit-flip correction.
0.1.0 2020-03-21
First shared on GitHub
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
Built Distribution
File details
Details for the file hiproc-0.6.1.tar.gz
.
File metadata
- Download URL: hiproc-0.6.1.tar.gz
- Upload date:
- Size: 189.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a25cbf8d054fe1caa6d69c5339ed4248ac733f34f69b83fe7c96f6bd3366e7c |
|
MD5 | edb04621a367556ebb2dfe26b74d80ca |
|
BLAKE2b-256 | 9d231b6cb1ca52871d494db86382b0e57d3f631b00b94acb0fb4b7f92aaf902b |
File details
Details for the file hiproc-0.6.1-py2.py3-none-any.whl
.
File metadata
- Download URL: hiproc-0.6.1-py2.py3-none-any.whl
- Upload date:
- Size: 197.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0770447f052d79b7cfb161718ddcdf245096a40c384526010ba58cb859e3a332 |
|
MD5 | 452de6a0d6c1d8e90e934dffb9900435 |
|
BLAKE2b-256 | b8746ba43e707c45c2b9dc1bc848025194c9164e7c8f775988a0316da4d3a18f |