A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

atlite

Light-weight version of Aarhus RE Atlas for converting weather data to power systems data.
https://github.com/pypsa/atlite

Category: Energy Systems
Sub Category: Renewable Energy Integration

Keywords

csp dynamic-line-rating energy energy-system energy-systems era5 gis heat-pump potentials pv python reanalysis renewable-energy renewable-timeseries solar wind

Keywords from Contributors

energy-system-model power-systems pypsa energy-model optimisation pyomo linopy energy-transition renewables powerflow

Last synced: about 13 hours ago
JSON representation

Repository metadata

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

README.rst

            .. SPDX-FileCopyrightText: Contributors to atlite 

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

======
atlite
======

|PyPI version| |Conda version| |Documentation Status| |ci| |codecov| |standard-readme compliant| |MIT-image| |reuse| |black| |pre-commit.ci| |joss| |discord| |stackoverflow|

atlite is a `free software`_, `xarray`_-based Python library for
converting weather data (like wind speeds, solar influx) into energy systems data.
It is designed to be lightweight, keeping computing resource requirements (CPU, RAM) usage low.
It is therefore well suited to be used with big weather datasets.

.. 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
.. * Dewpoint 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
`_.


Installation
============

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+https://github.com/pypsa/atlite.git


Documentation
===============
.. * 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/create_cutout.py `_
.. * 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/ `_


Please check the `documentation `_.


Support & Contributing
======================
* In case of code-related **questions**, please post on `stack overflow `_.
* For non-programming related and more general questions please refer to the `pypsa mailing list `_.
* To **discuss** with other PyPSA and atlite users, organise projects, share news, and get in touch with the community you can use the `discord server `_.
* For **bugs and feature requests**, please use the `issue tracker `_.
* We strongly welcome anyone interested in providing **contributions** to this project. If you have any ideas, suggestions or encounter problems, feel invited to file issues or make pull requests on the `Github repository `_.

Authors and Copyright
---------------------

Copyright (C) Contributors to atlite 

See the `AUTHORS`_ for details.

Licence
=======

|MIT-image|

This work is licensed under multiple licences:

-  All original source code is licensed under `MIT`_
-  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: http://www.gnu.org/philosophy/free-sw.en.html
.. _xarray: http://xarray.pydata.org/en/stable/

.. _conda-forge: https://anaconda.org/conda-forge/atlite
.. _pypi: https://pypi.org/project/atlite/%3E
.. _GitHub: https://github.com/pypsa/atlite

.. _documentation on getting started: https://atlite.readthedocs.io/en/latest/getting-started.html

.. _AUTHORS: AUTHORS.rst

.. _MIT: LICENSES/MIT.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:: https://img.shields.io/pypi/v/atlite.svg
   :target: https://pypi.python.org/pypi/atlite
.. |Conda version| image:: https://img.shields.io/conda/vn/conda-forge/atlite.svg
   :target: https://anaconda.org/conda-forge/atlite
.. |Documentation Status| image:: https://readthedocs.org/projects/atlite/badge/?version=master
   :target: https://atlite.readthedocs.io/en/master/?badge=master
.. |standard-readme compliant| image:: https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat
   :target: https://github.com/RichardLitt/standard-readme
.. |MIT-image| image:: https://img.shields.io/pypi/l/atlite.svg
   :target: LICENSES/MIT.txt
.. |codecov| image:: https://codecov.io/gh/PyPSA/atlite/branch/master/graph/badge.svg?token=TEJ16CMIHJ
   :target: https://codecov.io/gh/PyPSA/atlite
.. |ci| image:: https://github.com/PyPSA/atlite/actions/workflows/test.yaml/badge.svg
   :target: https://github.com/PyPSA/atlite/actions/workflows/test.yaml
.. |reuse| image:: https://api.reuse.software/badge/github.com/pypsa/atlite
   :target: https://api.reuse.software/info/github.com/pypsa/atlite
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: black
.. |pre-commit.ci| image:: https://results.pre-commit.ci/badge/github/PyPSA/atlite/master.svg
   :target: https://results.pre-commit.ci/latest/github/PyPSA/atlite/master
   :alt: pre-commit.ci status
.. |joss| image:: https://joss.theoj.org/papers/10.21105/joss.03294/status.svg
   :target: https://doi.org/10.21105/joss.03294
.. |discord| image:: https://img.shields.io/discord/911692131440148490?logo=discord
   :target: https://discord.gg/AnuJBk23FU
.. |stackoverflow| image:: https://img.shields.io/stackexchange/stackoverflow/t/pypsa
   :target: https://stackoverflow.com/questions/tagged/pypsa
   :alt: Stackoverflow

        

Citation (CITATION.cff)

# SPDX-FileCopyrightText: Contributors to atlite <https://github.com/pypsa/atlite>
#
# SPDX-License-Identifier: CC0-1.0

cff-version: 1.2.0
message: "If you use this package, please cite our corresponding paper in JOSS (The Journal of Open Source Software)."
title: "atlite: A Lightweight Python Package for Calculating Renewable Power Potentials and Time Series"
journal: The Journal of Open Source Software
doi: "10.21105/joss.03294"
repository: "https://github.com/PyPSA/atlite"
version: "0.2.5"
date-released: "2021-06-24"
license: "MIT"
authors:
  - family-names: "Hofmann"
    given-names: "Fabian"
    orcid: "https://orcid.org/0000-0002-6604-5450"
  - family-names: "Hampp"
    given-names: "Johannes"
    orcid: "https://orcid.org/0000-0002-1776-116X"
  - family-names: "Neumann"
    given-names: "Fabian"
    orcid: "https://orcid.org/0000-0001-8551-1480"
  - family-names: "Brown"
    given-names: "Tom"
    orcid: "https://orcid.org/0000-0001-5898-1911"
  - family-names: "Hörsch"
    given-names: "Jonas"
    orcid: "https://orcid.org/0000-0001-9438-767X"

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 647
Total Committers: 37
Avg Commits per committer: 17.486
Development Distribution Score (DDS): 0.754

Commits in past year: 62
Committers in past year: 14
Avg Commits per committer in past year: 4.429
Development Distribution Score (DDS) in past year: 0.629

Name Email Commits
Jonas Hörsch h****h@f****e 159
Fabian f****f@g****e 146
pre-commit-ci[bot] 6****] 84
euronion 4****n 44
Fabian Neumann f****n@o****e 32
Lukas Trippe l****p@p****e 26
Parisra 1****a 22
Tom Brown t****m@n****g 20
LukasFrankenQ l****n@g****m 14
Markus Schlott s****t@u****e 11
Max Parzen m****n@e****k 10
Enrique Lizarraga-Garcia-WALT e****a@m****m 10
energyls l****m@o****e 7
davide-f f****s@g****m 7
David Schlachtberger s****r@f****e 6
Seth s****n@g****m 6
calvintr c****s@a****m 6
Zoltán Marić 5****c 5
Tasqu t****u@v****i 5
martavp m****z@g****m 4
Youssef Miftah m****o@o****r 3
hailiangliu89 h****9 3
Philipp Glaum p****m@r****e 2
dependabot[bot] 4****] 2
lumbric l****c@g****m 1
Bryn Pickering b****g@u****h 1
fabulous f****s@G****x 1
RichardScottOZ 7****Z 1
Ove Haugvaldstad o****v@o****m 1
Matthias Zech m****h@g****m 1
and 7 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 135
Total pull requests: 313
Average time to close issues: 4 months
Average time to close pull requests: 22 days
Total issue authors: 47
Total pull request authors: 38
Average comments per issue: 2.81
Average comments per pull request: 1.7
Merged pull request: 265
Bot issues: 0
Bot pull requests: 60

Past year issues: 25
Past year pull requests: 77
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 7 days
Past year issue authors: 17
Past year pull request authors: 17
Past year average comments per issue: 3.16
Past year average comments per pull request: 0.61
Past year merged pull request: 57
Past year bot issues: 0
Past year bot pull requests: 13

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/pypsa/atlite

Top Issue Authors

  • euronion (28)
  • FabianHofmann (23)
  • fneum (10)
  • coroa (7)
  • davide-f (7)
  • irm-codebase (5)
  • kandersolar (4)
  • pz-max (3)
  • crvernon (3)
  • Irieo (2)
  • nworbmot (2)
  • TimFuermann (2)
  • obeles (2)
  • lukas-rokka (2)
  • hailiangliu89 (2)

Top Pull Request Authors

  • FabianHofmann (74)
  • pre-commit-ci[bot] (58)
  • euronion (46)
  • fneum (34)
  • lkstrp (27)
  • coroa (21)
  • yndevops2 (5)
  • pz-max (4)
  • TimFuermann (3)
  • davide-f (3)
  • Tasqu (2)
  • joAschauer (2)
  • zoltanmaric (2)
  • dependabot[bot] (2)
  • lmezilis (2)

Top Issue Labels

  • type: bug (55)
  • type: enhancement (44)
  • priority: low (14)
  • status: help wanted (13)
  • status: pending (12)
  • status: needs classification (10)
  • priority: medium (9)
  • type: info (6)
  • status: in progress (4)
  • type: discussion (4)
  • priority: high (4)
  • type: maintenance (2)
  • status: wontfix ¯\_[ツ]_/¯ (2)
  • help wanted (1)

Top Pull Request Labels

  • type: enhancement (8)
  • status: in progress (6)
  • priority: medium (4)
  • type: bug (3)
  • status: help wanted (2)
  • priority: low (2)
  • priority: high (2)
  • dependencies (2)

Package metadata

pypi.org: atlite

Library for fetching and converting weather data to power systems data

  • Homepage: https://github.com/PyPSA/atlite
  • Documentation: https://atlite.readthedocs.io/en/latest/
  • Licenses: MIT License Copyright (c) Contributors to atlite Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 0.4.0 (published 3 months ago)
  • Last Synced: 2025-04-25T13:05:37.218Z (1 day ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 15
  • Downloads: 2,337 Last month
  • Rankings:
    • Dependent repos count: 3.78%
    • Stargazers count: 4.678%
    • Forks count: 5.229%
    • Average: 6.187%
    • Dependent packages count: 7.306%
    • Downloads: 9.943%
  • Maintainers (3)
proxy.golang.org: github.com/pypsa/atlite

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/pypsa/atlite#section-documentation
  • Licenses:
  • Latest release: v0.4.0 (published 3 months ago)
  • Last Synced: 2025-04-25T13:05:37.777Z (1 day ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
conda-forge.org: atlite

Atlite is a free software, xarray-based Python library for converting weather data (such as wind speeds, solar radiation, temperature and runoff) into power systems data (such as wind power, solar power, hydro power and heating demand time series). It is designed to work with big datasets, such as hourly global weather data over several years at spatial resolutions down to e.g. 0.1 x 0.1 degree resolution.

  • Homepage: https://github.com/PyPSA/atlite
  • Licenses: GPL-3.0-or-later
  • Latest release: 0.2.9 (published over 2 years ago)
  • Last Synced: 2025-04-25T13:05:51.587Z (1 day ago)
  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Rankings:
    • Dependent repos count: 17.914%
    • Forks count: 24.038%
    • Stargazers count: 27.247%
    • Average: 30.185%
    • Dependent packages count: 51.54%

Dependencies

setup.py pypi
  • bottleneck *
  • cdsapi *
  • dask >=2021.10.0
  • geopandas *
  • netcdf4 *
  • numexpr *
  • numpy *
  • pandas >=0.25
  • progressbar2 *
  • pyproj >=2
  • pyyaml *
  • rasterio >1.2.10
  • requests *
  • scipy *
  • shapely *
  • toolz *
  • tqdm *
  • xarray >=0.20
.github/workflows/CI.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • codecov/codecov-action v1 composite
.github/workflows/deploy.yml actions
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite
pyproject.toml pypi
environment.yaml conda
  • black
  • bottleneck
  • cdsapi
  • dask >=2021.10.0
  • geopandas
  • netcdf4
  • numexpr
  • numpy
  • pandas >=0.25
  • pip
  • pre-commit
  • progressbar2
  • pyproj >=2.0
  • pytest
  • python >=3.6
  • rasterio !=1.2.10
  • requests
  • scipy
  • shapely
  • toolz
  • tqdm
  • xarray >=0.16.2
  • yaml

Score: 17.242955050674837