headless batch run Python

Technical questions about ACOLITE
Post Reply
Laspaias
Posts: 2
Joined: Thu Aug 30, 2018 3:03 pm

headless batch run Python

Post by Laspaias »

Hi Quinten,

I am trying to run the last version of acolite_py_linux in a headless mode with full tiles (no subset) of Sentinel 2 in Linux. After computing the L2R dataset I get a "Segmentation fault (core dumped)" error. However when trying to run the same image in the GUI it works fine. Is there something I am missing here? Do you have any suggestions?

Thanks in advance

Lazaros :)
quinten
Posts: 1021
Joined: Tue Mar 03, 2015 8:13 am

Re: headless batch run

Post by quinten »

Hi Lazaros

Could you post the command you used? The output settings and log files would be useful too.

Quinten
jcs1973
Posts: 9
Joined: Wed Sep 05, 2018 7:15 pm

Re: headless batch run Python

Post by jcs1973 »

Hello
I have experienced the similar problems with Sentinel 2 data using acolite linux 20180611.0 (with 20180327.0 version was ok). I have tested it in two different computers, both running linux ubuntu 18.04. However neither gui nor command line generated the L2W file after the generation of L2R file.

This command (and acolite_python_S2.txt file) were fine for the 20180327.0 version:
./acolite --cli --settings=/home/images/acolite/acolite_python_S2.txt --image=/home/images/sentinel2/procesamiento/canarias/20161013_S2A/S2A_MSIL1C_20161013T115212_N0204_R123_T28RDS_20161013T115215.SAFE

The processing also fails with landsat 8 data. The routines write L1R and L2R, but in this case Acolite 2018.06.11.0 starts to write an empty L2W file (only lon and lat bands were included).
L8 example test L8:

./acolite --cli --settings=/home/images/acolite/acolite_python_L8.txt --image=/home/images/landsat/procesamiento/canarias/20170917_L8

Please find enclosed the log, settings files and the corresponding output text (Acolite2018.06.11.0_settings_log.zip).

Regards
Josep
Attachments
Acolite2018.06.11.0_settings_log.zip
(48.11 KiB) Downloaded 635 times
quinten
Posts: 1021
Joined: Tue Mar 03, 2015 8:13 am

Re: headless batch run Python

Post by quinten »

Hi Josep

It seems your S2 processing fails at the RGB generation, maybe you run out of RAM there? You could test a run without RGB output.

The L8 processing fails somewhere in the L2W product computation, maybe there is an issue with the rhos_* expansion. Could you try with a more limited output parameter set? (e.g. just fai)

Quinten
jcs1973
Posts: 9
Joined: Wed Sep 05, 2018 7:15 pm

Re: headless batch run Python

Post by jcs1973 »

Dear Quinten

I have made the modifications that you suggested. The processing is working now, both landsat 8 and sentinel 2. I have done few tests, but they have been working,

Thank you very much!!!
Josep
Post Reply