rsplot 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rsplot-0.1.0 → rsplot-0.2.0}/PKG-INFO +64 -13
- rsplot-0.2.0/README.md +76 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/pyproject.toml +1 -1
- rsplot-0.1.0/README.md +0 -25
- {rsplot-0.1.0 → rsplot-0.2.0}/.gitignore +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/LICENSE +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/__init__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/__main__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/cli.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/config.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/fnr.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/geo/__init__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/geo/boundaries.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/geo/gridding.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/__init__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/colormaps.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/fnr.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/overlay.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/raster.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/station.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/plotting/styles.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/__init__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/base.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/guokong.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/tropomi_hcho.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/tropomi_no2.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/readers/tropomi_o3.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/results.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/tiles/__init__.py +0 -0
- {rsplot-0.1.0 → rsplot-0.2.0}/src/rsplot/tiles/tianditu.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rsplot
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: CLI tool for plotting Remote Sensing data, designed for Agent.
|
|
5
5
|
Project-URL: Repository, https://git.lug.ustc.edu.cn/yaoyhu/rsplot
|
|
6
6
|
Project-URL: GitHub, https://github.com/yaoyhu/rsplot
|
|
@@ -227,26 +227,77 @@ Description-Content-Type: text/markdown
|
|
|
227
227
|
|
|
228
228
|
# rsplot
|
|
229
229
|
|
|
230
|
-
rsplot is
|
|
230
|
+
`rsplot` is an Agent-oriented command-line tool for plotting remote-sensing and
|
|
231
|
+
air-quality data. It is designed to provide a small, stable CLI surface for
|
|
232
|
+
[tianpu-agent](https://git.lug.ustc.edu.cn/yaoyhu/tianpu-agent).
|
|
231
233
|
|
|
232
|
-
Now in early development stage, stay tuned for updates!
|
|
233
234
|
|
|
234
|
-
|
|
235
|
+
## Installation
|
|
236
|
+
|
|
237
|
+
Run directly with `uvx`:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
uvx rsplot --help
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Or install it in a project environment:
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
uv add rsplot
|
|
247
|
+
uv run rsplot --help
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
For local development:
|
|
235
251
|
|
|
236
252
|
```bash
|
|
237
|
-
git clone
|
|
253
|
+
git clone https://github.com/yaoyhu/rsplot.git
|
|
238
254
|
cd rsplot
|
|
239
255
|
uv sync
|
|
256
|
+
uv run rsplot --help
|
|
240
257
|
```
|
|
241
258
|
|
|
259
|
+
## Configuration
|
|
260
|
+
|
|
261
|
+
For satellite basemaps, set a TianDiTu API key:
|
|
262
|
+
|
|
242
263
|
```bash
|
|
243
|
-
|
|
244
|
-
uv run rsplot raster --help
|
|
245
|
-
uv run rsplot station --help
|
|
264
|
+
export TIANDITU_API_KEY="your-key"
|
|
246
265
|
```
|
|
247
266
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
267
|
+
## Usage
|
|
268
|
+
|
|
269
|
+
The examples below assume the command is running on a USTC server or in an
|
|
270
|
+
environment with equivalent data paths configured.
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
# Show available commands and options.
|
|
274
|
+
rsplot --help
|
|
275
|
+
|
|
276
|
+
# Plot a single-day TROPOMI raster.
|
|
277
|
+
rsplot raster 合肥 20260115 -p no2 -o ./logs/hcho/raster_city_jiujiang_hcho.png
|
|
278
|
+
|
|
279
|
+
# Plot a 30-day TROPOMI window mean.
|
|
280
|
+
rsplot raster 安徽 20260131 -p hcho --days 30 -o hcho_anhui_202601.png
|
|
281
|
+
|
|
282
|
+
# Plot an explicit TROPOMI date range.
|
|
283
|
+
rsplot raster 长三角 20260101-20260131 -p no2 -o no2_yrd_202601.png
|
|
284
|
+
|
|
285
|
+
# Plot national monitoring station observations.
|
|
286
|
+
rsplot station 合肥 2026041415 --var O3 -o station_hefei_o3.png
|
|
287
|
+
|
|
288
|
+
# Overlay satellite raster data and station observations.
|
|
289
|
+
rsplot overlay 合肥 2026041415 -p no2 --var NO2 -o overlay_hefei_no2.png
|
|
290
|
+
|
|
291
|
+
# Plot an FNR regime map with the default 7-day window.
|
|
292
|
+
rsplot fnr 合肥 20260114 -o fnr_hefei.png
|
|
293
|
+
|
|
294
|
+
# Plot an FNR regime map with an explicit date range.
|
|
295
|
+
rsplot fnr 长三角 20260101-20260130 -o fnr_yrd_202601.png
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
When `-o/--output` is provided, `rsplot` writes the image to that path and also
|
|
299
|
+
writes a JSON sidecar with the same base name.
|
|
300
|
+
|
|
301
|
+
## License
|
|
302
|
+
|
|
303
|
+
This project is distributed under the license in `LICENSE`.
|
rsplot-0.2.0/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# rsplot
|
|
2
|
+
|
|
3
|
+
`rsplot` is an Agent-oriented command-line tool for plotting remote-sensing and
|
|
4
|
+
air-quality data. It is designed to provide a small, stable CLI surface for
|
|
5
|
+
[tianpu-agent](https://git.lug.ustc.edu.cn/yaoyhu/tianpu-agent).
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
Run directly with `uvx`:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
uvx rsplot --help
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Or install it in a project environment:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
uv add rsplot
|
|
20
|
+
uv run rsplot --help
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For local development:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
git clone https://github.com/yaoyhu/rsplot.git
|
|
27
|
+
cd rsplot
|
|
28
|
+
uv sync
|
|
29
|
+
uv run rsplot --help
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Configuration
|
|
33
|
+
|
|
34
|
+
For satellite basemaps, set a TianDiTu API key:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
export TIANDITU_API_KEY="your-key"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
The examples below assume the command is running on a USTC server or in an
|
|
43
|
+
environment with equivalent data paths configured.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Show available commands and options.
|
|
47
|
+
rsplot --help
|
|
48
|
+
|
|
49
|
+
# Plot a single-day TROPOMI raster.
|
|
50
|
+
rsplot raster 合肥 20260115 -p no2 -o ./logs/hcho/raster_city_jiujiang_hcho.png
|
|
51
|
+
|
|
52
|
+
# Plot a 30-day TROPOMI window mean.
|
|
53
|
+
rsplot raster 安徽 20260131 -p hcho --days 30 -o hcho_anhui_202601.png
|
|
54
|
+
|
|
55
|
+
# Plot an explicit TROPOMI date range.
|
|
56
|
+
rsplot raster 长三角 20260101-20260131 -p no2 -o no2_yrd_202601.png
|
|
57
|
+
|
|
58
|
+
# Plot national monitoring station observations.
|
|
59
|
+
rsplot station 合肥 2026041415 --var O3 -o station_hefei_o3.png
|
|
60
|
+
|
|
61
|
+
# Overlay satellite raster data and station observations.
|
|
62
|
+
rsplot overlay 合肥 2026041415 -p no2 --var NO2 -o overlay_hefei_no2.png
|
|
63
|
+
|
|
64
|
+
# Plot an FNR regime map with the default 7-day window.
|
|
65
|
+
rsplot fnr 合肥 20260114 -o fnr_hefei.png
|
|
66
|
+
|
|
67
|
+
# Plot an FNR regime map with an explicit date range.
|
|
68
|
+
rsplot fnr 长三角 20260101-20260130 -o fnr_yrd_202601.png
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
When `-o/--output` is provided, `rsplot` writes the image to that path and also
|
|
72
|
+
writes a JSON sidecar with the same base name.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
This project is distributed under the license in `LICENSE`.
|
rsplot-0.1.0/README.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# rsplot
|
|
2
|
-
|
|
3
|
-
rsplot is a CLI tool for plotting Remote Sensing data, designed for [TianPu Agent](https://git.lug.ustc.edu.cn/yaoyhu/tianpu-agent).
|
|
4
|
-
|
|
5
|
-
Now in early development stage, stay tuned for updates!
|
|
6
|
-
|
|
7
|
-
# Quick Start
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
git clone git@git.lug.ustc.edu.cn:yaoyhu/rsplot.git
|
|
11
|
-
cd rsplot
|
|
12
|
-
uv sync
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
uv run rsplot --help
|
|
17
|
-
uv run rsplot raster --help
|
|
18
|
-
uv run rsplot station --help
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
# TODO
|
|
22
|
-
- [x] Support raster plotting
|
|
23
|
-
- [x] Support station plotting
|
|
24
|
-
- [ ] Upload to PyPI
|
|
25
|
-
- [ ] ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|