California wildfires 2017 - Thomas Fire analysis¶
The Thomas Fire was a massive wildfire that started in early December 2017 in Ventura and Santa Barbara counties and grew into California's largest fire ever.
In [22]:
import arcgis
from arcgis import *
from arcgis.mapping import MapImageLayer
In [25]:
gis = GIS(profile="your_enterprise_profile")
Visualize the extent of damage¶
In [92]:
from ipywidgets import *
postfire = MapImageLayer('https://tiles.arcgis.com/tiles/DO4gTjwJVIJ7O9Ca/arcgis/rest/services/Digital_Globe_Imagery_Dec_11th/MapServer')
def side_by_side(address):
location = geocode(address)[0]
satmap1 = gis.map(location)
satmap1.basemap = 'satellite'
satmap2 = gis.map(location)
satmap2.add_layer(postfire)
satmap1.layout=Layout(flex='1 1', padding='6px', height='450px')
satmap2.layout=Layout(flex='1 1', padding='6px', height='450px')
box = HBox([satmap1, satmap2])
return box
Nob Hill, Ventura, CA¶
In [ ]:
side_by_side('Montclair Dr, Ventura, CA')
Vista Del Mar Hospital, Ventura, CA¶
In [ ]:
side_by_side('801 Seneca St, Ventura, CA 93001')