Skip to main content

Description

The Aviation Weather Center (AWC) Infrared Global Geostationary Composite dataset contains global infrared composites retrieved from a series of polar and geostationary satellites. These mosaics of global infrared data are made available in AREA McIDAS format. This data recipe provides instructions on how to use a Python script to convert Infrared Global Geostationary Composite McIDAS data into PNG format and display the infrared composite as an image outside of McIDAS software. This data recipe requires a pre-installed version of Python, a downloaded Infrared Global Geostationary Composite data file (AREA), and the Python matplotlib package.

Supporting Software Information

TypeAccess
Python ScriptGitLab

How to use

This data recipe uses the Infrared Global Geostationary Composite dataset.  Access more information and additional resources about this dataset.

To follow along with the steps below, pre-install Python and the matplotlib Python package on your computer to display the data in PNG format.

Step 1

Follow the "location" link on this page to access the GHRC DAAC data-recipe folder on GitHub. The Infrared Global Geostationary Composite Quick View has one Python file available for download named  “IR_Global_GeoComp_QuickView_DataRecipe.py”.

Download and save this script to your computer.

Step 2

To download the data needed for this data recipe, a free NASA Earthdata user account is required.  If you do not have an account, you will first need to create one.

Once your account has been created, you can download a AREA McIDAS file of your choice by simply following this link.

Once you have downloaded the data, save the files to a folder where you will work from.

Step 3

Open the Python environment installed on your computer and make sure the required Python package outlined in the “How to Use” section is installed.

Step 4

Open the Python script downloaded from the GHRC Github within your Python environment.

Step 5

Navigate to the folder on your computer where you have saved the Infrared Global Geostationary Composite AREA McIDAS file. From the address bar, copy the file path as shown below:

Screenshot of the file folder location

Paste the file path within the quotation marks for the variable “globir” highlighted in grey below. For Python, the backslashes need to be changed to forward slashes. At the end of the file path after the last forward slash, add the filename of the Infrared Global Geostationary Composite file as shown.

Screenshot of code block

Step 6

For this data recipe, documentation is provided in the Python code to outline what each section performs. The code first extracts the data’s header and navigation information and array size, then proceeds to extract the data parameter in the AREA McIDAS file needed to create the PNG file image. Using this information the code proceeds to construct a one-dimensional array and then sets up and reshapes it into a two-dimensional array for plotting.  Finally, the code uses the matplotlib module to plot the two-dimensional array and save it as a PNG file to the same folder where the code is located on your computer. 

Step 7

Simply run the code and check your output directory folder, which is the same folder where the code is located, for the generated image. One PNG file should now be located within the folder. The file should look like this:
Screenshot of file locations

Step 8

Double-click on the PNG file to view the Global IR composite image.

The figure depicts a composite image showing infrared wavelengths from the infrared channels of multiple weather stations in geosynchronous orbit.
Image Caption

The figure depicts a composite image showing infrared wavelengths from the infrared channels of multiple weather stations in geosynchronous orbit.

Dataset Information

Dataset NameInfrared Global Geostationary Composite
PlatformGMS-4, GOES-11, GOES-12, GOES-8, GOES-9, METEOSAT-6, METEOSAT-7, METEOSAT-9, MTSAT-1R, NOAA-15, NOAA-16, NOAA-17
InstrumentAVHRR, GOES-11 IMAGER, GOES-12 IMAGER, GOES-8 IMAGER, GOES-9 IMAGER, VISSR
Science ParameterInfrared Wavelengths
FormatMcIDAS
Data InformationCMR Search

Key Parameters

VariableDescriptionDimensionUnitsScale Factor
Infrared WavelengthsThe infrared channel shows the temperature of the clouds. The higher clouds are colder and show up as white, while areas with no clouds show up as darker shades of gray to black.2Dn/aNone

Details

Last Updated

Published on

Data Centers

Global Hydrometeorology Resource Center DAAC (GHRC DAAC)