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

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.1.0
File Size Uploaded Provenance Actions
alaea-3.1.0.tar.gz 169.4 kB Without provenance Details for alaea-3.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 310.2 kB

Release files / alaea-3.1.0.tar.gz

Download URL alaea-3.1.0.tar.gz
Size 169.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a6e3b16f0fa9fe1497590798982b4ac632b759f80015750c96d913d380a0c3ed
BLAKE2b-256 checksum
How to use checksums
4e36f00535c883f4396dcf755e7cd6d209d31fbaddf0daaa56c906bfd259f05f
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.1.0-py3-none-any.whl

Download URL alaea-3.1.0-py3-none-any.whl
Size 140.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd08b4573f4103004840c83904672b8f455a1e59b8a48f1b1b1260bbdb1f1055
BLAKE2b-256 checksum
How to use checksums
73fbf853f97edbf94cbefd0988f564a1c0369e510173153700f68cbd0f42c335
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.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.

Release history Release notifications | RSS feed

This release

3.1.0 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