map_draw_point#

map_draw_point(lon_min, lon_max, lat_min, lat_max, title, lon_data, lat_data, data_draw, lat_point, lon_point, path_save=None, name_save=None, show=False)[source]#

Draw a 2D geospatial field with annotated point markers on a Mercator map.

Parameters:
  • lon_min (float) – Minimum and maximum longitude boundaries of the map.

  • lon_max (float) – Minimum and maximum longitude boundaries of the map.

  • lat_min (float) – Minimum and maximum latitude boundaries of the map.

  • lat_max (float) – Minimum and maximum latitude boundaries of the map.

  • title (str) – Title of the map.

  • lon_data (np.ndarray) – 2D array of longitudes (same shape as data_draw).

  • lat_data (np.ndarray) – 2D array of latitudes (same shape as data_draw).

  • data_draw (np.ndarray) – 2D array of scalar values to plot.

  • lat_point (list or np.ndarray) – List of latitudes for point markers to display.

  • lon_point (list or np.ndarray) – List of longitudes corresponding to lat_point.

  • path_save (str, optional) – Directory path where the output image will be saved. If omitted, no file is saved.

  • name_save (str, optional) – Base name (without extension) for the output image file. Required when saving.

  • show (bool, optional) – If True, display the figure in a Matplotlib window.

Return type:

None

Examples

See Example 2: Point plot