Heat and Trees

Right click to download this notebook from GitHub.


In this notebook we'll be exploring the urban heat island effect by looking at the impact on surface temperature of roof color and street trees. We'll be replicating the process described here: http://urbanspatialanalysis.com/urban-heat-islands-street-trees-in-philadelphia/ but using Python tools rather than ESRI.

Extra packages: To run this notebook, you'll need the PyViz tools and a library of top of atmosphere calculations from rio-toa: pip install rio-toa

Data sources: This notebook uses Landsat data from Google Cloud Storage as well as some geographic data from OpenDataPhilly.

In [1]:
import intake
import xarray as xr
import pandas as pd
import numpy as np
import geopandas as gpd

import cartopy.crs as ccrs

import holoviews as hv
import hvplot.xarray
import hvplot.pandas

from geoviews.tile_sources import EsriImagery

hv.extension('bokeh')