Stormriv
Raster, image, and video maps¶
Geogo allows you to input raster, image and video data in order to help visualize hurricane impact.
In [ ]:
Copied!
import geogo
import geogo
Raster:
In [ ]:
Copied!
filename = "https://github.com/opengeos/datasets/releases/download/raster/nlcd_2021_land_cover_30m.tif"
filename = "https://github.com/opengeos/datasets/releases/download/raster/nlcd_2021_land_cover_30m.tif"
In [ ]:
Copied!
m = geogo.Map()
m.add_raster(filename, colormap="accent", name="demo", opacity=0.5)
m.add_storm_wg()
m
m = geogo.Map()
m.add_raster(filename, colormap="accent", name="demo", opacity=0.5)
m.add_storm_wg()
m
Image:
In [ ]:
Copied!
imageurl = "https://www.rmets.org/sites/default/files/2024-10/202409262200_g16_fd_geocolor_hurricane-helene-at-sunset_nolabels-hires.png"
bounds = (15.0, -100), (40, -60)
imageurl = "https://www.rmets.org/sites/default/files/2024-10/202409262200_g16_fd_geocolor_hurricane-helene-at-sunset_nolabels-hires.png"
bounds = (15.0, -100), (40, -60)
In [ ]:
Copied!
m = geogo.Map()
m.add_image(imageurl, name="image", opacity=0.7, bounds=bounds)
m.add_storm_wg()
m
m = geogo.Map()
m.add_image(imageurl, name="image", opacity=0.7, bounds=bounds)
m.add_storm_wg()
m