CLI tool for plotting Remote Sensing data, designed for Agent.
Project description
rsplot
rsplot is an Agent-oriented command-line tool for plotting remote-sensing and
air-quality data. It is designed to provide a small, stable CLI surface for
tianpu-agent.
Installation
Run directly with uvx:
uvx rsplot --help
Or install it in a project environment:
uv add rsplot
uv run rsplot --help
For local development:
git clone https://github.com/yaoyhu/rsplot.git
cd rsplot
uv sync
uv run rsplot --help
Configuration
For satellite basemaps, set a TianDiTu API key:
export TIANDITU_API_KEY="your-key"
Usage
The examples below assume the command is running on a USTC server or in an environment with equivalent data paths configured.
# Show available commands and options.
rsplot --help
# Plot a single-day TROPOMI raster.
rsplot raster 合肥 20260115 -p no2 -o ./logs/hcho/raster_city_jiujiang_hcho.png
# Plot a 30-day TROPOMI window mean.
rsplot raster 安徽 20260131 -p hcho --days 30 -o hcho_anhui_202601.png
# Plot an explicit TROPOMI date range.
rsplot raster 长三角 20260101-20260131 -p no2 -o no2_yrd_202601.png
# Plot national monitoring station observations.
rsplot station 合肥 2026041415 --var O3 -o station_hefei_o3.png
# Overlay satellite raster data and station observations.
rsplot overlay 合肥 2026041415 -p no2 --var NO2 -o overlay_hefei_no2.png
# Plot an FNR regime map with the default 7-day window.
rsplot fnr 合肥 20260114 -o fnr_hefei.png
# Plot an FNR regime map with an explicit date range.
rsplot fnr 长三角 20260101-20260130 -o fnr_yrd_202601.png
When -o/--output is provided, rsplot writes the image to that path and also
writes a JSON sidecar with the same base name.
License
This project is distributed under the license in LICENSE.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rsplot-0.2.2.tar.gz.
File metadata
- Download URL: rsplot-0.2.2.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a75e8aedc6d963b52a2a69bb95a167e2cc7be59e3dd489749e13e0c10cf4876
|
|
| MD5 |
72cee3e4d98b138d5ab84c518ccb1ff3
|
|
| BLAKE2b-256 |
dad28befaffdce1ad2901c4d87fcacd14f11ce74cdf9d90eb6e864da7e225c45
|
File details
Details for the file rsplot-0.2.2-py3-none-any.whl.
File metadata
- Download URL: rsplot-0.2.2-py3-none-any.whl
- Upload date:
- Size: 64.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7602f486ed03d0d9f1bcaf4940ecbec2af206b1448290d853c6bdfdf7581e48
|
|
| MD5 |
c596e9abf4b20a728a415e0a4c94e459
|
|
| BLAKE2b-256 |
c0abde2ab883223e36971286af1be329232cd28f1ff9e9883f45df9ee4a45d3c
|