Alaea
IOCEAN 共用的 Python 科学计算库:空间插值、NetCDF 读写与暂存、岸边缺测填补、标准大气/天气 Dataset 构造、KML→Shapefile(可选 GDAL)等。
Installation
pip3 install Alaea
pip3 install 'Alaea[gdal]' # KML 转 Shapefile 可选功能
Release
仓库根目录 ./build.sh 在 dist/ 生成 sdist 与 wheel;发布前核对版本与 .VERSION、包内容无 .DS_Store/._*,并在干净环境 import Alaea。发布 PyPI 执行 ./run_twine.py(--repository NAME 选仓库)。
主要接口
- 空间插值:
Alaea.exutils的s2s/g2s/s2g/g2g,统一参数顺序,method支持linear/nearest/cubic/idw。 - NetCDF:
xr_atmos_dataset等标准 Dataset 构造与打包;write_netcdf(zlib 默认,compression="zstd"用 HDF5 filter 32015);open_netcdf_input/stage_netcdf_inputs/run_storage_fallback输入暂存与回退。 - 岸边填补:
Alaea.baysalt.erosion_coastline.erosion_fill_dataarray(_times/k/judge_num,is_direction处理方向量);erosion_cal_id/erosion_via_id权重式填补。 - 天气原始输入:
resample_atmos_accumulation、add_atmos_accumulation_precision等累计量处理。
from Alaea.exutils import g2s
point_value = g2s(lon, lat, value, 120.5, 30.5)
参数、返回语义与边界见各函数 docstring。
Metadata
Release files for Alaea 3.0.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 |
|---|---|---|---|---|
| alaea-3.0.0.tar.gz | 131.7 kB | Without provenance | Details for alaea-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alaea-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for alaea-3.0.0-py3-none-any.whl |
Total release size: 251.4 kB
Release files / alaea-3.0.0.tar.gz
| Download URL | alaea-3.0.0.tar.gz |
|---|---|
| Size | 131.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef66b78e4defda07aca2b2f8dec703070df1a04c004099f2a9a3edbc6eb8b38c
|
|
BLAKE2b-256 checksum How to use checksums |
402764a9b2cd0d1c5dcb3911d8cb808d2db9c02b906a8a7ee1b471673fabfd0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / alaea-3.0.0-py3-none-any.whl
| Download URL | alaea-3.0.0-py3-none-any.whl |
|---|---|
| Size | 119.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05239405a47507f3b9b6e8b17f0fd91635be253eb1d243b02dfcf5068c5b7f93
|
|
BLAKE2b-256 checksum How to use checksums |
c40357498d53a4bda705d3f7928a872f79c73245fe0a10a5b228d3ab720a2fed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for Alaea 3.0.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.