rsplot 0.3.1.dev3__py3-none-any.whl → 0.3.2.dev37__py3-none-any.whl

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.
Files changed (71) hide show
  1. rsplot/atomic.py +36 -0
  2. rsplot/cli.py +282 -469
  3. rsplot/commands/common.py +113 -1
  4. rsplot/commands/fnr.py +389 -104
  5. rsplot/commands/forecast.py +24 -7
  6. rsplot/commands/meteo.py +499 -186
  7. rsplot/commands/overlay.py +292 -205
  8. rsplot/commands/radius.py +526 -0
  9. rsplot/commands/raster.py +479 -230
  10. rsplot/commands/reconstruct.py +27 -6
  11. rsplot/commands/sidecar.py +106 -0
  12. rsplot/commands/station.py +154 -42
  13. rsplot/commands/station_trend.py +259 -174
  14. rsplot/config.py +46 -16
  15. rsplot/data_files.py +253 -0
  16. rsplot/errors.py +43 -0
  17. rsplot/fnr.py +38 -46
  18. rsplot/geo/boundaries.py +317 -11
  19. rsplot/geo/footprints.py +205 -0
  20. rsplot/geo/processing.py +84 -5
  21. rsplot/geo/radius.py +205 -0
  22. rsplot/plotting/colormap_22.txt +256 -0
  23. rsplot/plotting/colormaps.py +24 -29
  24. rsplot/plotting/map_frame.py +203 -9
  25. rsplot/plotting/meteo.py +10 -3
  26. rsplot/plotting/overlay.py +36 -40
  27. rsplot/plotting/raster.py +15 -3
  28. rsplot/plotting/station.py +86 -33
  29. rsplot/plotting/station_focus.py +84 -0
  30. rsplot/plotting/station_trend.py +60 -47
  31. rsplot/plotting/styles.py +3 -5
  32. rsplot/readers/__init__.py +89 -7
  33. rsplot/readers/_tropomi.py +121 -3
  34. rsplot/readers/base.py +16 -1
  35. rsplot/readers/era5.py +110 -10
  36. rsplot/readers/era5_wind.py +3 -2
  37. rsplot/readers/gems.py +429 -0
  38. rsplot/readers/guokong.py +125 -39
  39. rsplot/readers/netcdf.py +32 -0
  40. rsplot/readers/tropomi_hcho.py +1 -1
  41. rsplot/readers/tropomi_no2.py +1 -1
  42. rsplot/readers/tropomi_nrti.py +116 -0
  43. rsplot/readers/tropomi_o3.py +1 -1
  44. rsplot/readers/tropomi_o3pr.py +1 -1
  45. rsplot/result_builders/__init__.py +0 -14
  46. rsplot/result_builders/common.py +84 -0
  47. rsplot/result_builders/envelope.py +236 -0
  48. rsplot/result_builders/fnr.py +47 -131
  49. rsplot/result_builders/forecast.py +7 -0
  50. rsplot/result_builders/provenance.py +59 -0
  51. rsplot/result_builders/reconstruct.py +7 -0
  52. rsplot/result_builders/satellite.py +240 -0
  53. rsplot/result_builders/series_layer.py +289 -0
  54. rsplot/result_builders/station.py +23 -0
  55. rsplot/result_builders/station_layer.py +326 -0
  56. rsplot/results.py +0 -12
  57. rsplot/schemas/result.schema.json +566 -0
  58. rsplot/temporal.py +146 -16
  59. rsplot-0.3.2.dev37.dist-info/METADATA +996 -0
  60. rsplot-0.3.2.dev37.dist-info/RECORD +76 -0
  61. {rsplot-0.3.1.dev3.dist-info → rsplot-0.3.2.dev37.dist-info}/WHEEL +1 -1
  62. rsplot/commands/recent.py +0 -164
  63. rsplot/recent.py +0 -404
  64. rsplot/result_builders/meteo.py +0 -171
  65. rsplot/result_builders/overlay.py +0 -75
  66. rsplot/result_builders/raster.py +0 -72
  67. rsplot/result_builders/station_trend.py +0 -229
  68. rsplot-0.3.1.dev3.dist-info/METADATA +0 -477
  69. rsplot-0.3.1.dev3.dist-info/RECORD +0 -64
  70. {rsplot-0.3.1.dev3.dist-info → rsplot-0.3.2.dev37.dist-info}/entry_points.txt +0 -0
  71. {rsplot-0.3.1.dev3.dist-info → rsplot-0.3.2.dev37.dist-info}/licenses/LICENSE +0 -0
@@ -1,477 +0,0 @@
1
- Metadata-Version: 2.5
2
- Name: rsplot
3
- Version: 0.3.1.dev3
4
- Summary: CLI tool for plotting Remote Sensing data, designed for Agent.
5
- Project-URL: Repository, https://git.lug.ustc.edu.cn/yaoyhu/rsplot
6
- Project-URL: GitHub, https://github.com/yaoyhu/rsplot
7
- Author-email: Yaoyao Hu <yaoyhu@mail.ustc.edu.cn>
8
- License: Apache License
9
- Version 2.0, January 2004
10
- http://www.apache.org/licenses/
11
-
12
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
-
14
- 1. Definitions.
15
-
16
- "License" shall mean the terms and conditions for use, reproduction,
17
- and distribution as defined by Sections 1 through 9 of this document.
18
-
19
- "Licensor" shall mean the copyright owner or entity authorized by
20
- the copyright owner that is granting the License.
21
-
22
- "Legal Entity" shall mean the union of the acting entity and all
23
- other entities that control, are controlled by, or are under common
24
- control with that entity. For the purposes of this definition,
25
- "control" means (i) the power, direct or indirect, to cause the
26
- direction or management of such entity, whether by contract or
27
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
- outstanding shares, or (iii) beneficial ownership of such entity.
29
-
30
- "You" (or "Your") shall mean an individual or Legal Entity
31
- exercising permissions granted by this License.
32
-
33
- "Source" form shall mean the preferred form for making modifications,
34
- including but not limited to software source code, documentation
35
- source, and configuration files.
36
-
37
- "Object" form shall mean any form resulting from mechanical
38
- transformation or translation of a Source form, including but
39
- not limited to compiled object code, generated documentation,
40
- and conversions to other media types.
41
-
42
- "Work" shall mean the work of authorship, whether in Source or
43
- Object form, made available under the License, as indicated by a
44
- copyright notice that is included in or attached to the work
45
- (an example is provided in the Appendix below).
46
-
47
- "Derivative Works" shall mean any work, whether in Source or Object
48
- form, that is based on (or derived from) the Work and for which the
49
- editorial revisions, annotations, elaborations, or other modifications
50
- represent, as a whole, an original work of authorship. For the purposes
51
- of this License, Derivative Works shall not include works that remain
52
- separable from, or merely link (or bind by name) to the interfaces of,
53
- the Work and Derivative Works thereof.
54
-
55
- "Contribution" shall mean any work of authorship, including
56
- the original version of the Work and any modifications or additions
57
- to that Work or Derivative Works thereof, that is intentionally
58
- submitted to Licensor for inclusion in the Work by the copyright owner
59
- or by an individual or Legal Entity authorized to submit on behalf of
60
- the copyright owner. For the purposes of this definition, "submitted"
61
- means any form of electronic, verbal, or written communication sent
62
- to the Licensor or its representatives, including but not limited to
63
- communication on electronic mailing lists, source code control systems,
64
- and issue tracking systems that are managed by, or on behalf of, the
65
- Licensor for the purpose of discussing and improving the Work, but
66
- excluding communication that is conspicuously marked or otherwise
67
- designated in writing by the copyright owner as "Not a Contribution."
68
-
69
- "Contributor" shall mean Licensor and any individual or Legal Entity
70
- on behalf of whom a Contribution has been received by Licensor and
71
- subsequently incorporated within the Work.
72
-
73
- 2. Grant of Copyright License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- copyright license to reproduce, prepare Derivative Works of,
77
- publicly display, publicly perform, sublicense, and distribute the
78
- Work and such Derivative Works in Source or Object form.
79
-
80
- 3. Grant of Patent License. Subject to the terms and conditions of
81
- this License, each Contributor hereby grants to You a perpetual,
82
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
- (except as stated in this section) patent license to make, have made,
84
- use, offer to sell, sell, import, and otherwise transfer the Work,
85
- where such license applies only to those patent claims licensable
86
- by such Contributor that are necessarily infringed by their
87
- Contribution(s) alone or by combination of their Contribution(s)
88
- with the Work to which such Contribution(s) was submitted. If You
89
- institute patent litigation against any entity (including a
90
- cross-claim or counterclaim in a lawsuit) alleging that the Work
91
- or a Contribution incorporated within the Work constitutes direct
92
- or contributory patent infringement, then any patent licenses
93
- granted to You under this License for that Work shall terminate
94
- as of the date such litigation is filed.
95
-
96
- 4. Redistribution. You may reproduce and distribute copies of the
97
- Work or Derivative Works thereof in any medium, with or without
98
- modifications, and in Source or Object form, provided that You
99
- meet the following conditions:
100
-
101
- (a) You must give any other recipients of the Work or
102
- Derivative Works a copy of this License; and
103
-
104
- (b) You must cause any modified files to carry prominent notices
105
- stating that You changed the files; and
106
-
107
- (c) You must retain, in the Source form of any Derivative Works
108
- that You distribute, all copyright, patent, trademark, and
109
- attribution notices from the Source form of the Work,
110
- excluding those notices that do not pertain to any part of
111
- the Derivative Works; and
112
-
113
- (d) If the Work includes a "NOTICE" text file as part of its
114
- distribution, then any Derivative Works that You distribute must
115
- include a readable copy of the attribution notices contained
116
- within such NOTICE file, excluding those notices that do not
117
- pertain to any part of the Derivative Works, in at least one
118
- of the following places: within a NOTICE text file distributed
119
- as part of the Derivative Works; within the Source form or
120
- documentation, if provided along with the Derivative Works; or,
121
- within a display generated by the Derivative Works, if and
122
- wherever such third-party notices normally appear. The contents
123
- of the NOTICE file are for informational purposes only and
124
- do not modify the License. You may add Your own attribution
125
- notices within Derivative Works that You distribute, alongside
126
- or as an addendum to the NOTICE text from the Work, provided
127
- that such additional attribution notices cannot be construed
128
- as modifying the License.
129
-
130
- You may add Your own copyright statement to Your modifications and
131
- may provide additional or different license terms and conditions
132
- for use, reproduction, or distribution of Your modifications, or
133
- for any such Derivative Works as a whole, provided Your use,
134
- reproduction, and distribution of the Work otherwise complies with
135
- the conditions stated in this License.
136
-
137
- 5. Submission of Contributions. Unless You explicitly state otherwise,
138
- any Contribution intentionally submitted for inclusion in the Work
139
- by You to the Licensor shall be under the terms and conditions of
140
- this License, without any additional terms or conditions.
141
- Notwithstanding the above, nothing herein shall supersede or modify
142
- the terms of any separate license agreement you may have executed
143
- with Licensor regarding such Contributions.
144
-
145
- 6. Trademarks. This License does not grant permission to use the trade
146
- names, trademarks, service marks, or product names of the Licensor,
147
- except as required for reasonable and customary use in describing the
148
- origin of the Work and reproducing the content of the NOTICE file.
149
-
150
- 7. Disclaimer of Warranty. Unless required by applicable law or
151
- agreed to in writing, Licensor provides the Work (and each
152
- Contributor provides its Contributions) on an "AS IS" BASIS,
153
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
154
- implied, including, without limitation, any warranties or conditions
155
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
156
- PARTICULAR PURPOSE. You are solely responsible for determining the
157
- appropriateness of using or redistributing the Work and assume any
158
- risks associated with Your exercise of permissions under this License.
159
-
160
- 8. Limitation of Liability. In no event and under no legal theory,
161
- whether in tort (including negligence), contract, or otherwise,
162
- unless required by applicable law (such as deliberate and grossly
163
- negligent acts) or agreed to in writing, shall any Contributor be
164
- liable to You for damages, including any direct, indirect, special,
165
- incidental, or consequential damages of any character arising as a
166
- result of this License or out of the use or inability to use the
167
- Work (including but not limited to damages for loss of goodwill,
168
- work stoppage, computer failure or malfunction, or any and all
169
- other commercial damages or losses), even if such Contributor
170
- has been advised of the possibility of such damages.
171
-
172
- 9. Accepting Warranty or Additional Liability. While redistributing
173
- the Work or Derivative Works thereof, You may choose to offer,
174
- and charge a fee for, acceptance of support, warranty, indemnity,
175
- or other liability obligations and/or rights consistent with this
176
- License. However, in accepting such obligations, You may act only
177
- on Your own behalf and on Your sole responsibility, not on behalf
178
- of any other Contributor, and only if You agree to indemnify,
179
- defend, and hold each Contributor harmless for any liability
180
- incurred by, or claims asserted against, such Contributor by reason
181
- of your accepting any such warranty or additional liability.
182
-
183
- END OF TERMS AND CONDITIONS
184
-
185
- APPENDIX: How to apply the Apache License to your work.
186
-
187
- To apply the Apache License to your work, attach the following
188
- boilerplate notice, with the fields enclosed by brackets "[]"
189
- replaced with your own identifying information. (Don't include
190
- the brackets!) The text should be enclosed in the appropriate
191
- comment syntax for the file format. We also recommend that a
192
- file or class name and description of purpose be included on the
193
- same "printed page" as the copyright notice for easier
194
- identification within third-party archives.
195
-
196
- Copyright [yyyy] [name of copyright owner]
197
-
198
- Licensed under the Apache License, Version 2.0 (the "License");
199
- you may not use this file except in compliance with the License.
200
- You may obtain a copy of the License at
201
-
202
- http://www.apache.org/licenses/LICENSE-2.0
203
-
204
- Unless required by applicable law or agreed to in writing, software
205
- distributed under the License is distributed on an "AS IS" BASIS,
206
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
207
- See the License for the specific language governing permissions and
208
- limitations under the License.
209
- License-File: LICENSE
210
- Classifier: Intended Audience :: Developers
211
- Classifier: Programming Language :: Python :: 3
212
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
213
- Requires-Python: <3.14,>=3.10
214
- Requires-Dist: astropy>=5.3
215
- Requires-Dist: cartopy>=0.21
216
- Requires-Dist: geopandas>=0.13
217
- Requires-Dist: matplotlib>=3.7
218
- Requires-Dist: netcdf4>=1.7.3
219
- Requires-Dist: numpy>=1.24
220
- Requires-Dist: rich>=13.0.0
221
- Requires-Dist: scipy>=1.10
222
- Requires-Dist: shapely>=2.0
223
- Requires-Dist: tomli>=2.0; python_version < '3.11'
224
- Requires-Dist: typer>=0.9.0
225
- Requires-Dist: xarray>=2023.0
226
- Description-Content-Type: text/markdown
227
-
228
- # rsplot
229
-
230
- `rsplot` is an Agent-oriented command-line tool for plotting remote-sensing,
231
- reconstructed, and air-quality data. It provides a small, stable CLI surface for
232
- [tianpu-agent](https://git.lug.ustc.edu.cn/yaoyhu/tianpu-agent).
233
-
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
- ### Development releases
251
-
252
- Every push to `main` publishes a PEP 440 development release such as
253
- `0.3.1.dev4`. Stable installs continue to ignore these releases. To follow the
254
- latest development build, opt in once:
255
-
256
- ```bash
257
- uv tool install rsplot --prerelease allow
258
- uv tool upgrade rsplot
259
- ```
260
-
261
- The prerelease setting is retained by later `uv tool upgrade` commands.
262
-
263
- For local development:
264
-
265
- ```bash
266
- git clone https://github.com/yaoyhu/rsplot.git
267
- cd rsplot
268
- uv sync
269
- uv run rsplot --help
270
- ```
271
-
272
- ## Configuration
273
-
274
- `rsplot` does not ship site-specific data paths. Configure local satellite,
275
- station, boundary, and font paths with a TOML file:
276
-
277
- ```bash
278
- mkdir -p ~/.config/rsplot
279
- cp config.example.toml ~/.config/rsplot/config.toml
280
- ```
281
-
282
- Then edit `~/.config/rsplot/config.toml`:
283
-
284
- ```toml
285
- [paths]
286
- geojson_dir = "/path/to/geojson"
287
- font_dir = "/path/to/fonts"
288
- # hcho_cmap_file = "/path/to/256x3_rgb_table.txt"
289
-
290
- [paths.data_dirs]
291
- no2 = "/path/to/NO2"
292
- o3 = "/path/to/O3"
293
- o3pr = "/path/to/O3PR"
294
- hcho = "/path/to/HCHO"
295
- guokong = "/path/to/guokong_combine"
296
- era5 = "/path/to/era5"
297
- forecast = "/path/to/forecast"
298
- reconstruct = "/path/to/reconstruct"
299
-
300
- # Optional lower-level boundary override for a direct-administered city.
301
- # [subdivision_overrides."中山市"]
302
- # path = "/path/to/中山市镇街界线.shp"
303
- # name_field = "镇街名称"
304
- # level = "township"
305
-
306
- # Optional satellite basemap key. Leave commented unless you have a real key.
307
- # [tianditu]
308
- # api_key = "your-real-key"
309
- ```
310
-
311
- You can also point to a different config file:
312
-
313
- ```bash
314
- export RSPLOT_CONFIG="/path/to/rsplot.toml"
315
- ```
316
-
317
- Environment variables override TOML values:
318
-
319
- ```bash
320
- export TIANDITU_API_KEY="your-key"
321
- export RSPLOT_GEOJSON_DIR="/path/to/geojson"
322
- export RSPLOT_FONT_DIR="/path/to/fonts"
323
- export RSPLOT_DATA_DIR_NO2="/path/to/NO2"
324
- export RSPLOT_DATA_DIR_O3="/path/to/O3"
325
- export RSPLOT_DATA_DIR_O3PR="/path/to/O3PR"
326
- export RSPLOT_DATA_DIR_HCHO="/path/to/HCHO"
327
- export RSPLOT_DATA_DIR_GUOKONG="/path/to/guokong_combine"
328
- export RSPLOT_DATA_DIR_ERA5="/path/to/era5"
329
- export RSPLOT_DATA_DIR_FORECAST="/path/to/forecast"
330
- export RSPLOT_DATA_DIR_RECONSTRUCT="/path/to/reconstruct"
331
- export RSPLOT_HCHO_CMAP_FILE="/path/to/256x3_rgb_table.txt"
332
- ```
333
-
334
- Command-line directory options, such as `--data-dir`, take precedence for the
335
- command being run. If no TianDiTu API key is configured, use `--basemap none`
336
- to avoid requesting satellite tiles.
337
-
338
- City subdivision overrides replace the county layer only for the configured
339
- city. Their source CRS is converted to the CRS of the standard city boundary.
340
- This lets direct-administered towns or streets appear in maps and spatial
341
- summaries, and makes qualified inputs such as `中山/板芙` resolvable.
342
-
343
- ## Usage
344
-
345
- The examples below assume data paths are configured and readable.
346
-
347
- ```bash
348
- # Show available commands and options.
349
- rsplot --help
350
-
351
- # Plot a single-day TROPOMI raster.
352
- rsplot raster 合肥 20260115 -p no2 -o ./logs/hcho/raster_city_jiujiang_hcho.png
353
-
354
- # Plot a 30-day TROPOMI window mean.
355
- rsplot raster 安徽 20260131 -p hcho --days 30 -o hcho_anhui_202601.png
356
-
357
- # Plot a TROPOMI ozone-profile tropospheric column raster.
358
- rsplot raster 安徽 20260227 -p o3pr -o o3pr_anhui_20260227.png
359
-
360
- # Plot an explicit TROPOMI date range.
361
- rsplot raster 长三角 20260101-20260131 -p no2 -o no2_yrd_202601.png
362
-
363
- # Reconstructed-grid input is China standard time; rsplot converts it to the
364
- # matching UTC archive filename. This reads 2026051100.nc.
365
- rsplot reconstruct 安徽 2026051108 --var PM2.5 \
366
- -o reconstruct_anhui_pm25.png
367
-
368
- # Date-only input selects the latest complete hour in that China-time day.
369
- rsplot reconstruct 合肥 20260511 --var O3 --res 0.01 \
370
- -o reconstruct_hefei_o3.png
371
-
372
- # Forecast input is China standard time; rsplot converts it
373
- # to the matching UTC archive initialization hour before reading.
374
- rsplot forecast 安徽 2026063000 --lead 24 --var O3 -o forecast_anhui_o3.png
375
-
376
- # Date-only input selects the latest initialization within that China-time day.
377
- rsplot forecast 合肥 20260630 --lead 72 --var PM2.5 -o forecast_hefei_pm25.png
378
-
379
- # Overlay station observations on the forecast valid time.
380
- rsplot forecast 合肥 2026041409 --lead 6 --var O3 --station-overlay -o forecast_station_hefei_o3.png
381
-
382
- # Plot ERA5 2 m temperature. Input hours are China standard time; rsplot
383
- # converts them to the matching UTC archive day and hour automatically.
384
- rsplot meteo 南京 2026051115 --temp-level 2m -o meteo_nanjing_t2m.png
385
-
386
- # Plot black 850 hPa wind arrows; length represents speed and no wind
387
- # colorbar is drawn. The reference arrow gives the speed scale.
388
- rsplot meteo 南京 2026051115 --wind-level 850 -o meteo_nanjing_wind850.png
389
-
390
- # Overlay black wind arrows on a temperature background. Only the temperature
391
- # colorbar is drawn.
392
- rsplot meteo 南京 2026051115 --temp-level 850 \
393
- --wind-level 850 -o meteo_nanjing_t850_wind850.png
394
-
395
- # Overlay station observations with black wind arrows.
396
- rsplot meteo 南京 2026051115 --station-var O3 \
397
- --wind-level 850 -o meteo_nanjing_o3_wind850.png
398
-
399
- # Temperature, stations, and wind can be combined. The two colorbars describe
400
- # temperature and station concentration; wind magnitude is encoded by length.
401
- rsplot meteo 南京 2026051115 --temp-level 850 --station-var O3 \
402
- --wind-level 850 -o meteo_nanjing_t850_o3_wind850.png
403
-
404
- # Plot national monitoring station observations.
405
- rsplot station 合肥 2026041415 --var O3 -o station_hefei_o3.png
406
-
407
- # Plot one station's hourly observations over the latest seven days.
408
- rsplot trend 3347A 20260520 --days 7 --var O3 -o trend_3347A_o3_7d.png
409
-
410
- # A single day and an explicit date range are also supported.
411
- rsplot trend 3347A 20260520 --days 1 --var O3 -o trend_3347A_o3_day.png
412
- rsplot trend 3347A 20260501-20260507 --var PM2.5 -o trend_3347A_pm25.png
413
-
414
- # Plot all regional stations as grey lines plus the hourly station mean.
415
- rsplot trend 重庆 20260520 --days 7 --var O3 --region -o trend_chongqing_o3.png
416
-
417
- # Plot only the regional mean and highlight one or more explicit stations.
418
- rsplot trend 重庆 20260520 --days 7 --var O3 --region --view mean \
419
- --focus-station 3347A --threshold 200 -o trend_chongqing_focus.png
420
-
421
- # Overlay satellite raster data and station observations.
422
- rsplot overlay 合肥 2026041415 -p no2 --var NO2 -o overlay_hefei_no2.png
423
-
424
- # Plot an FNR regime map with the default 7-day window.
425
- rsplot fnr 合肥 20260114 -o fnr_hefei.png
426
-
427
- # Plot an FNR regime map with an explicit date range.
428
- rsplot fnr 长三角 20260101-20260130 -o fnr_yrd_202601.png
429
-
430
- # Override FNR regime thresholds for agent-driven sensitivity tests.
431
- rsplot fnr 合肥 20260114 --voc-threshold 0.8 --nox-threshold 1.8 --display-max 5 -o fnr_hefei_sensitivity.png
432
- ```
433
-
434
- When `-o/--output` is provided, `rsplot` writes the image to that path and also
435
- writes a JSON sidecar with the same base name. Reconstructed-grid JSON records
436
- both the China-time input and matched UTC archive hour, source file, native and
437
- output resolution, regional statistics, administrative summaries, and hotspots.
438
-
439
- ## License
440
-
441
- This project is distributed under the license in `LICENSE`.
442
-
443
- ## Publishing
444
-
445
- The package version is derived from Git by `hatch-vcs`; do not add a static
446
- `project.version` or make version-bump commits. The latest `vX.Y.Z` tag is the
447
- stable version. Commits after it build as the next patch development series:
448
-
449
- ```text
450
- v0.3.0 -> 0.3.0
451
- first commit -> 0.3.1.dev1
452
- second commit -> 0.3.1.dev2
453
- v0.3.1 -> 0.3.1
454
- ```
455
-
456
- GitHub Actions publishes every `main` push through the `pypi-dev` environment
457
- and every `v*` tag through `pypi`. Configure two PyPI Trusted Publishers with
458
- the same owner, repository, and workflow, differing only by environment:
459
-
460
- ```text
461
- Owner: yaoyhu
462
- Repository: rsplot
463
- Workflow: publish.yml
464
- Environment: pypi-dev
465
- Environment: pypi
466
- ```
467
-
468
- Leave `pypi-dev` automatic for continuous development uploads. Protect the
469
- `pypi` GitHub environment with required reviewers so stable releases need an
470
- explicit approval.
471
-
472
- To make a stable release after the desired commit is on GitHub:
473
-
474
- ```bash
475
- git tag -a v0.3.1 -m v0.3.1
476
- git push github v0.3.1
477
- ```
@@ -1,64 +0,0 @@
1
- rsplot/__init__.py,sha256=3Ruc0uv8gybHmJAfHMssKlx4uZm11vfRK3qljZXs5WU,318
2
- rsplot/__main__.py,sha256=8_HlBH7_zVm8ZVDcTcqTylcu2BPnU9zZ2Hnnw3sHItE,96
3
- rsplot/cli.py,sha256=2t2zYnq4L24lb4aHyPB-ADbyGX2K5d_swwSyMspOYPU,27530
4
- rsplot/config.py,sha256=IqV9JOglIaKZLa9kNhbFNtFzqXHJiNnDUSQ9mvEKknU,13795
5
- rsplot/fnr.py,sha256=E6xmNtiCAJzWxqPPhdbQKMgMyE1GtydG68AUVJFQ2gU,11242
6
- rsplot/recent.py,sha256=bebHp57jz9HHlH2pVFWe4YgQ7NxJQjV5QoW6LWB1O9Y,12168
7
- rsplot/results.py,sha256=ykhWKhLyJyCQCM7HzXr7ucQpjj5XDqxUVw1AX7bsjig,1249
8
- rsplot/stats.py,sha256=qDv8NCgS9_6Hu8Ni3dTh54JcBfzYBmW9K9JBLniNGaA,1158
9
- rsplot/temporal.py,sha256=fBKNvdOR9779LcaGbgAjlebztrZyl8jCE7RxbrqZIdo,6926
10
- rsplot/commands/__init__.py,sha256=zd-RHo-2h_6Jl_ws13RX13PgqMT5q4EWczpBd5Nd5Jk,73
11
- rsplot/commands/common.py,sha256=SmgVo3WIlKPAI2qGEYWnde-BJOaH8mT8okp9EM_FAnQ,3567
12
- rsplot/commands/fnr.py,sha256=vyl48DUNU1Wz3fOs6z0NS0weLMoa278WqL_dtX8XbIM,8038
13
- rsplot/commands/forecast.py,sha256=sC29ArHFBk0pkA6fenWWqv-HN_dKt1W_eoVk7vFL1pI,11468
14
- rsplot/commands/meteo.py,sha256=TfaDJu0awwaAXmrSL9pyjV9XFH1yfGawD0Gz9VjpW5A,12798
15
- rsplot/commands/overlay.py,sha256=dTwBq4jawSGlmK5BYjY7qjgJHgaRISOSZZyUVtrnRRA,8498
16
- rsplot/commands/raster.py,sha256=ibSpeb0c6rF10U8-1jniSqBRgCRp3445N-KEqlS5__w,12801
17
- rsplot/commands/recent.py,sha256=QvM7PzRLqozcDTUX-6QCy0RHic-lWwDA71TQwSBis8M,5048
18
- rsplot/commands/reconstruct.py,sha256=-l6OKd12Esx4uDXsBRQ_yg4j3xZq50ofrzGpNm35iH4,6765
19
- rsplot/commands/station.py,sha256=2fF032-0BD2IsElvfCS19p5t8iAR1HNCpMWHAhBlB38,4146
20
- rsplot/commands/station_trend.py,sha256=WhCLKbjl20fTonxBYuhSKENtB6FZoWuVzZQKJiRKrMc,9981
21
- rsplot/geo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- rsplot/geo/boundaries.py,sha256=EuMhVljeHLv_wtGUvCN6DJ1Z5YGqIUeYkdrDJ23Yf-I,15120
23
- rsplot/geo/gridding.py,sha256=CA1imAZYz5lxYnVJx1SBBXxDf_WaEpiVe10J4EoVefY,4392
24
- rsplot/geo/processing.py,sha256=uca0Qi6_wvXHNXdEA3TVJ47Fn0vpTiy7QSvxAKyGx_s,2793
25
- rsplot/plotting/__init__.py,sha256=DYZUFHxzFHkgH8RvmoqjBTtEg9TYbKlv4-tyVXBR3nY,67
26
- rsplot/plotting/colormaps.py,sha256=rHmFSFSaUgz1Pxownpe4NZBT3jfHXzupKNPK92DGBbc,1932
27
- rsplot/plotting/fnr.py,sha256=RLtyUTzDgLlKQ8SJz_msv4N8TmpMJerq1g8wAN50rN4,4032
28
- rsplot/plotting/map_frame.py,sha256=8Q3ZqnwPCyLXF9AoMKNltvb6Q6fMyGl-VcCHeJu29-Q,6446
29
- rsplot/plotting/meteo.py,sha256=9nxVRbkT-gXC765q6SusYB1xK8rbFy4DUhUYaVBo3Uw,4822
30
- rsplot/plotting/overlay.py,sha256=MEoMOUvbOyPLuHlGVzRz17XRsRhRUmm-z5r6JKZHQRo,5395
31
- rsplot/plotting/raster.py,sha256=V5STHuALfPzbSEJNguC3_CjWPmSygCPCCYF-VlUHzJw,2721
32
- rsplot/plotting/station.py,sha256=XGlewm2DjLKpRHpWf19vW81hMTBf7wbNbrZyS2T8x7g,4697
33
- rsplot/plotting/station_trend.py,sha256=MPmVXtqe7gfSMHKJOoSRYbLYSA7bMyzaXouz9XTJh3g,9986
34
- rsplot/plotting/styles.py,sha256=joJ0g5nio_vvquFN4o4187AZZSK3F9WGfKOOlm0IfCo,1246
35
- rsplot/plotting/wind.py,sha256=1YNdEg0c19AyHt2hQjAng8-nMItPBfUVEmcy9sIBvqw,2102
36
- rsplot/readers/__init__.py,sha256=HwZnl6g1J1Lgh0hgCLCviykzzn84DmjlHVR0FKyaCdc,4043
37
- rsplot/readers/_tropomi.py,sha256=OuFY6s7cwdaj1U64KpT6xX_jlt_MHbwwwlfUBlKFuQY,3972
38
- rsplot/readers/base.py,sha256=PAkS2FmDn7Mz9XRNVM8w05O15lrl0YLL8MfMDXiK6EI,5141
39
- rsplot/readers/era5.py,sha256=VJGPdYPQU-jDvzYiUqBFaU8PFC_PtYjLZ7GyfvJznJg,6151
40
- rsplot/readers/era5_wind.py,sha256=kjEPCpGl5v71ypj9na1qXWF7fV7MM6sfJ5Q81JlDrkI,5400
41
- rsplot/readers/forecast.py,sha256=a6JowdoxcpTMCnFVfMRlEffnZ2rM8DPhzHG9e-LliV8,9341
42
- rsplot/readers/guokong.py,sha256=DMt3tzKwonh4lmQYdRleB1g4YjK4p7ULVNNoeeG8tvY,15032
43
- rsplot/readers/reconstruct.py,sha256=NCPOP6aqJnWm4PnErj3haq0p6s18ozJb6B0j_fU58DY,13388
44
- rsplot/readers/tropomi_hcho.py,sha256=uw7_devKzziaaARVPPuluhKdP6OYBsNi367N4byIo1A,1119
45
- rsplot/readers/tropomi_no2.py,sha256=UBYVOa1YtjzAK83JUBNETWIqRmt-ILnExM42txelIbI,1089
46
- rsplot/readers/tropomi_o3.py,sha256=8LPrQZG-rBgepQyA04tB74ykZPZsk0QTRUz_T1mFYy0,1147
47
- rsplot/readers/tropomi_o3pr.py,sha256=7GjAwx3Uh0OR3mM1h7b4cDrzX5YZdxhetEe2cke3RoI,1094
48
- rsplot/result_builders/__init__.py,sha256=WSa3lLzpICYFzSSZBvjINGBLUa9N691gJbROa1p7mwg,903
49
- rsplot/result_builders/common.py,sha256=HPjoYlH_kZR58iG2eipouHJ9u7C0MnXVHvXqZqD5xWE,4088
50
- rsplot/result_builders/fnr.py,sha256=evD9fFh6oaDkzd_MNzWqdO71atPxrtn6lZhKIiHyZqM,6203
51
- rsplot/result_builders/forecast.py,sha256=h6INKvUsGQUPpxlgzJA6y1IOzOzYIfeCN8cfNA4vn_A,3372
52
- rsplot/result_builders/meteo.py,sha256=HGc5MNDmkJEsAe6HgIJmPdhQFEnAFdPL0nYMaJWu4cY,5788
53
- rsplot/result_builders/overlay.py,sha256=o6vAlM6C7ONO5-K_GprI_ZZFjILG_o57OZKf0fSNdCY,1930
54
- rsplot/result_builders/raster.py,sha256=mUbxZw7eVA3wp23A5L2HKAv8ZV-mpTmoyf-RI3F0S4I,1758
55
- rsplot/result_builders/reconstruct.py,sha256=1h1VfExkZ8fixEbXRWqstmfkmtHhWlBKRgVQASR2OVE,2341
56
- rsplot/result_builders/station.py,sha256=z8DUxLxD6mrO4FOAlqlcAX6KynCEj3zBzsTsgZxyztI,7164
57
- rsplot/result_builders/station_trend.py,sha256=gcfUsCgc7jhvCNY7Z0wK4tYjknuKrMl-7at66pT1pm4,7340
58
- rsplot/tiles/__init__.py,sha256=R7864cYKm4gfLX07fbBeQelGjebQXkzBLDJUFy67UcU,30
59
- rsplot/tiles/tianditu.py,sha256=9B2SXmjF3adWcq38LtP8DCu_4C1INRNOejibpRx1bnA,859
60
- rsplot-0.3.1.dev3.dist-info/METADATA,sha256=yXJa8Qu_qBdNi7jolorbaS-2Vj1KyL0PJZzBCJcm28Y,22307
61
- rsplot-0.3.1.dev3.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
62
- rsplot-0.3.1.dev3.dist-info/entry_points.txt,sha256=ZhA4Divb4fJcggbG7usMVJ-VUTkEaQ-qfPlMimSBuCM,47
63
- rsplot-0.3.1.dev3.dist-info/licenses/LICENSE,sha256=KD6mzCmXoacNoASeCa35MXu2DKG1Enm2UZa4OmnhmWs,11323
64
- rsplot-0.3.1.dev3.dist-info/RECORD,,