pyacs.gts.Sgts_methods.show_map module

pyacs.gts.Sgts_methods.show_map.show_map(self, bounds=None, resolution='l', highlight=[], tile=False, tile_provider='OpenTopoMap', figsize=(7, 9), show=True, save=False, velocity=False, title=None)[source]

Show map of Sgts sites (optionally with velocity).

Parameters:
  • bounds (list, optional) – [min_lon, max_lon, min_lat, max_lat]. Default is None (auto).

  • resolution (str, optional) – ‘c’, ‘l’, ‘i’, ‘h’, ‘f’. Default is ‘l’.

  • highlight (list, optional) – Site codes to highlight. Default is [].

  • tile (bool, optional) – If True, use tile_provider (requires internet). Default is False.

  • tile_provider (str, optional) – ‘OpenTopoMap’ or ‘OpenStreetMap.Mapnik’. Default is ‘OpenTopoMap’.

  • figsize (tuple, optional) – Figure size. Default is (7, 9).

  • show (bool, optional) – If True, show plot. Default is True.

  • save (bool, optional) – If True, save figure. Default is False.

  • velocity (bool, optional) – If True, plot velocities. Default is False.

  • title (str, optional) – Plot title. Default is None.

Return type:

self