salem.Map.set_topography

Map.set_topography(topo=None, crs=None, relief_factor=0.7, **kwargs)[source]

Add topographical shading to the map.

Parameters:
topo: path to a geotiff file containing the topography, OR

2d data array

relief_factor: how strong should the shading be?
kwargs: any keyword accepted by salem.Grid.map_gridded_data (interp,ks)
Returns:
the topography if needed (bonus)