🌈🛰️ xarray-hyperspectral
Open hyperspectral remote sensing data cubes as xarray Datasets.
Xarray-hyperspectral is a lightweight xarray backend engine for Planet Tanager hyperspectral data. It reads Tanager's HDF-EOS5 files and returns lazy, CF-compliant xarray Datasets with proper wavelength coordinates, units, and CRS metadata. This makes Tanager data interoperable with the xarray ecosystem of visualization, analysis, and machine learning tools.
📦 Installation
pip install xarray-hyperspectral
🚀 Quickstart
import xarray as xr
# Open a local Tanager HDF-EOS5 file
ds = xr.open_dataset("scene.h5", engine="tanager")
# Plot a single band
ds["reflectance"].sel(wavelength=850, method="nearest").plot()
# Plot a spectrum at a single pixel
ds["reflectance"].isel(y=400, x=400).plot()
See the tutorials for more examples including RGB composites and interactive visualization.
📝 License
Apache-2.0
Metadata
Release files for xarray-hyperspectral 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| xarray_hyperspectral-1.0.0.tar.gz | 13.2 kB | Without provenance | Details for xarray_hyperspectral-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xarray_hyperspectral-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for xarray_hyperspectral-1.0.0-py3-none-any.whl |
Total release size: 26.7 kB
Release files / xarray_hyperspectral-1.0.0.tar.gz
| Download URL | xarray_hyperspectral-1.0.0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f097169ce2bdb401d455ef2777abe2753893498574873e8e3fb61b45772a4aa
|
|
BLAKE2b-256 checksum How to use checksums |
a3b75be94106ce0c8a23f5bf2d50d52e213563902db7f78adf2924b3faa2cccb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / xarray_hyperspectral-1.0.0-py3-none-any.whl
| Download URL | xarray_hyperspectral-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fa1e23b56b437ac710f1c9af48eabf11840c66405e13bd13f65602f7776db87
|
|
BLAKE2b-256 checksum How to use checksums |
1543d3739d7cc090db5d92f43cead15f4f9e4c026b338b5e9b19df8d6cee105b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for xarray-hyperspectral 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.