Open jprankl opened 3 years ago
@c00kiemon5ter would be nice if you could test the steps.
@olivierhagolle, I had a discussion with Ivan on how to install Maja in Ubuntu. I thought it might be also interesting for other people and started a new thread. I hope that's o.k.?
@olivierhagolle and @petket-5 I hacked a line into startmaja to configure the Muscate format. Is there a proper method to configure it? It might be nice to have a command-line option.
Hi @jprankl sorry, we are a bit too busy these days to reply quickly, but it's more than OK, thanks a lot for this contribution !
Thanks a lot @jprankl for this information. I've created a repo with a proper Dockerfile in case anyone is interested in the future. https://github.com/rohitshetty/maja-docker
This compiles the Maja from the develop branch from gitlab. But for some weird reason make binpkg fails, so cannot yet create a standalone binary, but rest of it works.
This is not a typical issue, but a step by step example of how to install MAJA 4 in Ubuntu 20.04 and Docker.
Assumption: Docker is already installed.
Get Ubuntu 20.04 Docker container and go into the container
/srv/data is a data folder, which is linked into the container (to /data)
Install dependencies
Download and install binaries from CNES
https://logiciels.cnes.fr/en/node/58?type=tel
Optionally build MAJA from source
Start maja
Configure folders.txt according to https://github.com/CNES/MAJA
In case CAMS should be activated (--cams) follow https://github.com/CNES/MAJA#download-cams-data and download the cams data before
L1C data structure example (without specifying a site)
/data/sentinel_products_L1C-test/33UWP/S2A_MSIL1C_20200909T095031_N0209_R079_T33UWP_20200909T110415.SAFE
Start maja in case it is installed from the binary package in the default folder
...or start maja if it is built from source