Quantcast
Channel: python - STEP Forum
Browsing latest articles
Browse All 32 View Live

Add a new band to a product from another product

Hello everyone, In order to retrieve the vertical displacement, I need to operate via Band Maths with two different products, but actually it’s not possible on SNAP. So I’m trying with snappy on...

View Article



Python snappy with two version GDAL problem

hello i create a simple script using one python snappy function and one GDAL function in the same script. the problem is any time to run snappy code then change GDAL version in this script with as a...

View Article

Python snappy Back-Geocoding wong result

hello , i want to follow this STEP Forum Back-GeocodingOp with multiple slaves in snappy to use GeocodingOp with python. mst = ProductIO.readProduct('path/to/mst.dim') slv =...

View Article

Long data processing time for bigger AOI

Dear SNAP community, I’m trying to prepare input data for the MintPy library, based on snappy. When my script tries to save the processing result, it takes a very very long time (>16h). One of the...

View Article

Which is the recommended way of working with SNAP in Python - Snappy (JPY,...

Which is the recommended way of working with SNAP in a Python context? I have used the NetBeans-based GUI for the Sentinel Toolboxes a couple of times now. While it is nice, it does have some bugs and...

View Article


How can I find that operation was successful?

Hey guys. I started to play with snappy and everything is fine. I am using the GPT - h for finding functions and it’s feasible. However, I am not quite sure how to find that some operation was...

View Article

Collocation operator on Python

Hello everyone. I’m working on a Python code using snappy to automatically perform all the SNAP operators to obtain a 2D displacement map. Before performing the “Horizontal/Vertical Motion” operator,...

View Article

Image may be NSFW.
Clik here to view.

Snappy Python BandMaths, Linear to DB

Hello everyone, I am working with Snappy Python. I am trying to preprocess a Sentinel 1 GRD, IW product. Following are the steps I am taking for Preprocessing: a. Subset b. Radiometric Calibration c....

View Article


Image may be NSFW.
Clik here to view.

Subset Sentinel-1 filtered interferogram from a given AOI

Hello everyone, I’m working on an authomatic script to reproduce all the operators of SNAP to perform DInSAR. The only part in which the user directly interacts with the code is the insertion of the...

View Article


Issues with GPT via Python’s subprocess.run()

(Apologies with the crosspost here, but this question is probably best posted in this forum) Hi, I can successfully run GPT via command line: (eodag) C:\Users\User\Documents\SARShipDetection>gpt...

View Article

Error in running CMOD5.N with Python

Hello, i’m having trouble running the function cmod5n_inverse, i’ve inserted the parameters phi(wind direction-azimuth angle), and the incidence angle and sigma0 extracted from SNAP from a Sentinel-1...

View Article

Snappy intalation problems with python 3.10

Good morning SNAP community, I’m trying to configure the Snappy library in Python, but I’m unable to make it work. I hope you can assist me with this. I have SNAP 9, Python 3.10, and I’m working on...

View Article

Regarding the installation issues of the latest versions of SNAP and SNAPPY

Hello SNAP community. I encountered some issues while installing SNAPPY and hope to receive answers. Do I need to install SNAP10.0 first when installing Snappy? And where to download the installation...

View Article


COG-GDAL-WRITER compression choose issue

I want to run tests with different COG compressions, but I am not finding a way to configure it in Snappy. I locate the Java class, but I don’t know how to instruct it to change the compression from...

View Article

Poor correlation between OCN sentinel 1 wind speed mesurements and ERA5

Hello, i’ve been trying to calculate the linear correlation between the ERA5(28 km resolution) global wind speeds,and metop level 2 wind speed data (12.5km resolution), with the ocean wind field...

View Article


Snappy Python SAR processing options

Hi I want to create a workflow (in python) that will run several SNAP (Snappy?) SAR processing utilities, on Alos2 SAR data. Are all the utilities that exist on the GUI can be run in python? I would...

View Article

Snappy read pixels problem

I have this code that works, but takes approximately one hour to complete, is there any way to speed it up? I am trying to create a table/dataframe with the band values for each pixel, as well as the...

View Article


Image may be NSFW.
Clik here to view.

Different band name when writing

This is an easy problem to work around, but it doesn’t seem that it should be a problem in the first place. When saving a band with snappy, I can’t save the TIF file with the same name as the band. It...

View Article

Image may be NSFW.
Clik here to view.

Write Band as BigTIFF

When I export a band from a DIM file as a GeoTiff it exports as ~500mb. If I export it as GeoTIFF/BigTIFF it comes out as ~ 50mb. The size difference is due to the NaN values which 90% of the...

View Article

Bulk import and pre-processing using python

Hi, I am new to using SNAP and SAR imagery. I have dozens of Sentinel-1 SLC files that I would like to bulk import and do all required pre-processing using SNAP. The project will look at Polarimetric...

View Article

Image may be NSFW.
Clik here to view.

SNAP Python stopped when try to write file

I am working on Sentinel 1 data. When I try to write after my processing, the code stuck like for hours. What could be possible reason and how to solve it? The code worked like few months ago very...

View Article


Best way to convert a DIM Product in python

Hi! What’s the best way to load snap’s .dim products in numpy? 1 post - 1 participant Read full topic

View Article


Error while configuring esa-snappy with Python 3.9.13 on Windows 11 -...

Hi everyone. I’m having issues when trying to configure SNAP 10 with Python 3.9.13 on Windows 11 (version 23H2). The text from the cmd is shown below: Microsoft Windows [Version 10.0.22631.3447] (c)...

View Article

Snappy / L1C read file

I’m attempting to read an L1C file in snappy. Snappy itself is working (testing a dim file) This is ipython error In [20]: sourceProduct=ProductIO.readProduct(infname) …: …: INFO:...

View Article

Image may be NSFW.
Clik here to view.

Esa_snappy install failed

Trying to setup esa_snappy after installing version 10 (yay!). But I get this error, “Configuration Failed”, and no stack trace. The docs suggest removing PYTHONPATH and PYTHONHOME variables but I...

View Article

Browsing latest articles
Browse All 32 View Live


Latest Images