ctables

Work with custom color tables.

Contains a tools for reading color tables from files, and creating instances based on a specific set of constraints (e.g. step size) for mapping.

../../_images/metpy-plots-ctables-1.png

Functions

convert_gempak_table(infile, outfile)

Convert a GEMPAK color table to one MetPy can read.

read_colortable(fobj)

Read colortable information from a file.

resource_listdir(package_or_requirement, …)

List the contents of the named resource directory

resource_stream(package_or_requirement, …)

Return a readable file-like object for specified resource

Classes

ColortableRegistry

Manages the collection of color tables.

colortables

Manages the collection of color tables.