跳转到主要内容

气象和气候数据的聚合工具。

项目描述

earthkit-transforms

免责声明

本项目处于开发阶段的 BETA 阶段。请注意,随着项目的发展,接口和功能可能会发生变化。如果此软件要用于操作系统,强烈建议您在系统配置中使用已发布的标签,并且您应愿意接受需要您进行适配的更改和错误修复。ECMWF 确实 在操作中使用此软件,并遵守相同的注意事项。

earthkit-transforms 是一个软件工具库,用于支持处理气候和气象数据的个人

earthkit-transforms 包含了聚合时间和空间数据的方法,以及更多的转换和运算符。它遵循 Earthkit 的理念进行设计,因此这些方法应该与 earthkit-data 理解的任何数据对象兼容。

快速开始

安装

pip install earthkit-transforms

导入和使用

from earthkit.transforms import aggregate

daily_mean = aggregate.temporal.daily_mean(MY_DATA)

详细文档

有关更多详细文档、示例笔记本和API参考指南,请参阅earthkit-transforms readthedocs页面

开发人员/贡献者的工作流程

为了获得最佳体验,请使用 Python 3.11 创建一个新的 conda 环境(例如,DEVELOP)

conda create -n DEVELOP -c conda-forge python=3.11
conda activate DEVELOP

在推送到 GitHub 之前,运行以下命令

  1. 更新 conda 环境: make conda-env-update
  2. 安装此包: pip install -e .
  3. 运行质量保证检查: make default

许可

Copyright 2022, European Centre for Medium Range Weather Forecasts.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://apache.ac.cn/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码分发

earthkit_transforms-0.3.3.tar.gz (1.1 MB 查看哈希值)

上传时间 源代码

构建分发

earthkit_transforms-0.3.3-py3-none-any.whl (32.5 kB 查看哈希值)

上传时间 Python 3

支持