Closed davidnbresch closed 2 years ago
There is actually a direct download link: https://sedac.ciesin.columbia.edu/downloads/data/gpw-v4/gpw-v4-population-count-rev11/gpw-v4-population-count-rev11_2015_30_sec_tif.zip
However, I think we should notify the user that a (free) NASA Earthdata login is necessary to download the data.
Can this issue be closed? @emanuel-schmid @tovogt @davidnbresch
The log message in case of failure has been adapted since, with the precise link provided by @tovogt (thanks!) so I guess, yes, it can.
Upon first call of
from climada.entity import LitPop CLIMADA_exposure = LitPop() CLIMADA_exposure.set_country('Barbados’)
the following appears:
FileExistsError: The file /Users/bresch/climada/data/gpw_v4_population_count_rev13_2015_30_sec.tif could not be found. Please download the file first or choose a different folder. The data can be downloaded from http://sedac.ciesin.columbia.edu/data/collection/gpw-v4/sets/browse
Issue:
Which file to choose from http://sedac.ciesin.columbia.edu/data/collection/gpw-v4/sets/browse is hard (to impossible) to figure. Hence we need to be a bit more specific, so people find it.
--> Minimum fix: add the following text to the Error message:
The data can be downloaded from http://sedac.ciesin.columbia.edu/data/collection/gpw-v4/sets/browse. Search for the title "UN WPP-Adjusted Population Count, v4.11" and select download there.
--> A longer hint might include als:
The data can be downloaded from http://sedac.ciesin.columbia.edu/data/collection/gpw-v4/sets/browse. Search for the title "UN WPP-Adjusted Population Count, v4.11" and select download there. You might get there directly at https://sedac.ciesin.columbia.edu/data/set/gpw-v4-population-count-rev11/data-download