Skip to main content

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Alaea 3.0.2
File Size Uploaded Provenance Actions
alaea-3.0.2.tar.gz 135.5 kB Without provenance Details for alaea-3.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Alaea 3.0.2
File Interpreter ABI Platform Actions
alaea-3.0.2-py3-none-any.whl Python 3 none any Details for alaea-3.0.2-py3-none-any.whl

Total release size: 257.3 kB

Release files / alaea-3.0.2.tar.gz

Download URL alaea-3.0.2.tar.gz
Size 135.5 kB
Tags Source
SHA-256 checksum
How to use checksums
306a269f6d5d17dc476777e5df924cae7a2518ea63dae2bdb47554e66e26c9d6
BLAKE2b-256 checksum
How to use checksums
ddbbada239b06145b0d5136f263b7221c4417777c21e913bd2f7338347d36cf8
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.2-py3-none-any.whl

Download URL alaea-3.0.2-py3-none-any.whl
Size 121.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0acf531f5212866f3253b0d5ebbbc37ef9b9a9cd55ac5116f6ee680d2dc925c9
BLAKE2b-256 checksum
How to use checksums
caf5be1000e72b4923fe305157bb676111fbd1386b3e2931d06e441813167b36
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.2

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.

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page