The problem with running the SeaDAS gpt command.
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: The problem with running the SeaDAS gpt command.
gpt in SeaDAS 9.0.1 should work. Please share with us the error message you got.
Here is the gpt tutorial page -- https://seadas.gsfc.nasa.gov/help-9.0.0/GptCookbook/gptTutorial.html
There is a know bug that you need to use the full path for files and commands.
Here is the gpt tutorial page -- https://seadas.gsfc.nasa.gov/help-9.0.0/GptCookbook/gptTutorial.html
There is a know bug that you need to use the full path for files and commands.
-
- Posts: 59
- Joined: Thu Jan 24, 2008 1:33 pm America/New_York
- Has thanked: 2 times
- Been thanked: 1 time
Re: The problem with running the SeaDAS gpt command.
With the linux version I always have to fix the path to java in the gpt file before it works (removing "Contents/Home/" near the end of the file).
Code: Select all
diff gpt gpt_orig
448c448
< exec "$app_home/jdk-11.0.19+7-jre/bin/java" -Dexe4j.moduleName="$prg_dir/$progname" -Djava.library.path=$LD_LIBRARY_PATH "-Dsnap.mainClass=org.esa.snap.core.gpf.main.GPT" "-Dsnap.home=$app_home" "-Djava.awt.headless=true" -classpath "$local_classpath" org.esa.snap.runtime.Launcher "$@"
---
> exec "$app_home/jdk-11.0.19+7-jre/Contents/Home/bin/java" -Dexe4j.moduleName="$prg_dir/$progname" -Djava.library.path=$LD_LIBRARY_PATH "-Dsnap.mainClass=org.esa.snap.core.gpf.main.GPT" "-Dsnap.home=$app_home" "-Djava.awt.headless=true" -classpath "$local_classpath" org.esa.snap.runtime.Launcher "$@"
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: The problem with running the SeaDAS gpt command.
Thanks for letting us know! We'll fix our code accordingly.