force-l2ps_¶
This program is a wrapper script that acts as a bridge between force-level2 and force-l2ps. It is called from within force-level2 for each image.
For the majority of users, it is recommended to use force-level2 instead of directly calling force-l2ps_.
If necessary, this tool unpacks the Level 1 zip/tar.gz containers. It calls force-l2ps to process the umpacked images. If input data were unpacked by this tool, it removes the temporary data after processing. The tool also redirects the messages printed by force-l2ps to logfiles.
Usage¶
force-l2ps_
Usage: force-l2ps_ image parfile bindir logdir tempdir timeout_zip
image
The 1st argument is the input image.In case of Landsat, it can be the.tar.gz
archive, or the unpacked image.In case of Sentinel-2, it can be the.zip
archive, the unpacked.SAFE
directory, or one tile (directory) within theGRANULE
directory must be given as input.parfile
The Parameter file needs to be given as second argumentbindir
This is the directory, where force-l2ps is installedlogdir
This is the directory, where logfiles should be stored.tempdir
This is the directory for temporarily unpacking the.zip
or.tar.gz
containerstimeout_zip
This is a timeout in seconds after which the unpacking of the.zip
or.tar.gz
containers will be cancelled