Code: Select all
% ACOLITE: Running ACOLITE for 1 image.
Error -254: Error opening file. Unit
Code: Select all
S2A_OPER_PRD_MSIL1C_PDMC_20160508T154402_R126_V20150810T164209_20150810T164209.SAFE/
Code: Select all
% ACOLITE: Running ACOLITE for 1 image.
Error -254: Error opening file. Unit
Code: Select all
S2A_OPER_PRD_MSIL1C_PDMC_20160508T154402_R126_V20150810T164209_20150810T164209.SAFE/
Code: Select all
rio:/tmp/aco-tmpdir$ ls
S2A_MSIL1C_20170110T153611_N0204_R111_T19TCJ_20170110T154029.SAFE command settings.cfg
rio:/tmp/aco-tmpdir$ cat command
dir=/tmp/aco-tmpdir
cd /opt/acolite_linux/
idl -IDL_CPU_TPOOL_NTHREADS 1 -rt=acolite.sav \
-args settings=$dir/settings.cfg run=1 output=$dir \
image=$dir/S2A_MSIL1C_20170110T153611_N0204_R111_T19TCJ_20170110T154029.SAFE
rio:/tmp/aco-tmpdir$ bash command
IDL Version 8.4.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc.
Installation number: 217856.
Licensed for use by: Applied GeoSolutions, LLC
% ACOLITE: Running ACOLITE for 1 image.
Error -254: Error opening file. Unit
Code: Select all
Launch idl from a terminal:
> cd ../acolite_linux
> idl
Restore the acolite.sav file from the idl prompt:
> restore, "acolite.sav"
Make dir variable and run acolite from the idl prompt:
> dir = "/tmp/aco-tmpdir"
> acolite, settings=dir+"/settings.cfg", run=1, output=dir+"/", image=dir+"/S2A_MSIL1C_20170110T153611_N0204_R111_T19TCJ_20170110T154029.SAFE"
Code: Select all
IDL> print, dir
/tmp/aco-tmpdir
IDL> acolite, settings=dir+"/revised.cfg", run=1, image=dir+"/S2A_MSIL1C_20170110T153611_N0204_R111_T19TCJ_20170110T154029.SAFE"
% ACOLITE: Running ACOLITE for 1 image.
Error -254: Error opening file. Unit
Code: Select all
IDL> help, /routines ; output trimmed obviously
. . .
ACOLITE DEBUG HEADLESS IMAGE MERGE_TILES RUN SETTINGS
. . .
Code: Select all
IDL> openr, 1, 'no-such-file.txt'
% OPENR: Error opening file. Unit: 1, File: no-such-file.txt
No such file or directory