l2gen products
Posted: Fri May 22, 2020 2:44 pm America/New_York
Are you using SeaDAS Version 7.5.3?
Welcome to the Earthdata Forum! Here, the scientific user community and subject matter experts from NASA Distributed Active Archive Centers (DAACs), and other contributors, discuss research needs, data, and data applications.
https://forum.earthdata.nasa.gov/
<seadas_install_dir>/bin/gpt.sh
. ESA SNAP provides <snap_install_dir>/bin/gpt
(without the .sh
). The ESA version changes to the <snap_install_dir>/bin
directory before running the java command. That means all files need to provide the full path. I generally use ESA's version because it has many new operators, but in general my experience has been that Java tools sometimes fail if files aren't specified with a full path. -e
flag to the gpt[.sh]
command line. You could try (assuming the files are in the test
directory):I:\DINEOF\BOB\test>gpt reproject.xml -e -Ssource=I:\DINEOF\BOB\test\QUA_MODIS.20071229T071507.L2.SST.nc -f GeoTIFF -Ptarget=I:\DINEOF\BOB\test\AQUA_MODIS.20071229T071507.L2.SST_reprojected.tif
C:\Users\seadas>dir "c:\Program Files\seadas-7.5"\bin\gpt.bat
Volume in drive C is OS
Volume Serial Number is 1648-9495
Directory of c:\Program Files\seadas-7.5\bin
2019-04-29 01:36 PM 497 gpt.bat
1 File(s) 497 bytes
0 Dir(s) 120,697,532,416 bytes free
C:\Users\seadas>"c:\Program Files\seadas-7.5"\bin\gpt.bat -h
The system cannot find the path specified.
gpt.bat
:java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
"%SEADAS_HOME%\jre\bin\java.exe" ^
java.exe ^