salem.mercator_grid

salem.mercator_grid(center_ll=None, extent=None, ny=600, nx=None, order='ll')

Local transverse mercator map centered on a specified point.

Parameters:

center_ll : (float, float)

tuple of lon, lat coordinates where the map will be centered.

extent : (float, float)

tuple of eastings, northings giving the extent (in m) of the map

ny : int

number of y grid points wanted to cover the map (default: 600)

nx : int

number of x grid points wanted to cover the map (mutually exclusive with y)

order : str

‘ll’ (lower left) or ‘ul’ (upper left)