parse_wpc_surface_bulletin#, year=None)#

Parse a coded surface bulletin from NWS WPC into a Pandas DataFrame.


bulletin (str or file-like object) – If str, the name of the file to be opened. If bulletin is a file-like object, this will be read from directly.


  • dataframe (pandas.DataFrame) – A DataFrame where each row represents a pressure center or front. The DataFrame has four columns: ‘valid’, ‘feature’, ‘strength’, and ‘geometry’.

  • year (int) – Year to assume when parsing the timestamp from the bulletin. Defaults to None, which results in the parser trying to find a year in the product header; if this search fails, the current year is assumed.

Examples using

Plotting Fronts

Plotting Fronts