Download_files

Module: Download_files

A module that downloads data that is required for the GEOSeMOSYS analysis and unzips them and places them in a new folder

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

Functions

download_url_data(url, temp)

This function downloads the data from URL in url (comma separated file) and place them in temp folder.

download_viirs(url_viirs, temp)

This function downloads the night time light data from EOG and places it in param temp.

unzip_all(url, fromfolder, tofolder)

This function unzips the data from URL (url) in “fromfolder” and place them in “tofolder”.