io

Classes for reading various file formats.

These classes are written to take both file names (for local files) or file-like objects; this allows reading files that are already in memory (using io.StringIO) or remote files (using urlopen()).

Functions

is_precip_mode(vcp_num)

Determine if the NEXRAD radar is operating in precipitation mode.

parse_metar_file(filename[, year, month])

Parse a text file containing multiple METAR reports and/or text products.

parse_metar_to_dataframe(metar_text[, year, …])

Parse a single METAR report into a Pandas DataFrame.

Classes

GiniFile(filename)

A class that handles reading the GINI format satellite images from the NWS.

Level2File(filename)

Handle reading the NEXRAD Level 2 data and its various messages.

Level3File(filename)

Handle reading the wide array of NEXRAD Level 3 (NIDS) product files.