![]() |
![]() |
![]() |
Cold Land Processes Experiment (CLPX) |
The current version of the CLPX MODIS Grids document is V0.3 released June 17, 2002.
- Added MODIS product names to LRSA Grid tables.
- Added MOD10C1 and MOD10C2 Climate Modeler's Grid (CMG) products.
V0.2 release June 1, 2002.
- Added information about viewing the sample dataset.
- Added sample images.
V0.1 released May 30, 2002.
- Incorporated various changes in wording and format of this document.
- Added "_geo" and "_utm" to grid names.
- Revised X and Y resolutions in GEO Grid table.
- Added lrsa_geo001.0, lrsa_geo000.5, lrsa_utm00025, and lrsa_utm00012 grids.
- Added information about missing MODIS data for 2002.
- Added information about MODIS bands.
- Regenerated sample data using MODIS Reprojection Tool 2.3 (used MRT 2.2 for V0.0). Small changes observed in GEO grids due to resampling changes caused by need to specify output resolution in degrees rather than arcseconds in MRT 2.3. No change in UTM grids.
V0.0 released May 20, 2002.
- Initial version.
The intended audience for this document is anyone interested in using MODIS data in conjunction with CLPX. It may also prove useful for those providing data for CLPX from other satellite sensors or from airborne sensors, particularly for raster datasets that cover a large regional area
Upper Left: 42 N, 108.5 WMODIS data will be resampled into two families of grids, Geographic (GEO) and Universal Tranverse Mercator (UTM), that cover the LRSA and span a range of resolutions. Each grid at a particular resolution is intended to be a relatively close match to a set of MODIS (or other sensor) products at a similar resolution.
Lower Right: 38.5 N, 104 W
Note that in the following descriptions, Upper Left refers to the latitude-longitude coordinates of the upper left corner of the upper left pixel, and Lower Right refers to the latitude-longitude coordinates of the lower right corner of the lower right pixel. When defined in this way, all grids in a family have the same Upper Left and Lower Right latitude-longitude coordinates.
Grid names marked with * indicate grids that will not be used for MODIS data but may be suitable for other sensors such as SSM/I or Landsat.
The formulas below for calculating Column, Row, Latitude, Longitude, X, and Y follow the ENVI convention of specifying the upper left corner of the upper left pixel in a grid as having a row value of 1 and a column value of 1.
Geographic (GEO) Grid
Upper Left: 42.05 N, 108.55 W
Lower Right: 38.45N 103.95 W
Datum: WGS84
Approximate Coverage: 4.6 degrees x 3.6 degrees =~ 400 km x 400 km
Name MODIS Products Resolution
arcsecondsResolution
degreesX
Resolution
meters
(appx.)Y
Resolution
meters
(appx.)Cols Rows lrsa_geo720.0* None 720 0.2 16974 22239 23 18 lrsa_geo360.0* None 360 0.1 8487 11120 46 36 lrsa_geo180.0 MOD10C1
MOD10C2180 0.05 4243 5560 92 72 lrsa_geo030.0 MOD021KM
MOD03
MOD11_A1
MOD35_L230 0.00833333 707 927 552 432 lrsa_geo015.0 MOD02HKM
MOD09A1
MOD10_L2
MOD10A1
MOD10A215 0.00416667 354 463 1104 864 lrsa_geo007.5 MOD02QKM
MOD09Q1
MOD13Q17.5 0.00208333 177 232 2208 1728 lrsa_geo001.0* None 1.0 0.000277778 23.6 30.9 16560 12960 lrsa_geo000.5* None 0.5 0.000138889 11.8 15.4 33120 25920 Row = (42.05 - Latitude) / Resolution_in_degrees + 1
Column = (Longitude + 108.55) / Resolution_in_degrees + 1Latitude = 42.05 - (Row - 1) * Resolution_in_degrees
Longitude = (Column - 1) * Resolution_in_degrees - 108.55Universal Transverse Mercator (UTM) Grids
Zone: 13
Semi-Major Axis of Ellipsoid: 6378137.000000 meters
Semi-Minor Axis of Ellipsoid: 6356752.314245 meters
Scale Factor at C. Meridian: 0.999600
Longitude of Central Meridian: -105.000000 degrees
Upper Left XY: 175000.0, 4675000.0 = 42.159677085 N, 108.933826235 W
Lower Right XY: 600000.0, 4250000.0 = 38.392627781 N, 103.854898585 W
Datum: WGS84
Approximate Coverage: 5.1 degrees x 3.8 degrees =~ 425 km x 425 km
Name MODIS Products Resolution Cols Rows lrsa_utm25000* None 25000 meters 17 17 lrsa_utm12500* None 12500 meters 34 34 lrsa_utm05000 MOD10C1
MOD10C25000 meters 85 85 lrsa_utm01000 MOD021KM
MOD03
MOD11_A1
MOD35_L21000 meters 425 425 lrsa_utm00500 MOD02HKM
MOD09A1
MOD10_L2
MOD10A1
MOD10A2500 meters 850 850 lrsa_utm00250 MOD02QKM
MOD09Q1
MOD13Q1250 meters 1700 1700 lrsa_utm00025* None 25 meters 17000 17000 lrsa_utm00012* None 12.5 meters 34000 34000 Row = (4675000.0 - Y) / Resolution_in_meters + 1
Column = (X - 175000.0) / Resolution_in_meters + 1Y = 4675000.0 - (Row - 1) * Resolution_in_meters
X = 175000.0 + (Column - 1) * Resolution_in_meters
In the table below, the Size column includes the total volume for both the LRSA GEO and UTM grids in both raw binary and GeoTiff formats (4 grids total). It is assumed that only daytime swath data will be used. The Frequency column (Freq.) indicates how often the corresponding LRSA grids will be produced
The expected average daily volume (the sum of (Size*Freq.) above) is about 252.2 MB. The expected maximum daily volume (the sum of Size above) is about 687.3 MB. The above totals do not include Metadata and Attribute files (described below) which add a total of about 4 MB to the daily totals.
Name Description Level Source Source
meters/
pixel
(appx.)Bands Bytes/
Band
(avg.)Size
(MB)Freq. MOD021KM Calibrated Radiances L1B Swath 1000 36 2.0 60.3 1/day MOD02HKM Calibrated Radiances L1B Swath 500 7 2.0 46.9 1/day MOD02QKM Calibrated Radiances L1B Swath 250 2 2.0 53.6 1/day MOD03 Geolocation Fields L1A Swath 1000 8 1.75 11.7 1/day MOD09A1 Surface Reflectance L2G ISIN Grid 500 13 2.15385 93.9 1/8 days MOD09Q1 Surface Reflectance L2G ISIN Grid 250 3 2.0 80.5 1/8 days MOD10_L2 Snow Cover L2 Swath 500 2 1.0 6.7 1/day MOD10A1 Snow Cover L3 ISIN Grid 500 2 1.0 6.7 1/day MOD10A2 Snow Cover L3 ISIN Grid 500 2 1.0 6.7 1/8 days MOD10C1 Snow Cover L3 CMG 0.05
degrees4 1.0 0.1 1/day MOD10C2 Snow Cover L3 CMG 0.05
degrees4 1.0 0.1 1/8
daysMOD11A1 Land Surface Temperature/Emissivity L3 ISIN Grid 1000 12 1.33333 13.4 1/day MOD13Q1 Vegetation Indices L3 ISIN Grid 250 11 2.0 295.0 1/16 days MOD35_L2 Cloud Mask and
Spectral Test ResultsL2 Swath 1000 14 1.0 11.7 1/day
Metadata Files
Metadata files are created along with the HDF-EOS product files. The metadata file contains some of the same metadata as in the product file, but also includes other information regarding archiving, user support, and post production quality assurance (QA) relative to the granule ordered.Attribute Files
Attribute files contain the following information extracted from the corresponding product file:Of particular importance are local attributes that pertain to individual data arrays in the HDF-EOS product files. Some of these local attributes include scale and offset values that can be used to convert the integer values contained in the corresponding grids into meaningful scientific quantities such as radiances, reflectances, and emissivities.
- Dimensions of the data arrays
- Names of the data arrays
- List of local attributes and their values
- List of global attributes and their values
The MODIS Swath-to-Grid Toolbox (MS2GT)
The MODIS Swath-to-Grid Toolbox (MS2GT) is used to resample MODIS swath data contained in HDF-EOS files into an intermediate Lambert Azimuthal Equal-Area grid stored in a raw binary format. Discretely valued data (e.g., Snow Cover or QC flags) are resampled using nearest neighbor resampling; continuously valued data (e.g., radiances or temperatures) are resampled using an elliptical weighted averaging technique.Since the UTM projection and GeoTiff output are not yet supported in MS2GT, all MODIS swath data are first put into an Lambert Azimuthal Equal-Area grid (not documented here), and then run through MRT to produce the final output (see below). It is hoped that a future version of MS2GT or some other tool will allow the production of UTM gridded output and GeoTiff output from MODIS swath data so that resampling to this intermediate grid will no longer be performed.
The MODIS Reprojection Tool (MRT)
The MODIS Reprojection Tool (MRT) is used to resample gridded MODIS data into both the LRSA GEO and UTM grids. It is used to resample MODIS gridded data contained in HDF-EOS files into the raw binary and GeoTiff formats described below. It is also used to resample the Lambert Azimuthal Equal-Area gridded output of MS2GT into the LRSA GEO and UTM grids in both the raw binary and GeoTiff formats described below. Discretely valued data are resampled using nearest neighbor resampling; continuously valued data are resampled using cubic convolution resampling.
A third tool called ncdump is used to extract attributes from each MODIS HDF-EOS product file.
Files Containing Gridded Data
Files containing MODIS data resampled to the above grids have names in the following form:<dataset>.a<year><day>[.<time>].<grid><resample>[.<band>].<extension>
where
<dataset> is the name (mapped to lowercase) of the MODIS dataset corresponding to the granule from which the data were extracted and (re)gridded, e.g., "mod09q1" or "mod10_l2".
<year> is the four digit year the data were acquired, e.g., "2000".
<day> is the three digit day of year the data were acquired, e.g., "052".
[.<time>] is the four digit UTC time of the start of acquisition for the five minute swath granule from which the data were gridded, e.g., "1725". For Level 3 datasets (i.e. daily and multiple day datasets), this field, including the leading period, is omitted.
<grid> is the name of the grid to which the data have been resampled, e.g., "lrsa_geo007.5".
<resample> is the resampling method and is one of:
"nn" for nearest neighbor resampling used in MRT.
"cc" for cubic convolution resampling used in MRT.
[.<band>] is the name of an individual band in the dataset, e.g., "sur_refl_b01" or "Snow_Cover". For header files (see below), this field, including the leading period, is omitted since the header contains information for all bands for a particular dataset granule for a particular resampling method.
<extension> is one of:
"dat" for raw binary data file.
"hdr" for an ASCII header file.
"tif" for a GeoTiff file.Examples:
mod021km.a2002052.1725.lrsa_geo030.0cc.hdr
mod021km.a2002052.1725.lrsa_geo030.0cc.ch01.dat
mod021km.a2002052.1725.lrsa_geo030.0cc.ch01.tifmod10_l2.a2002052.lrsa_utm00500nn.hdr
mod10_l2.a2002052.lrsa_utm00500nn.Snow_Cover.dat
mod10_l2.a2002052.lrsa_utm00500nn.Snow_Cover.tifFiles Containing MODIS Metadata
Files containing MODIS metadata are ASCII text files having names in the following form:
<granule>.met
where <granule> is the name of the MODIS HDF-EOS file described by the metadata file.
Examples:
MOD09Q1.A2002049.h09v04.003.2002062162758.hdf.met
MOD10_L2.A2002052.1725.003.2002055102744.hdf.metFiles Containing MODIS Attributes
Files containing MODIS attributes extracted from corresponding MODIS HDF-EOS product files are ASCII text files having names in the following form:
<granule>.atr
where <granule> is the name of the MODIS HDF-EOS file from which the attributes were extracted using the ncdump tool.
Examples:
MOD09Q1.A2002049.h09v04.003.2002062162758.hdf.atr
MOD10_L2.A2002052.1725.003.2002055102744.hdf.atr
Raw Binary Format
Raw binary data are stored in individual data files, with one file per band. Within each file, data are stored in row-major order, starting at the upper-left corner of the image. The data type may be 8-bit integer, 16-bit integer, 32-bit integer, or 32-bit float. Integer values may be signed or unsigned. Two-byte and four-byte data types are stored in big-endian order (high byte followed by low byte).Header Format
The header file contains information produced by the MODIS Reprojection Tool for processing data in the raw binary file format. An ODL-like format is used, as illustrated by the following file named mod09q1.a2002049.lrsa_geo007.5cc.hdr for the 7.5 arcsecond GEO grid:
PROJECTION_TYPE = GEOGRAPHIC
PROJECTION_PARAMETERS = (
0.000000000 0.000000000 0.000000000
0.000000000 0.000000000 0.000000000
0.000000000 0.000000000 0.000000000
0.000000000 0.000000000 0.000000000
0.000000000 0.000000000 0.000000000 )# COORDINATE_ORIGIN = UL
UL_CORNER_LATLON = ( 42.050000000 -108.550000000 )
UR_CORNER_LATLON = ( 42.050000000 -103.950000000 )
LL_CORNER_LATLON = ( 38.450000000 -108.550000000 )
LR_CORNER_LATLON = ( 38.450000000 -103.950000000 )# UL_CORNER_XY = ( -108.550000000 42.050000000 )
# UR_CORNER_XY = ( -103.950000000 42.050000000 )
# LL_CORNER_XY = ( -108.550000000 38.450000000 )
# LR_CORNER_XY = ( -103.950000000 38.450000000 )NBANDS = 2
BANDNAMES = ( sur_refl_b01 sur_refl_b02 )
DATA_TYPE = ( INT16 INT16 )
NLINES = ( 1728 1728 )
NSAMPLES = ( 2208 2208 )
PIXEL_SIZE = ( 0.002083 0.002083 )
MIN_VALUE = ( -100 -100 )
MAX_VALUE = ( 16000 16000 )
BACKGROUND_FILL = ( -28672 -28672 )DATUM = WGS84
The corresponding raw binary files corresponding to the above header file are named:mod09q1.a2002049.lrsa_geo007.5cc.sur_refl_b01.datFor a full description of the header file format, see Appendices B and C of the MODIS Tool User Guide v2.2.
mod09q1.a2002049.lrsa_geo007.5cc.sur_refl_b02.datGeoTiff Format
GeoTiff data are stored in individual data files, one file per band. Included within each file is metadata that allows GeoTiff-enabled software (such as ENVI) to determine the pixel width, byte-ordering, and geolocation of the data. See the GeoTiff home page for a further explanation of the GeoTiff data format.
MODIS_LRSA_2002
METADATA
2002046
2002047
.
.
2002135
ATTRIBUTES
2002046
2002047
.
.
2002135
BINARY
GEO
2002046
2002047
.
.
2002135
UTM
2002046
2002047
.
.
2002135
GEOTIFF
GEO
2002046
2002047
.
.
2002135
UTM
2002046
2002047
.
.
2002135
Viewing Sample Data
Using a web browser to view sample data
The GeoTiff files in the sample dataset can be viewed using any web browser that has been enabled to read Tiff files using either a plugin or an image viewing application. Starting with the URL above, go to the GEOTIFF directory, select a grid family (e.g., UTM), select a day (e.g., 2002049), and then click on one of the tif files (e.g., mod09a1.a2002049.lrsa_utm00500cc.sur_refl_b01.tif). If you're on a Unix or Linux platform you shouldn't have any problems. However Windows users may not be able to view the two-byte-per-pixel files (such as mod09a1.a2002049.lrsa_utm00500cc.sur_refl_b01.tif) correctly. This is probably because the images were created on a big-endian machine and most freeware Windows image viewers apparently are not smart enough to interpret the big-endian tag in the Tiff file correctly. One-byte-per-pixel files (such as mod10a2.a2002049.lrsa_utm00500nn.Maximum_Snow_Extent.tif) should look ok on Windows platforms. On Macintosh platforms, the QuickTime viewer apparently can't view Tiff files at all.None of the web-enabled image viewers that the author has used can geolocate the data in the GeoTiff files or read out individual pixel values.
Using a standalone program to view sample data
The best way the author has found to view the GeoTiff files in the sample dataset using a freeware program is to download the sample data files you wish to view to your computer using ftp, and then install a demo version of ENVI called Freelook. Of course, if you have ENVI, that's even better. All the above mentioned problems using web-enabled image viewers on Windows platforms go away, and you can even view the latitude-longitude and (for UTM grids) X-Y coordinates of any pixel together with the value of the pixel. However, Freelook is apparently not currently available on the Macintosh, despite what some of the documentation says.If you want to download some sample data to view with a standalone program, and you don't want to download the entire sample dataset (about 693 MB), you might want to settle for just the 2002049 and 2002052 directories in GEOTIFF/UTM (about 149 MB).