Skip to main content

atlite

PyPI version Conda version Documentation Status Tests codecov License REUSE status Ruff pre-commit.ci status JOSS Discord

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 and dask. It processes large weather datasets in chunks and therefore needs little memory.

How atlite works: 1 weather data, 2 cutout, 3 conversion per grid cell, 4 aggregation to regions

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:

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.

Installation

atlite requires Python 3.11 or newer. Install it with conda from conda-forge:

conda install -c conda-forge atlite

or with pip from PyPI:

pip install atlite

To install the latest development version from GitHub:

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

Documentation

The documentation contains an introduction, examples as Jupyter notebooks and the API reference.

Support and contributing

For the next development goals, see the roadmap and the open enhancements.

Citing

If you use atlite in your research, please cite the paper in the Journal of Open Source Software. The citing page has the BibTeX entry.

Origin

atlite began as a lightweight version of the Aarhus University RE Atlas (Andresen et al., 2015). The Renewable Energy Group at FIAS developed it for the CoNDyNet project (archived), funded by the German Federal Ministry of Education and Research (BMBF) as part of the Stromnetze Research Initiative (archived). Today, volunteers from different institutions maintain atlite; see the contributors.

atlite connects meteorology and energy system modelling, two communities that have long worked apart. Models such as PyPSA-Eur use its time series.

License

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

  • The source code is licensed under MIT.
  • The documentation is licensed under CC-BY-4.0.
  • Configuration and data files are mostly licensed under CC0-1.0.

See the individual files for details.

Metadata

Release files for atlite 0.8.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 atlite 0.8.0
File Size Uploaded Provenance Actions
atlite-0.8.0.tar.gz 7.1 MB With provenance Details for atlite-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.2 MB

Release files / atlite-0.8.0.tar.gz

Download URL atlite-0.8.0.tar.gz
Size 7.1 MB
Tags Source
SHA-256 checksum
How to use checksums
4008e68229ef5582db99f491143c1bbef2b5b7b09697741d026e8f35f5814f97
BLAKE2b-256 checksum
How to use checksums
f451ccf247d7d66d435f46530957af22b78ac59590fd39db6fbed5e7bd255b63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / atlite-0.8.0-py3-none-any.whl

Download URL atlite-0.8.0-py3-none-any.whl
Size 161.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d30190455bb4c158326ce5d3c1c2772f5ccf293303b93550e33099933ae0e3f
BLAKE2b-256 checksum
How to use checksums
a7e293af6a73e169a9b74faf15156fc3affb0ebc15e5e1da060968283fa3a68b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for atlite 0.8.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for atlite-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

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