pysteps.visualization.basemaps.plot_map_cartopy(crs, extent, cartopy_scale, drawlonlatlines=False, drawlonlatlabels=True, lw=0.5, subplot=None)#

Plot coastlines, countries, rivers and meridians/parallels using cartopy.

  • crs (object) – Instance of a crs class defined in It can be created using utils.proj4_to_cartopy.

  • extent (scalars (left, right, bottom, top)) – The coordinates of the bounding box.

  • drawlonlatlines (bool) – Whether to plot longitudes and latitudes.

  • drawlonlatlabels (bool, optional) – If set to True, draw longitude and latitude labels. Valid only if ‘drawlonlatlines’ is True.

  • cartopy_scale ({'10m', '50m', '110m'}) – The scale (resolution) of the map. The available options are ‘10m’, ‘50m’, and ‘110m’.

  • lw (float) – Line width.

  • subplot (tuple of int (nrows, ncols, index) or SubplotSpec instance, optional) – The subplot where to place the basemap. By the default, the basemap will replace the current axis.


ax – Cartopy axes. Compatible with matplotlib.

Return type: