Importing and Georeferencing MODIS Data

Online map oriented products

The Geoscience Australia MODIS online map oriented product now includes ER Mapper (.ers) and ENVI (.hdr) headers with each band. For users with ER Mapper version 6.3 and above it is no longer necessary to create a new projection as the Geoscience Australia MODIS (ACRESLC) projection information is now built-in.

For ERDAS Imagine users, it is no longer possible to visualise MODIS map oriented products by opening ERMapper header. The Geoscience Australia MODIS GEOTIFF products can be read directly in ERDAS Imagine. It is important to note that ERDAS Imagine does not correctly translate the GEOTIFF project information. The steps outlined below will show you how.

Please note: Coordinates for the top left corner of the top left pixel should appear as a multiple of the pixel size for a given product.

ER Mapper

Create a new projection in ER Mapper (you only have to do this step once)

  • Add a new projection parameter, Lambert Conformal Conic with two standard parallels at -18 and -36 S latitude, to ER Mapper projection files (Project.dat and Lamcon2.dat). Simply copy the following lines into the respective files to do this. Make sure that ER Mapper is not running before you start editing these files.
  • Copy the following line to Lamcon2.dat. This file is located under C:ERMapper Gdt_data
  • ACRESLC, 0.0, 0.0, 0.0, 0.0, 1.0, 2.3038346126, -0.3141592654, -0.6283185307, -0.471238898, 1, 0.0, 0.0, 0.0, 6378137.0, 0.081819190843, 298.2572236, 1
  • Copy the following line to Project.dat. This file is located under C:ERMapper Gdt_data
  • ACRESLC, lamcon2, 1.0, 6378137.0, 0.081819190843, 298.2572236, 1

ENVI

Create a new projection in ENVI (you only have to do this step once)

  • On ENVI main menu, click on Map and open Customise Map Projection window. Create a new projection called ACRESLC-Lambert Conformal Conic (LCC) projection with the following parameters
    • Latitude of projection origin = -27 S
    • Longitude of Central meridian = 132 E
    • Latitude of Standard Parallel 1 = -18 S
    • Latitude of Standard Parallel 2 = -36 S
    • Datum = WGS84
  • Select File/Save Projections and save this projection information to Map_Proj.txt

ERDAS - Imagine

Step 1. Create a new projection in Imagine (you only have to do this step once)

  • From Main Menu, select Tools/Coordinate Calculator
  • In the Coordinate Calculator window select Projection/Set Input Projection and Units
  • From the Input Projection and Units window select Set Input Projection. Choose Australia from the Categories drop down menu, and click on the Custom tab
  • In the Custom tab window select Projection Type as Lambert Conformal Conic. Enter the Spheroid Name as WGS84, Datum as WGS84, Latitude of 1st Standard Parallel as -18, Latitude of 2nd Standard Parallel as -36, Longitude of Central Meridian as 132, and Latitude of Origin of the Projection as -27. False Easting and Northing should be 0
  • Click Save and enter Save As: ARCESLC in the Category Australia, then OK

Step 2: Visualising MODIS data in Imagine

  • From the Main ERDAS Imagine menu select Viewer
  • In the Viewer Click File/Open/Raster Layer. In the Select Layer to Add dialog select TIFF from the Files of Type drop down menu and select the input GEOTIFF file

Step 3. Georeference MODIS image in Imagine

  • Because ERDAS Imagine does not interpret the GEOTIFF metadata correctly the user must fix this manually.
  • From the Viewer window select Utility/Layer Info
  • In the Image Info window select Edit/Add/Change Projection
  • From the Projection Chooser window click the Standard Tab. In the Categories select Australia and from the Projection list choose ACRESLC, then OK
  • Close and reopen the image. Check the image information once more to confirm projection information is correct

Archived from Earth Observation Catalogue map oriented products

The Geoscience Australia MODIS map oriented product sourced from the Earth Observation Catalogue archive now includes ER Mapper (.ers) and ENVI (.hdr) headers with each band. For users with ER Mapper version 6.3 and above ER Mapper Step 1. is no longer necessary as the Geoscience Australia MODIS (ACRESLC) projection information is now built-in.

ERDAS Imagine version 8.6 and above now have the capacity to directly read Geoscience Australia MODIS data by selecting ER Mapper (*.ers) from the Files of type drop down menu on the Select Layer To Add dialog window. Please note that the direct read method only partially geo-codes the image. In order to correctly geo-code the image please follow III. Imagine procedure outlined below.

Please note: Registration co-ordinates in metadata refer to the top left corner of the pixel.

I. ER Mapper

Step 1. Create a new projection in ER Mapper (you only have to do this step once)

  • Add a new projection parameter, Lambert Conformal Conic with two standard parallels at -18 and -36 S latitude, to ER Mapper projection files (Project.dat and Lamcon2.dat). Simply copy the following lines into the respective files to do this. Make sure that ER Mapper is not running before you start editing these files
  • Copy the following line to Lamcon2.dat. This file is located under C:ERMapper62Gdt_data
  • ACRESLC, 0.0, 0.0, 0.0, 0.0, 1.0, 2.3038346126, -0.3141592654, -0.6283185307, -0.471238898, 1, 0.0, 0.0, 0.0, 6378137.0, 0.081819190843, 298.2572236, 1
  • Copy the following line to Project.dat. This file is located under C:ERMapper62Gdt_data
  • ACRESLC, lamcon2, 1.0, 6378137.0, 0.081819190843, 298.2572236, 1

Step 2: Visualise MODIS data in ER Mapper

  • From the ERMapper main menu select File Open and select ER Mapper Raster Dataset from the Files of Type dropdown menu. Now select you image layer to load and click OK

Step 3. Georeference MODIS image in ER Mapper

  • The image is automatically georeferenced when visualised

II. ENVI

Step 1. Create a new projection (you only have to do this step once)

  • On ENVI main menu, click on Map and open Customise Map Projection window. Create a new projection called ACRESLC, Lambert Conformal Conic (LCC) projection with the following parameters
    • Latitude of projection origin = -27 S
    • Longitude of Central meridian = 132 E
    • Latitude of Standard Parallel 1 = -18 S
    • Latitude of Standard Parallel 2 = -36 S
    • Datum = WGS84
  • Select File/Save Projections? and save this projection information to Map_Proj.txt

Step 2: Visualise MODIS data in ENVI

  • From the ENVI main menu select File/Open Image File
  • Select the file you wish to open and click OK

Step 3. Georeference MODIS image in ENVI

  • The image is automatically georeferenced when visualised

III. ERDAS - Imagine

Step 1. Create a new projection (you only have to do this step once)

  • From Main Menu, select Tools/Coordinate Calculator
  • In the Coordinate Calculator window select Projection/Set Input Projection and Units
  • From the Input Projection and Units window select Set Input Projection. Choose Australia from the Categories drop down menu, and click on the Custom tab
  • In the Custom tab window select Projection Type as Lambert Conformal Conic. Enter the Spheroid Name as WGS84, Datum as WGS84, Latitude of 1st Standard Parallel as -18, Latitude of 2nd Standard Parallel as -36, Longitude of Central Meridian as 132, and Latitude of Origin of the Projection as -27. False Easting and Northing should be 0
  • Click Save and enter Save As: ARCESLC in the Category Australia, then OK

Step 2: Visualise MODIS data in Imagine

  • Click on Import from main menu
  • In the Import/Export window, select generic binary from the type drop down menu and select appropriate media.
  • Select one image file .img from Input file drop down list
  • Select an appropriate output from the Output file drop down menu
  • From the Import Generic Binary Window, select BSQ from the Data Format drop down menu and Signed 16 bit from the Data Type drop down menu
  • Tick the Swap bytes option, and fill the rows and columns fields from metadata file
  • If importing several channels, import options parameters may be saved by clicking Save options. Leave all other options as defaults
  • Press Preview to generate preview of resultant image. Then OK to commence import

Step 3. Georeference MODIS image

  • Display the image in the Viewer window. From the Viewer window, select Utility/Layer Information
  • From the Image Info window, select Edit/Change Map Model. Enter image corner values (registration coordinates in the ERMapper .ers file - which can be opened in a text editor) to Upper left X and Upper Left Y. In Pixel size X and Pixel size Y enter pixel size in metres. From the Projection drop down list, select Lambert Conformal Conic and then OK
  • In the Attention message box, click Yes to Change map model in this layer. In the ImageInfo Window, select Edit/Add/Change Projection. From the Standard page, select the projection information created in Coordinate Calculator and OK
  • In the Attention message box, click Yes to Add projection information to this layer
  • Reopen image to display changes by clicking File/Open/Raster Layer in the current viwer and selecting the image to be displayed