SNAP graph Processing Tool (gpt) missing

I could like to use the SNAP in command line,
after I installed the SNAP tool in UNIX, I do not see the “gpt” as they say below
“The SNAP command line interfaces (CLIs) can be found in the bin folder of the Sentinel Toolbox installation. They areThe Graph Processing Tool (GPT)A CLI for converting products and generating quicklooks (pconvert)A launcher for the SNAP DesktopA tool to configure the python interface”

Do I miss something?

1 Like

What do you see in the bin folder instead?
Maybe you installation went wrong

Thanks for reply,
Here is bin directory from esa-snap_all_unix_3_0.sh

adjust_bands
analyze_yaw
ardop
asf_airsar_import
asf_calibrate
asf_calpol
asf_export
asf_gamma_import
asf_geocode
asf_import
asf_kml_overlay
asf_mapready
asf_planner
asf_polsarpro_import
asf_proj2proj
asf_terrcorr
asf_view
bin_dir
brs2jpg
combine
deskew
diffimage
diffmeta
dumpCeosRecords
dumpLineHeader
envi2meta
farcorr
fftMatch
fftMatchGrid
fill_holes
flip
geoid_adjust
gr2sr
layer_stack
llh2ls
make_overlay
mapready
mdv
meta2envi
meta2xml
metadata
mosaic
plan
populate_meta_field
proj2proj
refine_geolocation
resample
sample_plugin
shift_geolocation
smooth
snap
snap-conf-optimiser
sr2gr
to_sr
trim
write_ppf

Actually the folder should look more like this:

This is for Windows but for Unix it is more or less similar.
For me it looks like you have mixed SNAP and ASF MapReady.
For example you have snap and snap-conf-optimiser but the others are missing.
Maybe you try a new clean installation.

Thanks, I reinstall and got the same as you.

How do i re-install the program on Ubuntu? i cannot see it listed in the installed programs in Ubuntu Software app

gpt is not a GUI program so is normally run in a terminal. The installer has an option to create symbolic links to a directory in the users PATH variable, typically $HOME/bin. In a terminal, what do you get for type gpt? Here:

$ type gpt
gpt is /home/<username>/bin/gpt

If that fails, you should have a gpt executable script in <ESA_SNAP_install_dir>/bin>. You can find the actual location near the top of messages.log. You can run gpt in a
terminal using <ESA_SNAP_install_dir>/bin>/gpt.

Note: if you are not familiar with the role of the PATH variable in linux you will find your time well spent to spend a few afternoons or evenings study an introduction to the linux command line.

2 Likes