SNAP Configuration
SNAP Desktop configuration
The way SNAP Desktop is configured is mainly driven by the NetBeans platform.
On Windows, the SNAP Desktop configuration is stored in the %HOMEPATH%/AppData/Roaming/SNAP directory. On other platform (Unixes), it is $HOME/.snap/system.
This directory may contain the following sub-directories:
etc- NetBeans Platform application configurationconfig- SNAP Desktop user preferences and UI configurationsvar/log- SNAP Desktop log filesvar/cache- NetBeans Platform cache filesmodules- SNAP extension module installations and updates (JARs)
SNAP Engine configuration
SNAP configuration is stored in Java properties files with the ending .properties. SNAP configuration parameter names usually start with snap. and can be set via Java system properties, the ${snap.home}/etc/snap.properties file, or the .snap/etc/snap.properties file in %HOMEPATH%/ (Windows) or $HOME/ (Unixes). The SNAP configuration is programmatically accessed using the org.esa.snap.runtime.Config class.
Key | Value | Format | Default | Description | Perf | Scope |
|
|---|---|---|---|---|---|---|---|
| String | path | . | SNAP installation directory. API: Config.instance().installDir(), SystemUtils.getApplicationHomeDir() | All modules |
| |
| String | path | ${user.dir}/.snap | SNAP user directory which contains per-user application data (configuration, preferences, cache, GUI state, etc). See also How to move .snap directory to a different location. API: Config.instance().userDir(), SystemUtils.getApplicationDataDir() | All modules |
| |
| String |
|
| API: Config.instance().logger(), SystemUtils.LOG | All modules |
| |
| String | path | python | Points to the CPython interpreter executable to be used with SNAP. Used from Java (by the org.esa.snap.python.PyBridge class) in order to configure the Python VM which will be used to execute SNAP Python extensions. | snap-python |
| |
| Integer | size in pixel | 512 | The default size in width and hight direction of a JAI tile. |
|
|
|
snap.jai.tileCacheSize | Integer | Size in Megabytes | 1024 | The amount of memory JAi can use for caching tiles | yes | All |
|
snap.jai.prefetchTiles | Boolean |
|
| If it is known that tiles are soon needed they can be prefetched before actually acquired. | yes | All |
|
| String |
|
| yes | snap-gpf |
| |
| Boolean |
|
| yes | snap-gpf |
| |
| Boolean |
|
| yes | snap-gpf |
| |
| String | class name |
| Implementation of a For example: | snap-gpf |
| |
| Boolean |
|
| If enabled GPF will make a beep when processing is finished. | snap-gpf |
| |
| Boolean |
|
| Disables the access of external auxiliary data over the internet. | snap-gpf |
| |
| Integer | 1...n | number of CPU cores | yes | snap-core |
| |
| String | path {: path} (Unixes) path {; path} (Windows) | Used for SNAP Engine stand-alone (command-line) tools, such as GPT. It's value is a list of extra NetBeans clusters whose JAR modules are added to the application's classpath. | snap-runtime |
| ||
|
|
| true | false | false | yes (Dev) | snap-core | |
| Boolean |
|
| If set to true, the inverse TiePointGeocoding uses polynomial approximates of higher order to achieve minimal interpolation errors, if set to false, approximations with an RMSE of a quarter pixel are assumed to be sufficiently precise | yes | snap-core |
|
| Boolean |
|
| snap-core |
| ||
| Long | 1...n |
| Upper limit of reader cache memory usage in bytes. | yes (Dev) | All |
|
| Long | 1...n |
| Memory in bytes that cache allows to overshoot threshold before starting to dispose cached data. | yes (Dev) | All |
|
| Integer | 1...n | Default tile width | yes (Dev) | snap-core |
| |
| Integer | 1...n | Default tile height | yes (Dev) | snap-core |
| |
| Integer | 1...n | 100 |
| |||
| Integer | 1...n | Prefererred tile size | Height of a source slice to be processed in pixels | yes | snap-binning |
|
| String | lat,lon | Bin tracing | snap-binning |
| ||
| String | path | World image directory | blue-marble-worldmap, |
| ||
| Boolean |
|
| Use a flat earth image instead of 3D globe |
| ||
| String |
|
|
| |||
| String | LZW | | snap-bigtiff |
| ||
| Float | 0...1 | 0.75 | snap-bigtiff |
| ||
| Integer | 1...n | snap-bigtiff |
| |||
| Integer | 1...n | snap-bigtiff |
| |||
| Boolean |
|
| snap-bigtiff |
| ||
| Boolean |
|
| Selects whether the DIMAPproduct writer uses write caching or not. | snap-core |
| |
| Boolean |
|
| Selects whether the ENVI product writer uses write caching or not. | snap-envi-reader |
| |
| Integer | seed value | If a value is specified all random instances are initialized with the given seed, otherwise the current time is used as seed. | All modules |
| ||
| Boolean |
|
| Only applicable to orthorectified MERIS full resolution data (MER_FSG_1P, MER_FRG_1P). If set to true, PixelGeoCoding will be used on the terrain corrected geolocation data, if set to false a TiePointGeoCoding will be used. | snap-envisat-reader |
| |
| String |
|
| Only applicable to orthorectified MERIS full resolution data (MER_FSG_1P, MER_FRG_1P). Defines which inverse coding class to use in pixel GeoCoding. |