code: def gshhs(scale="c", level=1):
      """
      Return the path to the requested GSHHS shapefile,
      downloading and unzipping if necessary.
  
      """
      # Get hold of the Downloader (typically a GSHHSShpDownloader instance)
      # and call its path method to get the appropriate shapefile (it will
      # download it if necessary).
      gshhs_downloader = Downloader.from_config(
          ("shapefiles", "gshhs", scale, level)
      )
      format_dict = {"config": config, "scale": scale, "level": level}
      return gshhs_downloader.path(format_dict)
  
imports: import io
  import itertools
  from pathlib import Path
  from urllib.error import HTTPError
  import shapefile
  import shapely.geometry
  from cartopy import config
  from cartopy.io import Downloader
label_desc: Use image node_id 2 for calling a global function with example usage: gshhs(scale, level) and returns: gshhs_downloader