Skip to main content

wis-s3api

image image

获取minio中的grid数据

安装

  • 通过pip
pip install wis-s3api
  • 通过源代码
# 下载源码
git clone http://gitlab.waterism.com:8888/zhujianfeng/wis-s3api.git
# 进入到源码目录
cd wis-s3api
# 安装依赖
pip install -r requirements.txt
# 安装wis-s3api
python setup.py install

功能及使用

直接从内网minio获取grid数据,返回xarray.Dataset或DataArray格式。数据包括:

from wis_s3api import era5

# 起止时间和四至范围
start_time = np.datetime64('2021-01-01T01:00:00.000000000')
end_time = np.datetime64('2021-02-01T00:00:00.000000000')
bbox = (121,38,122,40)

# 获取Dataset
ds = era5.open(['Total precipitation','10 metre U wind component'],start_time=start_time,end_time=end_time,bbox=bbox)
  • 获取GPM数据
from wis_s3api import gpm

# 起止时间和四至范围
start_time = np.datetime64('2021-01-01T01:00:00.000000000')
end_time = np.datetime64('2021-02-01T00:00:00.000000000')
bbox = (121,38,122,40)

# 获取Dataset
ds = gpm.open(start_time=start_time,end_time=end_time,bbox=bbox)
  • 获取GFS数据

Metadata

Release files for wis-s3api 0.0.13

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

Source distribution (sdist)

Source distribution for wis-s3api 0.0.13
File Size Uploaded Provenance Actions
wis-s3api-0.0.13.tar.gz 10.6 kB Without provenance Details for wis-s3api-0.0.13.tar.gz

Release files / wis-s3api-0.0.13.tar.gz

Download URL wis-s3api-0.0.13.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
035d21e5c252b5991ba4dfd7d640575feca9d568ba9170250f1814b230d4b4bc
BLAKE2b-256 checksum
How to use checksums
86ca4e3dfeaa1ca75981b5e4710471d53dd1d3e5f64beb12417dd82e17e86190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.4 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

Security for wis-s3api 0.0.13

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.

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