Update : we added a script to submit and download MAJA jobs on PEPS
Getting a Sentinel-2 L2A product (with atmospheric correction and cloud detection) anywhere has never been so easy. Until now, you had two options to access to Sentinel-2 L2A products obtained from the MAJA processor :
- If you a were lucky enough and your region of Interest was among Theia's ones, you just had to download the data from https://theia.cnes.fr
- If you were unlucky, you could download MAJA processor and directly process your data sets on your computer. But it required some computer skills.
Starting from today, there is another possibility: an on-demand MAJA processing from the French Sentinel collaborative ground segment PEPS. The possibility is a proof of concept, and if a lot of people use it at once, we do not know how the processing time will evolve. But the only way to know it is to try it, hoping the processing and download capacity is sufficient. Anyway, it you intend to process a whole country, we hope you are from Belgium, and not from Australia. However, if your site is above 60°N or under 60°S, you are still unlucky, as MAJA needs SRTM DEM to work. We will try to implement the use of Arctic DEM one day.
So how does it work ?
- go to https://peps.cnes.fr, create an account, log in.
- Use the explore Menu, select your data. I like the semantic research possibility, for instance, you can ask for Sentinel-2 L1C Toulouse August, and you'll get all the products available in August.
- Select the ones you are interested and click on the gearing icon.
- Go to "your processing center" page (top left, with the gearing icon in black)
- Select the "MAJA atmospheric processor" and the products to process. It only works for Sentinel-2 L1C in single tile format, no need to try to process a Sentinel1 image,+ a S2 L2A image, or the old S2 format grouping several granules. Then press on "Process the products"
- Go to "My processing" page
- Wait (don't be fooled by the percentage, it goes fast at the beginning, but it takes between 1 and 2 hours)
- Download the results. If the image you chose contains more than 90 % of clouds, you get a filename which starts with "NOVALD" for "Not Valid".
OK, it's a lot of clicks, I am pretty sure you will not try to process the whole Australia like that. As this processing is made through the Wep Processing Service (WPS) interface, there is a way to do that using only http requests, with no click. With the help of Christophe Taillan, I have implemented two sample scripts to help you do that (the first users will be beta testers). The first script submits Maja processes on PEPS, the second one checks thir completion and eventually download results. The scripts are available on github. The processing takes between 1 or 2 hours for one product. This is due to the fact MAJA is a multi-temporal processor,it does not provide its best result when only processing one image, but when processing a whole tile series of images. When you ask for one product, PEPS actually processes, not 1, not 2, not 3... but 8 of them to get a good initialisation. But it only delivers the one you asked for. If the image you selected is not too recent, the 8 products will be posterior to that date. If the product was just acquired, the 8 products will be anterior. This procedure is not optimal. if you want all the products in July 2018, for each product MAJA will use its backward mode, and process the seven products after that date. Some of these products will be therefore produced 8 times. As I said, it is a proof of concept, the PEPS team will soon propose more efficient ways of delivering the data. What about the quality of results ?
The above figure compares a MAJA product from Theia on the left, and a MAJA product on the right. Reflectances are nearly identical, cloud masks only slightly differ. The differences are due to the fact that both productions do not use exactly the same history or products. The Theia product should be a little better in general, but differences are low, provided the period is not too cloudy. Just one warning, if the product you ask for is the only clear one in a very cloudy sequence of 8 images, do not expect a good result, due to the fact that we limit the history to 8 images. MAJA in THEIA context would produce a better result as it use longer periods of time. The PEPS team will be happy to have feedback ! You might comment here or write to them.By the way, who did what ?Christophe Taillan did most of the development work, with some help from Erwann Poupart and myself, Vincent Garcia and the exploitation team make sure that everything works, Patrice Henry, the big boss, enabled the project, which was started by Mireille Paulin (to whom we think a lot). You may even see their photographs in the "who are we" page, here.