Use Georeference MODIS to georeference both MODIS Level 1B and MODIS Level 2 datasets to the output projection coordinates.
If latitude and longitude data are available as images named Latitude and Longitude within the HDF dataset, the utility recognizes the images as containing geographic coordinates. If latitude and longitude data are available as images named other than Latitude and Longitude, ENVI prompts you to select the coordinate-containing images. If no images from the dataset contain geocoordinates, the data cannot be georeferenced.
To apply MODIS bow tie effect correction to the data, the dataset must have latitude and longitude information.
- Open a MODIS Level 1B or MODIS Level 2 file by selecting File > Open from the menu bar.
- Select Geometric Correction > Georeference by Sensor > Georeference MODIS from the Toolbox. The Input MODIS File dialog appears.
Select an input file and perform optional spatial and spectral subsetting, then click OK.
If the dataset contains bands named Latitude and Longitude, the Georeference MODIS Parameters dialog appears.
If the dataset does not contain bands named Latitude and Longitude, the Lat/Lon Band Selection dialog appears. In this case:
In the Georeference MODIS Parameters dialog:
- If the dataset contains geographic coordinate bands using names other than the expected default, select the image names and click OK. The Georeference MODIS Parameters dialog appears.
- If the dataset does not contain geographic coordinate bands, click Cancel to close the utility. You will not be able to georeference the dataset.
In the Registration Parameters dialog Output Projection and Map Extent area, set the output projection for the image:
- Select the desired output map projection from the list and enter any necessary parameters.
Enter the number of x and y warp points to use in the corresponding Number Warp Points: X and Y fields.
When georeferencing MODIS data, the maximum number of warp points allowed depends on the image size and product type. If fewer warp points are entered, they are evenly spaced throughout the image.
Note: Using many warp points may increase the warping time, but can significantly increase the accuracy of the georeferencing.
- Save the ground control points (GCPs) to an ASCII file, if desired, by entering an output filename in the Enter Output GCP Filename [.pts] box.
- If ENVI is unable to determine the offset and increment for the latitude/longitude images, the Start Pixel for Lat/Lon Values and Pixels Between Lat/Lon Values fields display. Change the default values in these fields as needed. These values indicate the correct mapping relationship between the lat/lon grid and the input image. They are needed for georeferencing.
- Apply bow tie effect correction to the dataset, if desired.
- Click OK. The Registration Parameters dialog appears. The options available in the dialog depend on the Yes/No value in the Perform Bow Tie Correction toggle.
In the Registration Parameters dialog Warp Parameters area, select the warping and resampling methods.
Click OK. ENVI adds the resulting output to the Layer Manager.
- To change the projection of the upper-left coordinate only, click Change Proj.
- Change the map coordinate or latitude/longitude information for the upper-left coordinate, pixel size, and output image size.
- Click Options and select from the menu to manage the output projection and map extent settings.