Atlite: Light-weight version of Aarhus RE Atlas for converting weather data to power systems data





GitHub Stars



Last Commit

11d ago










.. SPDX-FileCopyrightText: 2016-2021 The Atlite Authors

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



|PyPI version| |Conda version| |Documentation Status| |ci| |codecov| |standard-readme compliant| |GPL-3-or-later-image| |reuse| |black| || |joss|

Atlite is a free software, xarray-based Python library for converting weather data (like wind speeds, solar influx) into energy systems data. It has a lightweight design and works with big weather datasets while keeping the resource requirements especially on CPU and RAM resources low.

.. Atlite is designed to be modular, so that it can work with any weather .. datasets. It currently has modules for the following datasets:

.. NCEP Climate Forecast System <>_ hourly .. historical reanalysis weather data available on a 0.2 x 0.2 degree global grid .. ECMWF ERA5 .. <> hourly .. historical reanalysis weather data on an approximately 0.25 x 0.25 deg global .. grid .. * EURO-CORDEX Climate Change Projection <> .. three-hourly up until 2100, available on a 0.11 x 0.11 degree grid for Europe .. * CMSAF SARAH-2 .. <>_ .. half-hourly historical surface radiation on a 0.05 x 0.05 deg grid available .. for Europe and Africa (automatically interpolated to a 0.2 deg grid and .. combined with ERA5 temperature).

Atlite can process the following weather data fields and can convert them into following power-system relevant time series for any subsets of a full weather database.

.. image:: doc/workflow_chart.png

.. Temperature .. Downward short-wave radiation .. Upward short-wave radiation .. Wind .. Runoff .. Surface roughness .. Height maps .. Soil temperature

.. Wind power generation for a given turbine type .. Solar PV power generation for a given panel type .. Solar thermal collector heat output .. Hydroelectric inflow (simplified) .. * Heating demand (based on the degree-day approximation)

Atlite was initially developed by the Renewable Energy Group <> at FIAS <> to carry out simulations for the CoNDyNet project <>, financed by the German Federal Ministry for Education and Research (BMBF) <> as part of the Stromnetze Research Initiative <>_.


To install you need a working installation running Python 3.6 or above and we strongly recommend using either miniconda or anaconda for package management.

To install the current stable version:

with conda from conda-forge_

.. code:: shell

   conda install -c conda-forge atlite

with pip from pypi_

.. code:: shell

   pip install atlite

to install the most recent upstream version from GitHub_

.. code:: shell

   pip install git+


.. Install atlite from conda-forge or pypi. .. Download one of the weather datasets listed above (ERA5 is downloaded .. automatically on-demand after the ECMWF .. cdsapi<> client is .. properly installed) .. Create a cutout, i.e. a geographical rectangle and a selection of .. times, e.g. all hours in 2011 and 2012, to narrow down the scope - .. see examples/ <examples/>_ .. Select a sparse matrix of the geographical points inside the cutout .. you want to aggregate for your time series, and pass it to the .. appropriate converter function - see examples/ <examples/>_

Please check the documentation <>_.


If you have any ideas, suggestions or encounter problems, feel invited to file issues or make pull requests.

Copyright (C) 2016-2021 The Atlite Authors.

See the AUTHORS_ for details.



This work is licensed under multiple licences:

  • All original source code is licensed under GPL-3.0-or-later_.
  • Auxiliary code from SPHINX is licensed under BSD-2-Clause_.
  • 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 license details.

.. _free software: .. _xarray:

.. _conda-forge: .. _pypi: .. _GitHub:

.. _documentation on getting started:


.. _GPL-3.0-or-later: LICENSES/GPL-3.0-or-later.txt .. _BSD-2-Clause: LICENSES/BSD-2-Clause.txt .. _CC-BY-4.0: LICENSES/CC-BY-4.0.txt .. _CC0-1.0: LICENSES/CC0-1.0.txt

.. |PyPI version| image:: :target: .. |Conda version| image:: :target: .. |Documentation Status| image:: :target: .. |standard-readme compliant| image:: :target: .. |GPL-3-or-later-image| image:: :target: LICENSES/GPL-3.0-or-later.txt .. |codecov| image:: :target: .. |ci| image:: :target: .. |reuse| image:: :target: .. |black| image:: :target: :alt: Code style: black .. || image:: :target: :alt: status .. |joss| image:: :target:

Rate & Review

Great Documentation0
Easy to Use0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Unwelcoming Community0
No reviews found
Be the first to rate


No alternatives found


No tutorials found
Add a tutorial