Advanced Microwave Precipitation Radiometer (AMPR) brightness temperature data from NASA field projects are in ASCII format. This Python script defines a class that will read in a single file from an individual aircraft flight and pull out timing, brightness temperatures from each channel, geolocation, and other information and store them as attributes using numpy arrays of the appropriate type.

The approach is to ingest the entire file as a text string and then parse and type-convert as necessary. The file is read and the data are populated when the class is instantiated with the full path and name of an AMPR file. Numerous visualization methods are provided, including track plots, strip charts, and Google Earth KMZs. In addition, polarization deconvolution is available. The PyAMPR software is intended for noncommercialized scientific research.

This work was done by Timothy J. Lang and Jason B. Roberts of Marshall Space Flight Center. For more information, contact Ronald C. Darty, Licensing Executive in the MSFC Technology Transfer Office, at This email address is being protected from spambots. You need JavaScript enabled to view it.. Refer to MFS-33219-1.