Hello,
if I specify a DEM in the L2A_GIPP.xml config file and then run sen2cor a fatal error occurs. It seems it can’t recognize the gdalwarp command. Any idea?
Thank you in advance
Regards
Gabriele
Hello,
if I specify a DEM in the L2A_GIPP.xml config file and then run sen2cor a fatal error occurs. It seems it can’t recognize the gdalwarp command. Any idea?
Thank you in advance
Regards
Gabriele
Hey there,
i encountered the same problem. I took a look at L2A_Tables.py and as far as i understand, the function gdalDEM() is trying to call gdal from shell (Lines 1000-1004):
callstr = command + arguments + srtmf_src + self._DEV0 if(subprocess.call(callstr, shell=True) != 0): self.config.tracer.fatal(shell execution error using gdalwarp') self.config.exitError() return False
sen2cor is downloading dem data from the server to SEN2COR_HOME\dem and unzipping is working too.
It seems there are some problems for sen2cor to access my gdal library giving the fatal error “shell execution error using gdalwarp”
sen2cor is running without Terrain Correction on 20 and 60 m resolution.
Environment Variables:
SEN2COR_BIN=C:\Users\beck_ct\Programs\anaconda2\Lib\site-packages\sen2cor-2.0.6-py2.7.egg\sen2cor
SEN2COR_HOME=C:\Users\beck_ct\documents\sen2cor
GDAL_DATA=C:\Users\beck_ct\Programs\anaconda2\Lib\site-packages\osgeo\data\gdal
Trace and Report file
L2A_20160121T120840_trace.xml (1.6 KB)L2A_20160121T120840_report.xml (6.3 KB)
Any ideas on how to solve the problem?
Thanks in advance
Chris
Hi,
I think this issue was identified as a problem by the developers and hopefully will be solved soon. Please take a look at this post:
Regards
Thanks for the hint Gabbro. Seems like i missed that one.
Best Wishes
Hello,
the problem with DEM is in system because on my first computer everything works fine but second it doesn’t work. On every computer I have windows 10 ;]
Hi,
i think i found (with my friend) solution for error in command line using DEM “shell execution error using gdalwarp”. I don’t know why but when you install sen2cor program doesn’t indicate where is the path for gdalwarp.exe file(it affects only part of computer Not at all). We have to show where is gdalwarp file. I prepared short guide how to do that. I hope that it will be helpful for you. It is for windows 10 64 bit system but i think it’s similar for windows 8.
Regards
Guide.pdf (448.4 KB)
thank you kiry23l!
regards