MAJA V4 soon to be released as open source software

CESBIO is the home of a highly motivated bunch of open source software advocates ! Let’s have a look at some the main softwares to which CESBIO members contributed, and which are available on various git platforms :

  • the father of Orfeo Toolbox is at CESBIO
  • WASP (monthly syntheses of Sentinel-2 images),
  • LIS (Snow cover from Sentinel-2
  • Iota2 (land cover classification)
  • S1-Tiling (Ortho-rectification of Sentinel-1 tiles onto Sentinel-2 grid
WASPIOTA2LISS1-Tiling

But one of our softwares was only distributed freely as a binary package, and not as an open source package : MAJA. As far as Sentinel-2 is concerned, MAJA is the most reliable processor for cloud detection, and one of the good ones for atmospheric correction. This is due to the use of multi-temporal methods, that use more information than single image methods. MAJA was developped by CNES, even if most of the algorithms were defined at CESBIO, and a couple of them at DLR.

Sentinel-2 image time series over Mopti (Mali), left, L1C (TOA reflectance) from ESA, right L2A from MAJA (Surface reflectance)

Why was MAJA not open source ? Well, CNES used to be quite reluctant to distribute its software as open source. My own interpretation is that it comes several reasons :

  • a long military tradition, and therefore the habit of keeping some things secret
  • a strong pressure from our government to value our developments
  • CNES mandate to contribute to building of a strong French space industry. there used to be a belief that protecting our developments could give an advantage to French companies in the European competition.

Maybe I’m wrong on my interpretation, but anyways, four years ago, our proposal to release MAJA as open-source was rejected, even if CNES accepted to distribute MAJA as a free binary package. But we filed the same demand in 2020, and this time, last friday, the release of MAJA as an open source software was finally accepted !

Number of users downloading Theia products every month. With a total exceeding 2000 so far.
Cumulative number of Theia products downloaded. On average, each product delivered by Theia has been downloaded 1.5 times.

MAJA’s products within Theia have been downloaded by 2023 persons (as of February 2020). MAJA’s binary code has been downloaded more than 500 times per year, 1530 times so far. MAJA is also used by DLR, by Venµs project, within the Sen2Agri and Sen4Cap systems, or in the EEA snow and ice project. Although the core of MAJA code is in advanced C++ (with templates, functors…), we know some of our users are able to bring contributions. Moreover, in MAJA 4.0, the interfaces management is written in python. Users will have the opportunity to modify the read/write drivers for a better integration in their workflow. Moreover, as MAJA becomes open source, users have the guarantee to be able to go on using MAJA, even if one day, CNES ends its development. But don’t worry, MAJA will be used for Trishna mission, and should therefore live and evolve for 10 more years.

This is why my CNES colleagues asked CS-SI, the company in charge of MAJA’s development, to do a large mondernization of MAJA’s code, introducing an orchestrator and input/output drivers writtent in python instead of C++. The core modules are still written in C++, but their interfaces are now those of Orfeo Tool Box applications. This large refactoring was the main purpose of MAJA V4. it is currently under validation, and the last bugs are being corrected. We should be releasing MAJA’s source code and executable version in a few weeks.

 

 

 

Plus d'actualités

BIOMASS, the third launched satellite mission designed at CESBIO !

After SMOS in 2009, and VENµS in 2017, the CESBIO Laboratory is very proud to see its third proposed mission, Biomass, reach orbit. As always, it has been a long journey from the idea, at the beginning of the century, to the selection in 2013 as the seventh Earth Explorer Mission by ESA, to the […]

Biophysical parameter retrieval from Sentinel-2 images using physics-driven deep learning for PROSAIL inversion

The results presented here are based on published work: Y. Zérah, S. Valero, and J. Inglada. « Physics-constrained deep learning for biophysical parameter retrieval from sentinel-2 images: Inversion of the prosail model« , in Remote Sensing of Environment, doi: 10.1016/j.rse.2024.114309. This work is part of the PhD of Yoël Zérah, supervised by Jordi Inglada and Silvia Valero. […]

Copernicus should keep S2A operational after S2C launch

The launch of Sentinel-2C (S2C) is scheduled on the 4th of September 2024, next week ! After 3 months of commissioning phase, S2C will replace S2A, to fulfill the Sentinel-2 mission together with S2B. S2B will later be replaced by S2D. The current plans are to keep S2A as a redundant satellite, in case something […]

Rechercher