pypsa-eur/doc/retrieve.rst

4.7 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Retrieving Data

Not all data dependencies are shipped with the git repository, since git is not suited for handling large changing files. Instead we provide separate data bundles which can be obtained using the retrieve* rules.

Rule retrieve_databundle

System Message: ERROR/3 (<stdin>, line 20)

Unknown directive type "automodule".

.. automodule:: retrieve_databundle

Rule retrieve_cutout

Cutouts are spatio-temporal subsets of the European weather data from the ECMWF ERA5 reanalysis dataset and the CMSAF SARAH-2 solar surface radiation dataset for the year 2013. They have been prepared by and are for use with the atlite tool. You can either generate them yourself using the build_cutouts rule or retrieve them directly from zenodo through the rule retrieve_cutout. The :ref:`tutorial` uses a smaller cutout than required for the full model (30 MB), which is also automatically downloaded.

System Message: ERROR/3 (<stdin>, line 28); backlink

Unknown interpreted text role "ref".

Note

To download cutouts yourself from the ECMWF ERA5 you need to set up the CDS API.

Relevant Settings

System Message: WARNING/2 (<stdin>, line 38)

Cannot analyze code. Pygments package not found.

.. code:: yaml

    tutorial:
    enable:
        build_cutout:

System Message: ERROR/3 (<stdin>, line 44)

Unknown directive type "seealso".

.. seealso::
    Documentation of the configuration file ``config/config.yaml`` at
    :ref:`toplevel_cf`

Outputs

  • cutouts/{cutout}: weather data from either the ERA5 reanalysis weather dataset or SARAH-2 satellite-based historic weather data.

System Message: ERROR/3 (<stdin>, line 52)

Unknown directive type "seealso".

.. seealso::
    For details see :mod:`build_cutout` and read the `atlite documentation <https://atlite.readthedocs.io>`_.


Rule retrieve_natura_raster

This rule, as a substitute for :mod:`build_natura_raster`, downloads an already rasterized version (natura.tiff) of Natura 2000 natural protection areas to reduce computation times. The file is placed into the resources sub-directory.

System Message: ERROR/3 (<stdin>, line 62); backlink

Unknown interpreted text role "mod".

Relevant Settings

System Message: WARNING/2 (<stdin>, line 66)

Cannot analyze code. Pygments package not found.

.. code:: yaml

    enable:
        build_natura_raster:

System Message: ERROR/3 (<stdin>, line 71)

Unknown directive type "seealso".

.. seealso::
    Documentation of the configuration file ``config/config.yaml`` at
    :ref:`toplevel_cf`

Outputs

  • resources/natura.tiff: Rasterized version of Natura 2000 natural protection areas to reduce computation times.

System Message: ERROR/3 (<stdin>, line 79)

Unknown directive type "seealso".

.. seealso::
    For details see :mod:`build_natura_raster`.


Rule retrieve_electricity_demand

This rule downloads hourly electric load data for each country from the OPSD platform.

Relevant Settings

None.

Outputs

  • resources/load_raw.csv

Rule retrieve_cost_data

This rule downloads techno-economic assumptions from the technology-data repository.

Relevant Settings

System Message: WARNING/2 (<stdin>, line 104)

Cannot analyze code. Pygments package not found.

.. code:: yaml

    enable:
        retrieve_cost_data:

    costs:
        year:
        version:

System Message: ERROR/3 (<stdin>, line 113)

Unknown directive type "seealso".

.. seealso::
    Documentation of the configuration file ``config/config.yaml`` at
    :ref:`costs_cf`

Outputs

  • resources/costs.csv

Rule retrieve_irena

System Message: ERROR/3 (<stdin>, line 124)

Unknown directive type "automodule".

.. automodule:: retrieve_irena

Rule retrieve_ship_raster

This rule downloads data on global shipping traffic density from the World Bank Data Catalogue.

Relevant Settings

None.

Outputs

  • data/shipdensity_global.zip

Rule retrieve_sector_databundle

In addition to the databundle required for electricity-only studies, another databundle is required for modelling sector-coupled systems. The size of this data bundle is around 640 MB.

</html>