pysteps.visualization.utils.parse_proj4_string

pysteps.visualization.utils.parse_proj4_string

pysteps.visualization.utils.parse_proj4_string(proj4str)

Construct a dictionary from a PROJ.4 projection string.

Parameters
proj4str: str

A PROJ.4-compatible projection string.

Returns
out: dict

Dictionary, where keys and values are parsed from the projection parameter tokens beginning with ‘+’.