Link to the UNESCO-IOC website
Link to the Bilko website
Earth from space
Annual sea surface temperature

5.5 MERIS and MODIS (preparing the images)

Geogrophical grids     Extracting the study area     Chlorophyll concentrations    

LESSON 5

Overview

back to bottom of page next

References:
List of journal references

Images:

MER_RR_1COLRA 20030424~.N1 Description

Download image
(31 MB)

 
Useful information:

The Benguela Current System

Coccolithophore blooms

Differences in MERIS and MODIS data

In this section you will be comparing the MERIS composite you created earler with an 8-day composite from MODIS to see how data from from different sensors may vary. You will also be exploring reasons for these differences.

Note: This section uses the 8-day composite, mer_200402_8day.dat, which you created in the last section.

You will start by processing the MODIS composite to compare to the earlier MERIS image. Open the file l5_mod_a20040332004040.l3m_8d_chlo_4.hdf accepting the default stretches. This is an 8-day composite taken over approximately the same time period as the MERIS file. The HDF file contains metadata that you will need later to process the image.

Activity: Open the Scientific Global Attributes and use this information to answer the questions below, making a note of the answers.

Question 1.

a)

What map projection (coordinate system) is used for this image?

b)

What are the Geographical extremes of the image?

c)

How many lines and columns make up the image?

d)

What are the latitude and longitude steps (pixel size) and how do these relate to the lines and columns?

e)

What are the units used for chlorophyll?

f)

What is the scale used for the data?

g)

What is the scaling equation that will be needed to convert the current data values into chlorophyll concentrations? and what are the values of the parameters needed for the equation?

to bottom of page

Converting to a geographical grid

The [x,y] coordinates of an image allow you to identify and find specific pixels in a particular image. However, a more universal coordinate system allows the comparison of pixels in different images, even if these vary in resolution or area covered. It also allows you to compare satellite data with measurements made from ships and buoys.

Although the image uses a Lat/Lon grid the software does not yet have the necessary information to display these geographical coordinates. To change the display from [x,y] to [lon,lat] you need the following information from question 1:

  • The map projection (to check what type of coordinate system to use, and whether it is supported by Bilko),
  • The coordinates of the top left corner in degrees longitude and latitude,
  • The pixel size in degrees longitude and latitude.

Activity: Activate the MODIS image by clicking on it. Use the information from Question 1 to change the image coordinates to [lon,lat]:

  1. Open the "Set Coordinates" dialog. You can do this in either of two ways:
    Mouse: Select Edit from the menu bar, then Coords from the drop-down menu.
    Keyboard: Press [ALT + E] to access the 'Edit' menu, then [O] (for 'coords').
  2. Select Longitude/Latitude.
  3. [TAB] (or mouse) to the Longitude(X) box and enter the top left longitude.
  4. [TAB] to the Latitude(Y) box and enter the top left latitude.
  5. [TAB] to the 'Pixel width (DX)' box and enter the pixel width
  6. [TAB] to the 'Pixel width (DY)' box and enter the pixel height
  7. Click OK or press Enter

Move your cursor around the image, using either the arrow keys or your mouse. Observe how the status bar now shows the pixel position in degrees (°), minutes (') and seconds ("), using W or E for longitude, and N or S for latitude

To check that you have set the coordinates correctly scroll to the bottom right corner of the image. (You may want to zoom out first, to speed this up: Right-click inside the image frame, select Zoom from the drop-down menu, and click Preserve shape on the Zoom dialogue.) The image covers the whole Earth, so the bottom right corner coordinates shown on the status bar should be very close to 180°E 90°S.

Save the file as: modis_8day.dat

Repeat this for the MERIS composite, selecting the pixel size you resampled the image to in the last section and the coordinates of the study area for the latitude and longitude. Save the image.

Extracting the study area.

You now need to extract the study area from the MODIS global image. To do this:

  1. Select Edit » Goto or [CTRL-G] to open the Goto dialogue.
  2. Make sure that the Coords option is ticked, enter the position as x: 0°E and y: 20°S.
  3. Set the selection size to DX: 30°E and DY: 20°S
  4. Click ok or press Enter.
  5. Right click in the image and select New » IMAGE document.
  6. Click OK or press Enter

Save this file as MODIS_l3m_8d_extract.dat.

Open your MERIS composite, setting the stretch to logarithmic, the null value to zero and the upper data value to 4 and have a look at the two files. You should be able to instantly see the similarities and pick out the same features in each image. However the images are not yet comparable. Although they cover the same geographical area the pixel sizes are different.

Have a look at your answers to question one and the information from the last section of the tutorial.

Question 2.

a)

When you resampled the MODIS image you did not end up with exact degrees (the image is slightly smaller) than our sample area. Why do you think this is?

b)

What are the pixel sizes of the MERIS and MODIS images?

c)

How much larger are the MODIS pixels? And what does this represent?

d)

What would be the most sensible pixel size to choose to resample to?

to bottom of page

You are going to resample the MERIS image to set the correct pixel size and grid.

We could just resample the image, however bilko´s resampling algorithms simply sub sample the image to create the new pixel size (they pick one pixel value and use it´s value for the new size) rather than averaging the data. This gives a 'spiky' image and results in less accurate data. To correct this issue you will need to average the data to match the pixel size of the MODIS image as closely as possible, in order to do this we need to use a mean filter on the MERIS image.

Select the image and from the image menu select filter » mean to apply a mean filter. Select an average size of three by three pixels and run the filter. Save the file as mer_200402_8day_fm33.dat.

We now need to resample our averaged image to exactly the same pixel size and grid as the MODIS image to allow further comparison.

  1. Right click on the image and set the null value to zero.
  2. Select Image » Resample.
  3. Under the Interpolation tab set the null value to 0. Click apply.
  4. Under the Window tab set the coordinates to 0°E to 30°E by 20°S to 40°S. Click apply.
  5. Under the Pixel tab set the width and heigh to 0°02'30.00'' E and S
  6. The image size should read 721 by 481, if not check the other settings again. Now set these to 720, 480 this will give an image the exact same size as the MODIS image.
  7. Click OK or press Enter and save the image as mer_200402_8day_fm33_r.dat.

Answers:
(Resizable pop-ups)

Answer 1

Answer 2

Back up to:
Q1   Q2  

Converting to chlorophyll concentrations

The images are now the same size and are mapped to the same grid, however before we can compare our two images we still need to convert the data in the MODIS image into chlorophyll concentrations.

We will need to know the null value of the data to do this, examine the areas of the image over land and cloud to find this out.

To convert the data we will use a formula document, modis_convert_algal.fm, open the file and take a minute to look at it.

Activity

a)

To complete the formular you will need your answers to question one, fill in the constants, the slope (***slope***) and the intercept (***inter***). You will also need to set the null value (***null***) (You may need to use the point tool and select an area of land or cloud to check what this is). Select options and make sure that the output is set to 32 bit floating point.

Now right click on the modis image and select connect. Add one blank image and connect as a stack.

Set the blank image to the right place in the stack, check the formula if you are not sure. Now cut and paste the formula into the stack.

The new image should look very similar to the old one but, when you browse around the new image, the data should be on a similar scale to your MERIS image. Save the image as modis_8day_chla.dat. Close the stack and all other images. We now have two comparable images.

back to top of page next

 
Next: Comparing MERIS and MODIS