salem.Map.transform

Map.transform(crs=Proj('+proj=longlat +datum=WGS84 +no_defs', preserve_units=True), ax=None)[source]

Get a matplotlib transform object for a given reference system

Parameters
crscoordinate reference system

a Grid or a Proj, basically. If a grid is given, the grid’s proj will be used.

Returns
a matplotlib.transforms.Transform instance