1

I am new to SNAP and Sentinel 1. I am using SNAP for preprocessing of the Sentinel-1 image, however, I am dealing with large S1 datasets so the preprocessing time is long.

Can I export the model to a python script and start preprocessing it in Google collab?

enter image description here

2 Answers 2

2

You cannot directory export it from SNAP, but there are libraries in Python which allow you to easily create and run it.

0

You could use high level libraries such as EOReader to pre-process directly your data (with SNAP under the hood):

from eoreader.reader import Reader
from eoreader.bands import VV


# Open the Sentinel-1 product
prod = Reader().open("S1A_IW_GRDH_1SDV_20191215T060906_20191215T060931_030355_0378F7_3696.zip")

# Load VV band
vv_band = prod.load(VV)[VV]

More information on SAR data are available in this notebook.

Disclaimer: I am the maintainer of EOReader.

1
  • 2
    You have posted this or a similar answer several times. In case this is your development or you are associated to it, please add a disclaimer. Otherwise this may be detected as spam.
    – MrXsquared
    Dec 22, 2022 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.