Skip to main content

Double Resolution Subsetter of HDF Files

Program Name: TwoResSubsetter

Program Description: This program provides both spatial and data set subsetting for HDF files where the Lat/Lon data is at one resolution and additional scientific data sets (SDS's) are either at the same or a finer (smaller) spatial resolution. For MODIS-Atmosphere Level-2 products, this includes MOD05_L2, MOD06_L2, and MOD35_L2 HDF files. This also includes Level-1B MOD02_1KM HDF files This code creates a new HDF file that may include any or all of the orginal set of geolocated scientific data sets (SDS's), with data that covers only a user specified geographic area. In addition, user specified non-geolocated scientific data sets, as well as metadata and other global attributes are copied to the output HDF file. Although this code has (only) been tested on and is intended to be used for subsetting MOD02_1KM, MOD05_L2, MOD06_L2, and MOD35_L2 HDF files, this code might be useful for subsetting other HDF files that contain two different resolutions of geolocated data.

Language and Environment Requirements: Fortran 90, PERL Script, HDF-EOS Toolkit

Limitations: The HDF file to be subsetted must be visible to the program. That is, the HDF file must be accessible from the platform where the program is running.

Installation Tips: Once the files are unzipped and untarred, examine the README and HowToRun text files for more details on installing and running the code.

Developer: Eric Moody (NASA GSFC)

Current Version: Version 1.2 (2003)


Note: Download file is zipped and tarred.
To Unzip use the command "gzip -d filename".
To UnTar use the command "tar -xvf filename".