L2A processing error: DEM failed with latitudes < 60 deg

Hi,

I am trying to generate L2A imagery from a set of Sentinel-2 downloaded imagery in a ROI with latitudes < 60 and an AOI as given below. Unfortunately i am a new user and cannot upload a Shapefile to this forum, but one can donwload a Shapefile of the AOI from http://geojson.io/ by copy/paste the AOI GeoJSON string given in annex below.

I am manually running demmaccs.py in a bash script loop over 500+ Sentinel-2 images downloaded using the Sen2Agri GUI over the AOI above.

I am having a mix of “DEM failed” and “MACCS did not processed any tiles for L1C product” as given in the demmaccs.log:

2018-11-12 13:09:08.247630:[10446]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446
2018-11-12 13:09:08.247706:[10446]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_TMP
2018-11-12 13:09:08.247755:[10446]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_OUT
2018-11-12 13:09:08.248474:[10446]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevolandjavascript:;/S2B_MSIL1C_20180827T110029_N0206_R094_T31UET_20180827T150823.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_OUT
2018-11-12 13:10:22.277600:[10446]:Command finished OK (res = 0) in 0:01:14.028980 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20180827T110029_N0206_R094_T31UET_20180827T150823.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_OUT
2018-11-12 13:10:22.278185:[10446]:DEM finished in: 0:01:14.030213
2018-11-12 13:10:22.278623:[10446]:DEM output directory /mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_OUT has DEM hdrs = ['/mnt/archive/demmaccs_tmp/L2AWorkingDir/10446_DEM_OUT/S2_TEST_AUX_REFDE2_31UET_20180827T110029_0001.HDR']
2018-11-12 13:10:23.095929:[10446]:MACCS did not processed any tiles for L1C product /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20180827T110029_N0206_R094_T31UET_20180827T150823.SAFE
2018-11-12 13:10:23.096004:[10446]:Remove all the temporary files and directory
2018-11-12 13:10:23.215725:[10446]:Total execution 0:01:14.967847:
2018-11-12 13:25:30.873848:[11799]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799
2018-11-12 13:25:30.873927:[11799]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_TMP
2018-11-12 13:25:30.873979:[11799]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_OUT
2018-11-12 13:25:30.874961:[11799]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20180827T110029_N0206_R094_T31UFU_20180827T150823.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_OUT
2018-11-12 13:25:31.039274:[11799]:Command finished NOK (res = 255) in 0:00:00.164234 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20180827T110029_N0206_R094_T31UFU_20180827T150823.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/11799_DEM_OUT
2018-11-12 13:25:31.039385:[11799]:DEM failed

Any procedure that could help in diagnosing the problem?

AOI GeoJSON string:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "stroke": "#555555",
        "stroke-width": 2,
        "stroke-opacity": 1,
        "fill": "#555555",
        "fill-opacity": 0.5
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              4.6123695373535165,
              52.77192791202694
            ],
            [
              4.5931434631347665,
              52.735356201272154
            ],
            [
              4.5890235900878915,
              52.69958599688865
            ],
            [
              4.5739173889160165,
              52.62045477872082
            ],
            [
              4.457874298095707,
              52.51569854950095
            ],
            [
              4.436588287353519,
              52.443768864998496
            ],
            [
              4.4832801818847665,
              52.40063838355744
            ],
            [
              4.4077491760253915,
              52.28989760680671
            ],
            [
              4.3322181701660165,
              52.18814143548184
            ],
            [
              4.387149810791016,
              52.17635293259854
            ],
            [
              4.6947669982910165,
              52.17972139514804
            ],
            [
              4.988651275634766,
              52.111460297609476
            ],
            [
              5.013370513916016,
              52.11061691405336
            ],
            [
              5.1905250549316415,
              52.11230366521226
            ],
            [
              5.2385902404785165,
              52.124109136616376
            ],
            [
              5.286655426025391,
              52.15276655134387
            ],
            [
              5.347080230712891,
              52.21170906740699
            ],
            [
              5.384159088134766,
              52.241151034765146
            ],
            [
              5.5077552795410165,
              52.264690553839884
            ],
            [
              5.542774200439456,
              52.27151887966843
            ],
            [
              5.560111999511722,
              52.29598716039144
            ],
            [
              5.6176185607910165,
              52.35872375390447
            ],
            [
              5.724735260009766,
              52.395610728648734
            ],
            [
              5.8112525939941415,
              52.44167612664725
            ],
            [
              5.865497589111332,
              52.50431055185085
            ],
            [
              5.8776855468750036,
              52.540971446408086
            ],
            [
              5.834598541259766,
              52.57207263946468
            ],
            [
              5.801639556884766,
              52.599606959870364
            ],
            [
              5.6437110900878915,
              52.62045477872082
            ],
            [
              5.536594390869141,
              52.66295355780973
            ],
            [
              5.4349708557128915,
              52.72121799851894
            ],
            [
              5.3141212463378915,
              52.741176481768
            ],
            [
              5.233097076416016,
              52.77608184569863
            ],
            [
              5.060062408447266,
              52.765280793639114
            ],
            [
              4.6123695373535165,
              52.77192791202694
            ]
          ]
        ]
      }
    }
  ]
}

Bash script to loop manual MACCS processor:

#!/bin/bash
FILES=/mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/*
for f in $FILES
do
  echo "Processing $f file..."
  # take action on each file. $f store current file name
  cat $f
  /usr/share/sen2agri/sen2agri-demmaccs/demmaccs.py --working-dir /mnt/archive/demmaccs_tmp/L2AWorkingDir/ --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ --processes-number-dem 20 --gipp-dir /mnt/archive/gipp/ --maccs-launcher /opt/maccs/core/5.1/bin/maccs /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/$f /mnt/archive/demmaccs_tmp 
done

Complete output of demmaccs.log after running the bash script: [truncated due to forum characters limit]

2018-11-12 14:47:15.498787:[20894]:Command finished NOK (res = 255) in 0:00:00.168222 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20894_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181023T105109_N0206_R051_T31UFT_20181023T130438.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20894_DEM_OUT
2018-11-12 14:47:15.498887:[20894]:DEM failed
2018-11-12 14:47:15.663553:[20897]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897
2018-11-12 14:47:15.663628:[20897]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_TMP
2018-11-12 14:47:15.663679:[20897]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_OUT
2018-11-12 14:47:15.664451:[20897]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181023T105109_N0206_R051_T31UFU_20181023T130438.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_OUT
2018-11-12 14:47:15.827341:[20897]:Command finished NOK (res = 255) in 0:00:00.162809 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181023T105109_N0206_R051_T31UFU_20181023T130438.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20897_DEM_OUT
2018-11-12 14:47:15.827436:[20897]:DEM failed
2018-11-12 14:47:15.997595:[20900]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900
2018-11-12 14:47:15.997676:[20900]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_TMP
2018-11-12 14:47:15.997730:[20900]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_OUT
2018-11-12 14:47:15.998605:[20900]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UET_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_OUT
2018-11-12 14:47:16.162282:[20900]:Command finished NOK (res = 255) in 0:00:00.163598 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UET_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20900_DEM_OUT
2018-11-12 14:47:16.162386:[20900]:DEM failed
2018-11-12 14:47:16.330650:[20904]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904
2018-11-12 14:47:16.330728:[20904]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_TMP
2018-11-12 14:47:16.330781:[20904]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_OUT
2018-11-12 14:47:16.331559:[20904]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UEU_20181026T130655.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_OUT
2018-11-12 14:47:16.494955:[20904]:Command finished NOK (res = 255) in 0:00:00.163318 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UEU_20181026T130655.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20904_DEM_OUT
2018-11-12 14:47:16.495064:[20904]:DEM failed
2018-11-12 14:47:16.659647:[20907]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907
2018-11-12 14:47:16.659725:[20907]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_TMP
2018-11-12 14:47:16.659776:[20907]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_OUT
2018-11-12 14:47:16.660608:[20907]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UEU_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_OUT
2018-11-12 14:47:16.829022:[20907]:Command finished NOK (res = 255) in 0:00:00.168332 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UEU_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20907_DEM_OUT
2018-11-12 14:47:16.829134:[20907]:DEM failed
2018-11-12 14:47:16.994213:[20910]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910
2018-11-12 14:47:16.994288:[20910]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_TMP
2018-11-12 14:47:16.994339:[20910]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_OUT
2018-11-12 14:47:16.995018:[20910]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UFU_20181026T130655.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_OUT
2018-11-12 14:47:17.158846:[20910]:Command finished NOK (res = 255) in 0:00:00.163744 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UFU_20181026T130655.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20910_DEM_OUT
2018-11-12 14:47:17.158949:[20910]:DEM failed
2018-11-12 14:47:17.323788:[20913]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913
2018-11-12 14:47:17.323872:[20913]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_TMP
2018-11-12 14:47:17.323930:[20913]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_OUT
2018-11-12 14:47:17.324669:[20913]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UFU_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_OUT
2018-11-12 14:47:17.487519:[20913]:Command finished NOK (res = 255) in 0:00:00.162769 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181026T110129_N0206_R094_T31UFU_20181026T145345.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20913_DEM_OUT
2018-11-12 14:47:17.487615:[20913]:DEM failed
2018-11-12 14:47:17.652821:[20917]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917
2018-11-12 14:47:17.652898:[20917]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_TMP
2018-11-12 14:47:17.652949:[20917]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_OUT
2018-11-12 14:47:17.653774:[20917]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181030T104149_N0206_R008_T31UFT_20181031T072116.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_OUT
2018-11-12 14:47:17.818413:[20917]:Command finished NOK (res = 255) in 0:00:00.164544 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181030T104149_N0206_R008_T31UFT_20181031T072116.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20917_DEM_OUT
2018-11-12 14:47:17.818513:[20917]:DEM failed
2018-11-12 14:47:17.983241:[20920]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920
2018-11-12 14:47:17.983315:[20920]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_TMP
2018-11-12 14:47:17.983365:[20920]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_OUT
2018-11-12 14:47:17.984174:[20920]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181030T104149_N0206_R008_T31UFU_20181031T072116.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_OUT
2018-11-12 14:47:18.146177:[20920]:Command finished NOK (res = 255) in 0:00:00.162024 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181030T104149_N0206_R008_T31UFU_20181031T072116.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20920_DEM_OUT
2018-11-12 14:47:18.146283:[20920]:DEM failed
2018-11-12 14:47:18.315566:[20923]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923
2018-11-12 14:47:18.315644:[20923]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_TMP
2018-11-12 14:47:18.315695:[20923]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_OUT
2018-11-12 14:47:18.316459:[20923]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UET_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_OUT
2018-11-12 14:47:18.478994:[20923]:Command finished NOK (res = 255) in 0:00:00.162450 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UET_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20923_DEM_OUT
2018-11-12 14:47:18.479108:[20923]:DEM failed
2018-11-12 14:47:18.648433:[20927]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927
2018-11-12 14:47:18.648522:[20927]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_TMP
2018-11-12 14:47:18.648577:[20927]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_OUT
2018-11-12 14:47:18.649352:[20927]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UEU_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_OUT
2018-11-12 14:47:18.813808:[20927]:Command finished NOK (res = 255) in 0:00:00.164365 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UEU_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20927_DEM_OUT
2018-11-12 14:47:18.813909:[20927]:DEM failed
2018-11-12 14:47:18.980787:[20931]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931
2018-11-12 14:47:18.980868:[20931]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_TMP
2018-11-12 14:47:18.980919:[20931]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_OUT
2018-11-12 14:47:18.981656:[20931]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UFT_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_OUT
2018-11-12 14:47:19.145014:[20931]:Command finished NOK (res = 255) in 0:00:00.163283 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UFT_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20931_DEM_OUT
2018-11-12 14:47:19.145133:[20931]:DEM failed
2018-11-12 14:47:19.309617:[20934]:working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934
2018-11-12 14:47:19.309688:[20934]:dem_working_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_TMP
2018-11-12 14:47:19.309741:[20934]:dem_output_dir = /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_OUT
2018-11-12 14:47:19.310498:[20934]:Starting command: /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UFU_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_OUT
2018-11-12 14:47:19.474297:[20934]:Command finished NOK (res = 255) in 0:00:00.163711 : /usr/share/sen2agri/sen2agri-demmaccs/dem.py --srtm /mnt/archive/srtm/ --swbd /mnt/archive/swbd/ -p 20 -w /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_TMP /mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland//mnt/archive/dwn_def/s2/default/metropolitan_region_amsterdam_with_flevoland/S2B_MSIL1C_20181102T105209_N0206_R051_T31UFU_20181102T130431.SAFE /mnt/archive/demmaccs_tmp/L2AWorkingDir/20934_DEM_OUT
2018-11-12 14:47:19.474394:[20934]:DEM failed

Any solution for this ?

Hello,

Have you checked the permissions? As I remember, you need to give full access rights to

/mnt/archive/gipp_maja/ or /mnt/archive/gipp/ or ‘/opt/maja’

We normally use sudo chmod a+rx 777 [directory] to enable maja/maccss processing. Not sure if that would help.

Hello,
As an addition to what Brent said, please note that the command you try to execute is using MACCS 5.1 and the gipp files from MACCS while in this moment we do not support anymore MACCS but MAJA.
In this case, you should update your command, if you want to run it manually, to use MAJA 3.2.2 (only this version works for the gipp we provide on the project website).