io

MetPy’s IO module contains classes for reading files. 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()).

There are also classes to implement concepts from the Common Data Model (CDM). The purpose of these is to simplify data access by proving an interface similar to that of netcdf4-python.

Functions

get_upper_air_data(time, site_id[, source]) Download and parse upper air observations from an online archive.
is_precip_mode(vcp_num) Determine if the NEXRAD radar is operating in precipitation mode.

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.