PSARPS - Planet Scope ARPS Satellite Imagery Metadata Tool
A Python library and CLI tool for retrieving tide metadata for Planet Scope ARPS (Automated Rapid Preprocessing System) satellite imagery.
Features
- Extract acquisition time from ARPS QA raster images
- Find the closest tide station to the image location
- Get the tide height at the time of image acquisition
- Simple command-line interface
Installation
From PyPI
pip install psarps
From GitHub
pip install git+https://github.com/tayden/psarps.git
Usage
Command Line Interface
Get tide information for a Planet Scope ARPS QA raster image:
arps info path/to/your_image_qa.tif
Example output:
Acquisition Time: 2023-05-01 14:30:45
Tide Height (m): 2.34
Station Name: Victoria
Station Distance (m): 5432
Python API
import psarps
# Get tide information
tide_info = psarps.get_tide_height("path/to/your_image_qa.tif")
# Access the tide data
acquisition_time = tide_info['acquisition_time']
tide_height = tide_info['tide_height']
station_name = tide_info['station_name']
station_distance = tide_info['station_distance']
# Get just the acquisition time
acq_time = psarps.get_acquisition_time("path/to/your_image_qa.tif")
# Get the closest tide station
closest_station = psarps.get_closest_tide_station("path/to/your_image_qa.tif")
Development
Setup Development Environment
# Clone the repository
git clone https://github.com/tayden/psarps.git
cd psarps
# Install with development dependencies
uv pip install ".[dev]"
Common Development Commands
- Run tests:
pytest - Lint code:
ruff check src/ tests/ - Format code:
ruff format src/ tests/
Requirements
- Python 3.13+
- See pyproject.toml for dependencies
License
MIT
Metadata
Release files for PSARPS 0.1.3
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 |
|---|---|---|---|---|
| psarps-0.1.3.tar.gz | 42.1 kB | Without provenance | Details for psarps-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psarps-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for psarps-0.1.3-py3-none-any.whl |
Total release size: 47.3 kB
Release files / psarps-0.1.3.tar.gz
| Download URL | psarps-0.1.3.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1518464401bd703da4863a62b444a2f2b3223f5ec63e57ef1d82cf7cac7edbde
|
|
BLAKE2b-256 checksum How to use checksums |
d80dbe11214ae3e91befebbf4bc0802c31b1819e3294542c13c53670166eea72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Release files / psarps-0.1.3-py3-none-any.whl
| Download URL | psarps-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
656d97df9d5644bd772dfedcfcd68b4050092c92ac325fd87f0b45f99c5a9bab
|
|
BLAKE2b-256 checksum How to use checksums |
81764efe0551c80becadabe3ea21b3cf2836e7ee4240bdaddfcf4068d2a06fda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Security for PSARPS 0.1.3
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.