项目 / PyPSA/atlite

PyPSA/atlite

行业推荐
语言 Python标签 pythonenergyenergy-systemenergy-systemswindpvera5renewable-timeseriesrenewable-energypotentialsgisreanalysissolarcspheat-pumpdynamic-line-rating数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

atlite: A Lightweight Python Package for Calculating Renewable Power Potentials and Time Series

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
atlite: A Lightweight Python Package for Calculating Renewable Power Potentials and Time Series
413累计星
134Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

能耗监测与能效优化

适配系统:能源管理系统、能耗监测平台 · 得分 1.4

面向能耗采集与负荷分析建模,可用于园区/楼宇能效诊断与用能优化建议。

在途追踪与可视化看板

适配系统:在途可视化平台、GIS/地图服务 · 得分 1.2

具备位置数据接入与地图渲染能力,可用于在途节点追踪与作业看板。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
安装需要可用的 Python 3.11 及以上环境,并强烈建议使用 miniconda 或 anaconda。
特点或设计要点
工作流程通常是:先准备一块称为 cutout 的天气数据切片,再按网格单元换算,并按区域形状汇总。一块 cutout 可以组合多个数据集,例如把 ERA5 与更高分辨率的 SARAH 太阳辐射一起使用。汇总前还可排除不可用土地(如保护区)以计算潜力。文档提供 Jupyter 示例和 API 参考。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-23 · 语言 Python · 贡献者 —
python

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 6,279 字节。

<!--
SPDX-FileCopyrightText: Contributors to atlite <https://github.com/pypsa/atlite>

SPDX-License-Identifier: CC-BY-4.0
-->

# atlite

[![PyPI version](https://img.shields.io/pypi/v/atlite.svg)](https://pypi.python.org/pypi/atlite)
[![Conda version](https://img.shields.io/conda/vn/conda-forge/atlite.svg)](https://anaconda.org/conda-forge/atlite)
[![Documentation Status](https://readthedocs.org/projects/atlite/badge/?version=master)](https://atlite.readthedocs.io/en/master/?badge=master)
[![Tests](https://github.com/PyPSA/atlite/actions/workflows/test.yaml/badge.svg)](https://github.com/PyPSA/atlite/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/PyPSA/atlite/branch/master/graph/badge.svg?token=TEJ16CMIHJ)](https://codecov.io/gh/PyPSA/atlite)
[![License](https://img.shields.io/pypi/l/atlite.svg)](LICENSES/MIT.txt)
[![REUSE status](https://api.reuse.software/badge/github.com/pypsa/atlite)](https://api.reuse.software/info/github.com/pypsa/atlite)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/PyPSA/atlite/master.svg)](https://results.pre-commit.ci/latest/github/PyPSA/atlite/master)
[![JOSS](https://joss.theoj.org/papers/10.21105/joss.03294/status.svg)](https://doi.org/10.21105/joss.03294)
[![Discord](https://img.shields.io/discord/911692131440148490?logo=discord)](https://discord.gg/AnuJBk23FU)

atlite converts weather data into energy system data. It turns wind speed, solar
radiation, temperature and runoff into time series of wind and solar power, hydro
inflow, heating demand and more. atlite is free software, built on
[xarray](https://docs.xarray.dev/en/stable/) and
[dask](https://www.dask.org/). It processes large weather datasets in chunks
and therefore needs little memory.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/PyPSA/atlite/master/docs/assets/images/workflow_chart-dark.svg">
  <img alt="How atlite works: 1 weather data, 2 cutout, 3 conversion per grid cell, 4 aggregation to regions" src="https://raw.githubusercontent.com/PyPSA/atlite/master/docs/assets/images/workflow_chart.svg">
</picture>

A cutout can combine several datasets, for example ERA5 with the
higher-resolution solar radiation of SARAH. Before aggregation, atlite can also
exclude land that is not available, such as protected areas, to calculate
potentials.

## Example

This example downloads ERA5 data for Germany in January 2023. It then calculates
hourly wind capacity factors for each region in a file of region shapes:

```python
import atlite
import geopandas as gpd

cutout = atlite.Cutout(
    path="germany-2023-01.nc",
    module="era5-edh",
    x=slice(5.5, 15.5),
    y=slice(47, 55.5),
    time="2023-01",
)
cutout.prepare()

regions = gpd.read_file("regions.geojson").set_index("name")
wind = cutout.wind(
    turbine="Vestas_V112_3MW",
    shapes=regions,
    per_unit=True,
    aggregate_time=None,
)
```

The result is an `xarray.DataArray` with one time series per region. To download
ERA5 data, you need a free account; see
[ERA5 credentials](https://atlite.readthedocs.io/en/latest/home/installation/#era5-credentials).

## Installation

atlite requires Python 3.11 or newer. Install it with `conda` from
[conda-forge](https://anaconda.org/conda-forge/atlite):

```shell
conda install -c conda-forge atlite
```

or with `pip` from [PyPI](https://pypi.org/project/atlite/):

```shell
pip install atlite
```

To install the latest development version from GitHub:

```shell
pip install git+https://github.com/PyPSA/atlite.git
```

## Documentation

The [documentation](https://atlite.readthedocs.io/en/latest/) contains an
[introduction](https://atlite.readthedocs.io/en/latest/home/introduction/),
[examples](https://atlite.readthedocs.io/en/latest/examples/examples/) as
Jupyter notebooks and the
[API reference](https://atlite.readthedocs.io/en/latest/api/cutout/).

## Support and contributing

- To ask questions and talk to other users, join the
  [Discord server](https://discord.gg/AnuJBk23FU).
- To report bugs or request features, use the
  [issue tracker](https://github.com/PyPSA/atlite/issues).
- We welcome contributions. Read the
  [contributing guidelines](https://atlite.readthedocs.io/en/latest/contributing/contributing/)
  and open an issue or a pull request.

For the next development goals, see the
[roadmap](https://github.com/orgs/PyPSA/projects/12/views/1) and the open
[enhancements](https://github.com/PyPSA/atlite/issues/?q=is%3Aissue%20state%3Aopen%20label%3A%22type%3A%20enhancement%22).

## Citing

If you use atlite in your research, please cite the
[paper in the Journal of Open Source Software](https://doi.org/10.21105/joss.03294).
The [citing page](https://atlite.readthedocs.io/en/latest/home/citing/) has
the BibTeX entry.

## Origin

atlite began as a lightweight version of the Aarhus University RE Atlas
([Andresen et al., 2015](https://doi.org/10.1016/j.energy.2015.09.071)). The
Renewable Energy Group at [FIAS](https://fias.institute/) developed it for the
[CoNDyNet project (archived)](https://web.archive.org/web/20210420004051/http://condynet.de/),
funded by the [German Federal Ministry of Education and Research (BMBF)](https://www.bmftr.bund.de/EN/)
as part of the
[Stromnetze Research Initiative (archived)](https://web.archive.org/web/20190127192900/http://forschung-stromnetze.info/projekte/grundlagen-und-konzepte-fuer-effiziente-dezentrale-stromnetze/).
Today, volunteers from different institutions maintain atlite; see the
[contributors](https://atlite.readthedocs.io/en/latest/contributing/contributors/).

atlite connects meteorology and energy system modelling, two communities that
have long worked apart. Models such as [PyPSA-Eur](https://github.com/PyPSA/pypsa-eur)
use its time series.

## License

Copyright (C) Contributors to atlite <https://github.com/pypsa/atlite>

- The source code is licensed under [MIT](LICENSES/MIT.txt).
- The documentation is licensed under [CC-BY-4.0](LICENSES/CC-BY-4.0.txt).
- Configuration and data files are mostly licensed under [CC0-1.0](LICENSES/CC0-1.0.txt).

See the individual files for details.
↑