TN - Run Processor in Batch Mode

Skip to end of metadata
Go to start of metadata

The processor is shipped without an corresponding batch file. But it is easy to create one.
Use one of the script files as template, e.g. meris-smile.bat on Windows or meris-smile.sh on Unix.
The files are located in the $BEAM_HOME/bin directory.

Just change the value of the beam.processorClass property to

  • org.esa.beam.lakes.boreal.processor.BorealLakesProcessor for Boreal Lakes processor
    or
  • org.esa.beam.merisc2r.processor.MerisC2RProcessor for the Case2R processor
    or
  • org.esa.beam.lakes.eutrophic.processor.EutrophicLakesProcessor for the Eutrophic Lakes processor

The resulting script should look like the following example.

@echo off

set BEAM4_HOME=C:\Programme\beam\beam-4.1

"%BEAM_HOME%\jre\bin\java.exe" ^
    -Xmx1024M ^
    -Dceres.context=beam ^
    "-Dbeam.mainClass=org.esa.beam.framework.processor.ProcessorRunner" ^
    "-Dbeam.processorClass=org.esa.beam.lakes.boreal.processor.BorealLakesProcessor" ^
    "-Dbeam.home=%BEAM4_HOME%" ^
    "-Dncsa.hdf.hdflib.HDFLibrary.hdflib=%BEAM4_HOME%\modules\lib-hdf-2.3\lib\win\jhdf.dll" ^
    "-Dncsa.hdf.hdf5lib.H5.hdf5lib=%BEAM4_HOME%\modules\lib-hdf-2.3\lib\win\jhdf5.dll" ^
    -jar "%BEAM4_HOME%\bin\ceres-launcher.jar" %*

exit /B 0

Help

If you have any problem or question regarding
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.