convert_gempak_table

metpy.plots.ctables.convert_gempak_table(infile, outfile)[source]

Convert a GEMPAK color table to one MetPy can read.

Reads lines from a GEMPAK-style color table file, and writes them to another file in a format that MetPy can parse.

Parameters
  • infile (file-like object) – The file-like object to read from

  • outfile (file-like object) – The file-like object to write to