Downloading and processing Sentinel 2A data
Obtaining the data
I am new to this, so I would appreciate any comments and corrections to these
notes. They are not intended to be a comprehensive or definitive
The data can be downloaded from the Web, with a graphical interface allowing
date and region selection, with a number of other parameters such as cloud
cover. You can also select a region of interest with a centre latitude and
longitude, and zoom degree, for example:
- First choose which satellite you wish to view - I selected SENTINEL-2.
- This results in a strip of image tiles on the right-hand side of the
screen, and a grid overlaying your centred region on the left. This
grid is based on the Military_grid_reference_system.
Select your region of interest by clicking on a tile. I haven't yet
found out how to select more than one tile, if that is indeed possible!
- The three-slider icon at the top left of the Scene Search panel allows you
to select images based on various criteria such as year, month, cloudiness,
sun elevation and coverage. The tiles may only cover part of your
region of interest (the Edinburgh ones are at the lower-right of a tile, and
typical scans will cover less than half of that tile, so I would need to
select a coverage of well under 50%). When you have chosen your parameters,
a different set of thumbnail images may be visible. Click the
three-slide icon to close it.
- Click on your selected thumbnail image, and a thumbnail image will appear
over the appropriate region on the map on the left-hand side.
- You can now click on the download icon on the right-hand side. For
the highest resolution, natural-colour image, select bands 2, 3 and 4.
You need to be registered (free) to download data.
This will narrow you down to a selection of data, with a date and tile name
for each selected group:
After downloading, you will end up with three files named, for example:
- B02.jp2 - the blue channel
- B03.jp2 - the green channel
- B04.jp2 - the red channel
These files are in JPEG 2000 format, with 16 bits per pixel for added
precision. Not all image viewing programs will handle this data. I
suggest you rename them with the tile & date name:
There is a guide to the channels available and there resolution and sensitive
Processing the data
I have written an experimental program to do this, but in essence:
- For each channel (red, green, blue) measure the histogram.
- Note the minimum (0.5%) and maximum (99.9%) limits.
- Create a JPEG image with three 8-bit channels, applying a mild gamma
If you find that you need to combine multiple tiles to get the full image you
want for an area, you can try the program AutoPano
Pro which is available for Windows 32/64, Linux/64 and the Mac. Les
Hamilton put me on to this program, and one of his examples in shown below in
the Majorca image which was made from four Sentinel 2A tiles.
Here is modified Copernicus Sentinel 2A data from 2016-April-20:
The full image is here.
.. and another .. 2016-May-15
Dundee - rail & road bridges, RRS Discovery, the "Silvery Tay" & golf courses, too!
Majorca - 2016-Aug-26. A four-tile composite assembled by Les Hamilton using AutoPano
Pro. There is a "thumbnail" below, and you can get the full
image here (which is a 6 MB, 108 MP image (the original JPEG is 29 MB).