Comments (5)
I realize now that the suggested file is probably only about the pyroSAR configuration, and not the SNAP configuration.. So, ignoring my misdirected attempt above my question still stands: Is it possible to set a SNAP parameter (e.g. in file snap/etc/snap.properties
) via pyroSAR?
from pyrosar.
gpt_args
can be used for this, i.e. gpt(..., gpt_args = ['snap.userdir=/my/path']
.
from pyrosar.
Hi @jonathom. At the moment pyroSAR is not making best use of these SNAP configuration files. True, this Examine
functionality handles pyroSAR-specific configuration files and the ones from SNAP are mostly ignored. It would a larger effort to use and modify them. Good that you have discovered the gpt_args
parameter.
from pyrosar.
Thanks @johntruckenbrodt, I see now that it isn't necessary to change the config files when I can really pass all needed params via the call. Just needed to figure out how ;) So, a note for future reference:
- here's a list of SNAP parameters that can be set
gpt
tells you to append these parameters with-D
of you want to set them so this is what you need to do forgpt_args
as well: "-D<name>=<value> Defines a system property for this invocation.
" (from gpt command help)- if you wanna set args that concers the java vm, i.e. parameters from gpt.properties, e.g.
-Xmx
, append-J
, see here - all in all, this is the gpt call I ended up with:
gpt(<out_filename>, groups = groups, gpt_args = ['-Dsnap.userdir=.', '-J-Xmx4G'])
from pyrosar.
awesome, thanks @jonathom
from pyrosar.
Related Issues (20)
- refid KeyError when adding SNAP "Collocate" node to workflow HOT 5
- handling of GEE image catalogs HOT 6
- Geocode creates temp files but never completes it's process HOT 26
- encountering FileNotFoundError during parse_node HOT 6
- `snap.auxdata.dem_create` Check if files listed in VRT exist HOT 2
- dem_create hangs when using gdal 3.4.1 and pyroSAR 0.16 HOT 7
- Cannot read version information from messages.log HOT 2
- beta0 output possible with snap.util.geocode? HOT 2
- control `snap.geocode` processing extent via `externalDEMFile`
- Inconsistent Group Error [SNAP] HOT 1
- NoData on ocean pixels with Copernicus 30m Global DEM HOT 6
- AWS Copernicus DEM ancillary products HOT 1
- Add support for sarsen calibration HOT 6
- UnicodeDecodeError & Range-doppler HOT 1
- sqlalchemy connection issue in drivers.py HOT 16
- new Copernicus DEM download option HOT 2
- UserWarning: could not find Gamma installation directory; please set the GAMMA_HOME environment variable HOT 3
- Installation problem HOT 3
- inability to process scenes crossing the antimeridian
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrosar.