For tests, I was in the build directory when I ran ctest. See console output above.
Here is the console output of startmaja. Note that it still has issues with the gipp directory:
xstellar01:/data/atmcorr/majaData$ startmaja --tile 32TLP -f folders.txt
2022-11-29 17:07:12,328 [INFO ] =============This is Start_Maja v4.6.3==============
INFO:root:=============This is Start_Maja v4.6.3==============
2022-11-29 17:07:12,329 [INFO ] Detecting input products...
INFO:root:Detecting input products...
2022-11-29 17:07:12,331 [INFO ] 1 L1C product(s) detected for tile 32TLP in /data/atmcorr/majaData/l1c/32TLP
INFO:root:1 L1C product(s) detected for tile 32TLP in /data/atmcorr/majaData/l1c/32TLP
2022-11-29 17:07:12,331 [WARNI] No L2A products detected for tile 32TLP in /data/atmcorr/majaData/l2a/32TLP
WARNING:root:No L2A products detected for tile 32TLP in /data/atmcorr/majaData/l2a/32TLP
2022-11-29 17:07:12,332 [INFO ] Skipping CAMS file detection.
INFO:root:Skipping CAMS file detection.
2022-11-29 17:07:12,332 [INFO ] Checking GIPP files
INFO:root:Checking GIPP files
2022-11-29 17:07:12,332 [INFO ] Setting up GIPP folder: /data/atmcorr/majaData/gipp
INFO:root:Setting up GIPP folder: /data/atmcorr/majaData/gipp
2022-11-29 17:07:12,343 [INFO ] Cannot find GIPP for SENTINEL2. Will attempt to download it.
INFO:root:Cannot find GIPP for SENTINEL2. Will attempt to download it.
2022-11-29 17:07:12,343 [INFO ] Searching for DTM
INFO:root:Searching for DTM
2022-11-29 17:07:12,343 [INFO ] Cannot find DTM. Will attempt to download it for type 'any'
INFO:root:Cannot find DTM. Will attempt to download it for type 'any'
2022-11-29 17:07:12,343 [INFO ] Attempting to download DTM...
INFO:root:Attempting to download DTM...
2022-11-29 17:07:13,187 [ERROR] Cannot find the following file(s): ['eu_dem_v11_E40N20.zip'].
Please download it from https://land.copernicus.eu/imagery-in-situ/eu-dem/eu-dem-v1.1?tab=download and place it into the following directory: /data/atmcorr/majaData/dtm/raw.
Then re-run this script.
ERROR:root:Cannot find the following file(s): ['eu_dem_v11_E40N20.zip'].
Please download it from https://land.copernicus.eu/imagery-in-situ/eu-dem/eu-dem-v1.1?tab=download and place it into the following directory: /data/atmcorr/majaData/dtm/raw.
Then re-run this script.
Traceback (most recent call last):
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/Start_maja.py", line 881, in <module>
s.run()
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/Start_maja.py", line 671, in run
raw_gsw=self.rep_gsw,
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/Chain/Product.py", line 259, in get_mnt
**kwargs
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/prepare_mnt/mnt/MNTFactory.py", line 73, in factory
full_res_only=self.full_res_only,
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/prepare_mnt/mnt/MNTBase.py", line 254, in to_maja_format
mnt_max_res = self.prepare_mnt()
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/prepare_mnt/mnt/SRTM.py", line 81, in prepare_mnt
srtm_archives = self.get_raw_data()
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/prepare_mnt/mnt/SRTM.py", line 68, in get_raw_data
current_url, output_path, log_level=logging.INFO
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/Common/FileSystem.py", line 246, in download_file
ret_code = run_external_app("LD_LIBRARY_PATH='' wget", args, log_level=log_level)
File "/home/oscar.kramer/repos/maja/install/maja/4.6.3/lib/python/StartMaja/Common/FileSystem.py", line 203, in run_external_app
raise subprocess.CalledProcessError(return_code, cmd)
subprocess.CalledProcessError: Command 'LD_LIBRARY_PATH='' wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -O /tmp/tmp662uwarx https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_38_04.zip -nv' returned non-zero exit status 5.
I’m not sure what maja is expecting for elevation. I see reference in the output to ‘eu_dem_v11_E40N20.zip’ and also ‘srtm_38_04.zip’. However, the imagery is over Nice (N43E007), so not sure where it is getting those filenames from. I did zip up my SRTM N43E007.hgt to filename N43E007.hgt.zip and put that in dtm/raw, but it wasn’t picked up.