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

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.1
File Size Uploaded Provenance Actions
alaea-3.0.1.tar.gz 135.8 kB Without provenance Details for alaea-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 257.1 kB

Release files / alaea-3.0.1.tar.gz

Download URL alaea-3.0.1.tar.gz
Size 135.8 kB
Tags Source
SHA-256 checksum
How to use checksums
65320c7304e4edb98f176a350d0d3bea0cb1d9e0ddcce233c4aea466718af9d5
BLAKE2b-256 checksum
How to use checksums
de97153acff0b7e9b0c88bbb184858729e18d1f9e43b22158164ce2d094be2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / alaea-3.0.1-py3-none-any.whl

Download URL alaea-3.0.1-py3-none-any.whl
Size 121.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09e11879d206a5f92af72af1d9efd5e135f70567a774cfba964bfb1b7db0efbd
BLAKE2b-256 checksum
How to use checksums
87d6214ed51a5101d0ef0f3c97bb616d9a6dbedaa0ed74b2f4efa81c22f5decd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for Alaea 3.0.1

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