CMAQ Tools
一个用于从 AELMO NetCDF 文件中提取和处理空气质量模型数据的 Python 库。
安装
pip install git+https://github.com/zusiven/cmaq_tools.git
使用方法
from cmaq_tools import AelmoExtractor
from pathlib import Path
# 初始化提取器
extractor = AelmoExtractor(
aelmo_path=Path("path/to/CCTM_AELMO_d01.nc"),
cro2d_path=Path("path/to/GRIDCRO2D_d01.nc")
)
# 提取所有数据
df = extractor.extract_data()
print(df)
# 根据经纬度提取特定位置的数据
df_point = extractor.extract_data_by_lonlat(lon=114.0, lat=38.0)
print(df_point)
支持的污染物
- O3 (臭氧)
- PM2.5 (细颗粒物)
- PM10 (可吸入颗粒物)
- NO2 (二氧化氮)
- CO (一氧化碳)
- NO (一氧化氮)
- SO2 (二氧化硫)
依赖
- polars
- xarray
- netcdf4
- pyproj
- wztools
Metadata
Release files for cmaq-tools 0.1.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 |
|---|---|---|---|---|
| cmaq_tools-0.1.0.tar.gz | 155.8 kB | Without provenance | Details for cmaq_tools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cmaq_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cmaq_tools-0.1.0-py3-none-any.whl |
Total release size: 160.5 kB
Release files / cmaq_tools-0.1.0.tar.gz
| Download URL | cmaq_tools-0.1.0.tar.gz |
|---|---|
| Size | 155.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab587fb4875fbb06d9d82c22742550ed2db3081ca0132c7356d03f1393d6edda
|
|
BLAKE2b-256 checksum How to use checksums |
563df1c29f24d9d5773a9f398fbf0abcfa3032a6efe839f851987863862913e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cmaq_tools-0.1.0-py3-none-any.whl
| Download URL | cmaq_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddc5313972eadd1d3eced03749092914e4f25dae7352eaf8de001a4f0e64b6e5
|
|
BLAKE2b-256 checksum How to use checksums |
725e016e46ad93d7a11a9b19f2da64e991c740a5e8c601a449246dc72dfabe66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for cmaq-tools 0.1.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.