View on GitHub

DATA310

DATA 310 - Professor Frazier; MWF 1200-1250

Informal Exercise 6 - 3/29

Download the administrative subdivision for your selected country (Kenya).

Done - downloaded from here:

image

Download the population raster from Worldpop for your selected county (Kenya).

Done - downloaded from here:

image

Download the 12 rasters from your selected country (Kenya). Produce a raster stack and calculate summary statistics using the script posted to our slack channel.

NOTE: this is not the entire table, just the first 10 rows.

sum.water sum.gadm36_KEN_shp.dst040 sum.gadm36_KEN_shp.dst130 sum.gadm36_KEN_shp.dst140 sum.gadm36_KEN_shp.dst150 sum.gadm36_KEN_shp.dst160 sum.gadm36_KEN_shp.dst190 sum.gadm36_KEN_shp.dst200 sum.dst_water_100m_2000_2012.tif sum.topo sum.slope sum.ntl sum.pop19 sum.dst150 sum.dst160 sum.dst190 sum.dst200 sum.ken_srtm_topo_100m sum.ken_srtm_slope_100m sum.ken_viirs_100m_2016 sum.ken_ppp_2020 mean.water mean.gadm36_KEN_shp.dst040 mean.gadm36_KEN_shp.dst130 mean.gadm36_KEN_shp.dst140 mean.gadm36_KEN_shp.dst150 mean.gadm36_KEN_shp.dst160 mean.gadm36_KEN_shp.dst190 mean.gadm36_KEN_shp.dst200 mean.dst_water_100m_2000_2012.tif mean.topo mean.slope mean.ntl mean.pop19 mean.dst150 mean.dst160 mean.dst190 mean.dst200 mean.ken_srtm_topo_100m mean.ken_srtm_slope_100m mean.ken_viirs_100m_2016 mean.ken_ppp_2020
-1133.944336 71769.29688 4504.380859 52034.92188 2584456.5 539194.6875 164318.5625 438437.4063 245354.6875 -1133.944336 71769.29688 4504.380859 52034.92188 2584456.5 539194.6875 164318.5625 438437.4063 33382208 35586.19141 883.1774292 22036.47461 -0.055760287 3.529164791 0.221497267 2.558751822 127.0873947 26.51422119 8.080158234 21.55960846 12.06500816 -0.055760287 3.529164791 0.221497267 2.558751822 127.0873947 26.51422119 8.080158234 21.55960846 1641.528076 1.749906182 0.04342914 1.083615899
3912.136963 -897.9589233 31036.8125 93417.04688 2247934.25 494289.7813 228894.2969 167160.4219 109223.7109 3912.136963 -897.9589233 31036.8125 93417.04688 2247934.25 494289.7813 228894.2969 167160.4219 37076440 302184.9063 731.9147949 33065.56641 0.187338471 -0.043000091 1.486243725 4.473413467 107.6456604 23.6697979 10.96094227 8.004724503 5.23033905 0.187338471 -0.043000091 1.486243725 4.473413467 107.6456604 23.6697979 10.96094227 8.004724503 1775.460205 14.47057152 0.035048824 1.585291505
-15.44861794 14662.12891 19228.45898 31182.44336 2051382.125 269311.1563 99720.32031 159486.8438 182598.6875 -15.44861794 14662.12891 19228.45898 31182.44336 2051382.125 269311.1563 99720.32031 159486.8438 26389114 153105.9375 618.9888306 20488.24023 -0.000834804 0.792304158 1.039057016 1.68501997 110.8514786 14.55289078 5.388632774 8.618263245 9.86716938 -0.000834804 0.792304158 1.039057016 1.68501997 110.8514786 14.55289078 5.388632774 8.618263245 1426.00061 8.27345562 0.033448584 1.107132435
3410.196533 387.0757751 8642.392578 26985.03711 1554647.625 317013.0313 79279.13281 110808.2109 103204.5 3410.196533 387.0757751 8642.392578 26985.03711 1554647.625 317013.0313 79279.13281 110808.2109 22922146 159526.7969 1638.615723 41203.27344 0.249046072 0.028268076 0.631152451 1.970712662 113.5356522 23.15140724 5.789741516 8.09230423 7.537006855 0.249046072 0.028268076 0.631152451 1.970712662 113.5356522 23.15140724 5.789741516 8.09230423 1674.000366 11.6502142 0.119667821 3.009068012
4638.709961 -2018.264282 14844.47168 37663.56641 1328987.5 323373.5 136210.8906 67333.14844 133118.5156 4638.709961 -2018.264282 14844.47168 37663.56641 1328987.5 323373.5 136210.8906 67333.14844 18189416 139204.8594 510.1287537 17978.5293 0.416619033 -0.181267485 1.333234787 3.382698774 119.3610916 29.04332352 12.2335844 6.047429562 11.95584679 0.416619033 -0.181267485 1.333234787 3.382698774 119.3610916 29.04332352 12.2335844 6.047429562 1633.656128 12.50248337 0.045816477 1.614715576
8286.376953 -5051.058105 25064.96289 48677.60938 1688293.125 450399.4688 270742.8125 123269.7969 250158.125 8286.376953 -5051.058105 25064.96289 48677.60938 1688293.125 450399.4688 270742.8125 123269.7969 21563680 165728.5313 359.5101013 11344.1543 0.630686998 -0.384442627 1.907727122 3.704916477 128.4981995 34.28049088 20.60658836 9.382225037 19.03986168 0.630686998 -0.384442627 1.907727122 3.704916477 128.4981995 34.28049088 20.60658836 9.382225037 1641.239868 12.61381531 0.027362784 0.8634184
10766.17285 11583.95215 67163.55469 193755.4688 4157372.25 1530579.875 2281303.5 748079.75 1406176 10766.17285 11583.95215 67163.55469 193755.4688 4157372.25 1530579.875 2281303.5 748079.75 77512224 458879.8125 707.5936279 16413.11328 0.188420504 0.202732578 1.175440073 3.390945196 72.75883484 26.78692055 39.92545319 13.09226227 24.60970879 0.188420504 0.202732578 1.175440073 3.390945196 72.75883484 26.78692055 39.92545319 13.09226227 1356.553711 8.030928612 0.012383709 0.287248492
-398.9953613 81776.84375 39749.62891 55975.85938 5162748.5 741939.375 1010190.375 489239.0625 677185.1875 -398.9953613 81776.84375 39749.62891 55975.85938 5162748.5 741939.375 1010190.375 489239.0625 63502848 264470.2813 829.2312012 35004.71094 -0.00730026 1.49623847 0.72728318 1.024168134 94.46076202 13.57497025 18.48305321 8.951413155 12.39018917 -0.00730026 1.49623847 0.72728318 1.024168134 94.46076202 13.57497025 18.48305321 8.951413155 1161.886475 4.838907719 0.015172115 0.642112076
3759.028076 -1287.143188 16404.2207 95588.28125 1403697.25 260730.2188 222797.0625 182937.4063 208328.7188 3759.028076 -1287.143188 16404.2207 95588.28125 1403697.25 260730.2188 222797.0625 182937.4063 27668478 198401.1094 258.6615295 29094.84766 0.253711104 -0.086874187 1.107183218 6.451616764 94.74086761 17.59767342 15.03742123 12.34714127 14.06089783 0.253711104 -0.086874187 1.107183218 6.451616764 94.74086761 17.59767342 15.03742123 12.34714127 1867.450806 13.3908453 0.017458051 1.963721991
310.9273376 1568.893188 15467.55273 66709.80469 925578.8125 237204.625 240176.2656 105770.0469 192557.5469 310.9273376 1568.893188 15467.55273 66709.80469 925578.8125 237204.625 240176.2656 105770.0469 20367836 139615.75 315.2516479 30364.91602 0.029194135 0.147309273 1.452306509 6.263633728 86.90606689 22.27203178 22.55105019 9.931146622 18.07995033 0.029194135 0.147309273 1.452306509 6.263633728 86.90606689 22.27203178 22.55105019 9.931146622 1912.412598 13.10904694 0.02960016 2.851075888

Outputs from code given in class:

image

image