l2gen products
-
- Subject Matter Expert
- Posts: 262
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
l2gen products
Writing this on a linux box: NASA SeaDAS provides
You can get more detailed error messages by adding the
<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. You can get more detailed error messages by adding the
-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
-
- Subject Matter Expert
- Posts: 262
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
l2gen products
As a note since SeaDAS 7 has a platform dependent gpt executable filename, I'm using "gpt" as an alias for convenience:
For example I have on my mac in the file ~/.profile:
export SEADASROOT=/Users/seadas/SeaDAS_Installations/seadas-7.5.3
alias gpt=$SEADASROOT/bin/gpt.command
Danny
For example I have on my mac in the file ~/.profile:
export SEADASROOT=/Users/seadas/SeaDAS_Installations/seadas-7.5.3
alias gpt=$SEADASROOT/bin/gpt.command
Danny
l2gen products
Hi George,
Thank you for the response. I tried to give the entire path. I had installed Seadas in "C\Program Files". Since there is a space in the folder name, I reinstalled Seadas in another local drive. I got the following error. This was the error I had even when seadas was installed in C drive.
I:\DINEOF\BOB\test>H:\Software\seadas\install\seadas-7.5.3\bin\gpt.bat I:\DINEOF\BOB\test\reproject.xml -e Ssource=I:\DINEOF\BOB\test\AQUA_MODIS.20071229T071507.L2.SST.nc -f GeoTIFF -Ptarget=I:\DINEOF\BOB\test\AQUA_MODIS.20071229T071507.L2.SST_reprojected.tif
The system cannot find the path specified.
:confused:
Thank you for the response. I tried to give the entire path. I had installed Seadas in "C\Program Files". Since there is a space in the folder name, I reinstalled Seadas in another local drive. I got the following error. This was the error I had even when seadas was installed in C drive.
I:\DINEOF\BOB\test>H:\Software\seadas\install\seadas-7.5.3\bin\gpt.bat I:\DINEOF\BOB\test\reproject.xml -e Ssource=I:\DINEOF\BOB\test\AQUA_MODIS.20071229T071507.L2.SST.nc -f GeoTIFF -Ptarget=I:\DINEOF\BOB\test\AQUA_MODIS.20071229T071507.L2.SST_reprojected.tif
The system cannot find the path specified.
:confused:
l2gen products
Hi Danny,
I am working on windows 7 operating system. Is there anything like that which I can do similar to that?
I am working on windows 7 operating system. Is there anything like that which I can do similar to that?
l2gen products
When I was using Windows 7 (before I retired) my institution didn't allow us to install SeaDAS in "C:\Program Files". Now I have Windows 10 and have been using ESA's gpt, so I never encountered the problem.
But:
The problem is in
If the following gives something like:
You can replace the line:
with:
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
But:
C:\Users\seadas>"c:\Program Files\seadas-7.5"\bin\gpt.bat -h
The system cannot find the path specified.
The problem is in
gpt.bat
:If the following gives something like:
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)
You can replace the line:
"%SEADAS_HOME%\jre\bin\java.exe" ^
with:
java.exe ^