...
The esa_snappy plugin is one of the ‘internal’ SNAP plugins which are automatically installed during the SNAP installation. Thus, no further user action is required.
Note: Due to a technical restriction in the installation procedure of the latest SNAP version 11, the esa_snappy plugin is not automatically installed. Instead, in SNAP 11 it must be installed like an external plugin via the Plugin Manager in SNAP Desktop:
Open the Plugin Manager in SNAP Desktop (Tools → Plugins in the main menu bar)
Select tab ‘Available Plugins’. Among others, the plugin ‘ESA SNAPPY’ appears in the list
Select ‘ESA SNAPPY’, click ‘Install’, and follow the installation steps as described in the dialogs.
After restart of SNAP Desktop, ‘ESA SNAPPY’ will be visible in the list of installed plugins.
Configuration of esa_snappy from the Command Line
Open With the esa_snappy plugin being installed, open a command line window (shell, terminal window on Unixes, cmd
on Windows) at the bin
folder of the SNAP installation directory. Now type
...
$ snappy-conf <python-exe> <esa_snappy-dir>
For example, <esa_snappy-dir>
could be the ..\Lib\site-packages folder of your Python installation. In this case, esa_snappy would be already on your Python path (no further sys.path.append … required).
When you see as output something like below, the configuration was successful:
...
when doing `import jpy`
within your Python script. Again, the shared library for the JVM cannot be found. This might happen if the LD_LIBRARY_PATH has previously been set correctly, but was changed or not set permanently. In this case, set the LD_LIBRARY_PATH as described above and restart your Python script.
Configuration on MacOS ARM platforms
The configuration of esa_snappy may fail on certain MacOS platforms with ARM architecture. The reason is that, depending on the operating system, specific shared libraries for the JVM are not yet available or not suitable. Users who are affected should report their problem in the SNAP forum. In certain cases, a workaround might be found.
Configuration of esa_snappy during SNAP installation
During the SNAP installation, a dedicated screen for the Python configuration will appear. Follow the instructions given there. Note that at the end of the installation SNAP Desktop must once be opened (by default this is automatically done) to finally activate the Python configuration.
Note: This option is not available in the latest SNAP version 11, as the esa_snappy plugin has not yet been installed at this stage (see above). As a SNAP 11 user, please configure esa_snappy from the command line as described above.
Configuration of esa_snappy from GUI
...