pypsa-eur/doc/preparation/retrieve.rst
2022-09-16 13:04:06 +00:00

3.1 KiB

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

Rules retrieve*

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 19)

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 27); 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 37)

Cannot analyze code. Pygments package not found.

.. code:: yaml

    tutorial:
    enable:
        build_cutout:

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

Unknown directive type "seealso".

.. seealso::
    Documentation of the configuration file ``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 51)

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 61); backlink

Unknown interpreted text role "mod".

Relevant Settings

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

Cannot analyze code. Pygments package not found.

.. code:: yaml

    enable:
        build_natura_raster:

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

Unknown directive type "seealso".

.. seealso::
    Documentation of the configuration file ``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 78)

Unknown directive type "seealso".

.. seealso::
    For details see :mod:`build_natura_raster`.
</html>