Renewable_ninja_download

Module: Renewable_ninja_download

A module for downloading data from Renewable ninja. You need to have a token (account) and also a shape file of the points that you want to download.

Usage limits https://www.renewables.ninja/documentation Anonymous users are limited to a maximum of 5 requests per day. To increase this limit to 50 per hour, please register for a free user account on renewable.ninja


Module author: Nandi Moksnes <nandi@kth.se>

Functions

adjust_timezone(path, time_zone_offset)

The renewable.ninja dataset is in UCT timezone so this function adjusts the dataset to time_zone_offset time :param path: :param time_zone_offset: :return:

csv_make(coordinates)

This function extracts the coordinates for the csv build to renewable ninja

download(path, Rpath, srcpath, wind, solar, …)

This function downloads the renewable ninja data according to the limit of the maximum per hour

project_vector(vectordata)

This function projects the vectordata to EPSG: 4326 as the renewable ninja data is in that CRS