Comprehensive Examples

This page provides comprehensive examples on how to access and visualize various NASA HDF/HDF-EOS files using Python (pyhdf/h5py), NCL, MATLAB®, and IDL®. Other tools and programming languages examples can be found here.

Please read this special note first before you proceed further.

You can find examples quickly using the search box below. Please add keyword 'zoo' first to limit the search within this Comprehensive Examples page. Then, type the first few characters from the NASA HDF/HDF-EOS file name such as MOD06. Finally, you can limit the search by providing one of programming language keywords: Ptyhon, NCL, IDL, or MATLAB.

Search Examples by Product Name

For a list of examples for the different data centers, click on the product name in the table below.

NASA Data Centers Product Examples using different tools
GES DISC AIRS TRMM MERRA TOMS OMI MLS HIRDLS BUV SWDB GSSTF GOSAT/ACOS OCO-2 GPM
LAADS MOD MYD VIIRS
LP DAAC AST MCD MOD MYD VIP WELD GED VIIRS GEOLST
LaRC CALIPSO CATS CERES DSCOVR MISR MOPITT POAM3 SAGE III TES
NSIDC AMSR_E AMSR_U2 MODIS NISE ICESat/GLAS SMAP
PO.DAAC SMAP SeaWinds QuikSCAT Aquarius OMG ECCO MODIS
Ocean Biology Processing Group OCTS SeaWiFS CZCS MODISA MODIST VIIRS
GHRC LIS
ICESat-2
Product Type File Codes Plots CMR
ATL
more examples
Swath ATL02_20190520193327_08020311_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL02
ATL03_20181027235521_04480111_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL03
ATL04_20181117090604_07600101_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL04
ATL06_20190223232535_08780212_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL06
ATL07-01_20210223204748_09451001_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL07
ATL08_20210114234518_03361001_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL08
ATL09_20221012234137_03401701_005_02.h5 Python NCL Octave IDL Python NCL Octave IDL ATL09
ATL10-02_20181227215113_13790101_004_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL10
ATL11_051911_0313_005_01.h5 Python n/a MATLAB IDL Python n/a MATLAB IDL ATL11
ATL12_20190330212241_00250301_004_02.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL12
ATL13_20190330212241_00250301_002_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL13_002
Grid ATL14_AA_0314_100m_002_02.nc
ATL14_AA_0314_100m_002_02.aux.nc for NCL
Python
Python for NCL
NCL MATLAB IDL Python NCL MATLAB IDL ATL14_002
ATL15_AA_0314_01km_002_02.nc
ATL15_AA_0314_01km_002_02.aux.nc for NCL
Python
Python for NCL
NCL MATLAB IDL Python NCL MATLAB IDL ATL15_002
ATL16_20210101010136_01231001_003_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL16
ATL17_20201201000814_10360901_003_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL17
ATL19_20181001010615_00370101_001_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL19
ATL20-01_20181101001332_05100101_002_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL20
ATL21-01_20210301005637_10241001_001_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL21
ATL22_20210712003905_02811201_002_01.h5 Python NCL MATLAB IDL Python NCL MATLAB IDL ATL22
ASF SMAP ARIA
Table 1. Sample Data Files and Code Examples

The following table selects MEaSUREs product examples only from the above table.

NASA Data Centers MEaSUREs Product Examples using different tools
GESDISC BUV SWDB GSSTF
LP DAAC VIP WELD
Table 2. Sample MEaSUREs Data Files and Code Examples

We also provide examples for other data centers that produce HDF files.

Other Data Centers Product Examples using different tools
CloudSAT Data Processing Center CloudSAT
MODIS/ASTER Airborne Simulator MASTER
Ocean Productivity Net Primary Production
Table 3. Sample Data Files and Code Examples from Other Data Centers

We also extracted and documented information for sample HDF-EOS2/HDF4 and HDF-EOS5/HDF5 files that are useful to determine the EOS contents stored in the sample files. Please click here for HDF-EOS2/HDF4 and here for HDF-EOS5/HDF5 to read comprehensive description and retrieve sample files.


Last modified: 05/11/2023
About Us | Contact Info | Archive Info | Disclaimer
Sponsored by Subcontract number 4400528183 under Raytheon Contract number NNG15HZ39C, funded by NASA / Maintained by The HDF Group