code: def write_legacy_pickles(output_dir):
      print(
          "This script generates a storage file for the current arch, system, "
          "and python version"
      )
      print("geopandas version: {}").format(geopandas.__version__)
      print("   output dir    : {}".format(output_dir))
      print("   storage format: pickle")
  
      pth = "{}.pickle".format(platform_name())
  
      fh = open(os.path.join(output_dir, pth), "wb")
      pickle.dump(create_pickle_data(), fh, pickle.DEFAULT_PROTOCOL)
      fh.close()
  
      print("created pickle file: {}".format(pth))
  
file_path: geopandas/geopandas/io/tests/generate_legacy_storage_files.py
imports: import os
  import pickle
  import platform
  import sys
  import pandas
  import geopandas
  from shapely.geometry import Point
label_desc: Use image node_id 3 for calling a global function with example usage: write_legacy_pickles(output_dir) without return types