sebwehrle / cleo

Wind resource assessment with the Global Wind Atlas
MIT License
1 stars 1 forks source link

CLEO

CLEO is a xarray-based Python library for converting data from the Global Wind Atlas to wind resource assessment. CLEO can produce data such as

in the high, native spatial resolution of the Global Wind Atlas. CLEO also supports some geospatial operations such as reprojecting to EPSG-coordinate reference systems and clipping to geopandas geometries.

Installation

At the moment, CLEO is usable only from its GitHub repo.

pip install git+https://github.com/sebwehrle/cleo.git

In a later release we aim to improve installation.

Documentation

CLEO's functions are documented in-line. We are working towards an improved documentation.

How to get started

To get started, initialize a Atlas-class object via

from cleo.classes import Atlas

atlas = Atlas("path/to/base/dir", "XYZ", "epsg:1234")

where XYZ is a 3-digit ISO country code as used by the GWA API and epsg:1234 specifies a coordinate reference system. Upon initialization, the class will download data for XYZ. The class wraps two xarray.Datasets, one for wind resources and one for further spatial characteristics. The corresponding data is accessible through atlas.wind.data and atlas.landscape.data, respectively

Properties

An Atlas-object has the following properties:

Methods

The WindAtlas-subclass provides several methods, including:

Author and Copyright

Copyright (c) 2024 Sebastian Wehrle

License

MIT License