Closed butchtm closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Unlike the ookla and osm datasets, nightlights uses raster files so I don't actually load the raster file, - I just create a clipped raster file from the global file using the total bounds of the aoi -- this is actually pretty fast (about 15msecs). The slowest parts of the process are:
povertymapping.nightlights
modulepovertymapping.nightlights.generate_nightlights_feature
method that addsavg_rad_mean
,avg_rad_max
,avg_rad_min
,avg_rad_median
columns to the aoi.~/.geowrangler/nightlights/global
~/.geowrangler/nightlights/clip
get_eog_access_token
to create and store the eog access token using the user's registered username and password (instructions and links to registration page are included in the test notebook).