gnssr4water.plot.sites module#

PLotting utilities for site plots

@author: Roelof Rietbroek, r.rietbroek@utwente.nl, 2025

gnssr4water.plot.sites.calc_extent(lon, lat, dist)#

This function calculate extent of map

Parameters:
  • lat (float) – Location of latitude and longitudee in degrees.

  • lon (float) – Location of latitude and longitudee in degrees.

Returns:

dist – Distance to edge from centre in meters.

Return type:

float

gnssr4water.plot.sites.image_spoof(self, tile)#

This function reformats web requests from OSM for cartopy.

Heavily based on code by Joshua Hrisko at: https://makersportal.com/blog/2020/4/24/geographic-visualizations-in-python-with-cartopy

gnssr4water.plot.sites.siteBaseMap(lon, lat, distance=30, style=None)#