Giter VIP home page Giter VIP logo

Comments (6)

johntruckenbrodt avatar johntruckenbrodt commented on July 17, 2024 1

Hi @alexisahedo. This thread could describe your problem:
https://forum.step.esa.int/t/no-data-value-of-dem-for-terrain-flattening/35949
Let's keep this issue open, apparently this is indeed an issue with SNAP but just as well relevant for pyroSAR of course. Feel free to ask any time. If it is on a different topic just open another issue.
If you find a solution it would be great if you could share it here.
Cheers
John

from pyrosar.

johntruckenbrodt avatar johntruckenbrodt commented on July 17, 2024

Hi @alexisahedo,
thanks for reaching out and great to hear that pyroSAR is useful to you!
The function snap.geocode has an argument nodataValueAtSea. Setting this to False should solve your problem.
Cheers,
John

from pyrosar.

alexisahedo avatar alexisahedo commented on July 17, 2024

Hello @johntruckenbrodt,
I would like to thank you for your prompt response and assistance with my issue.
Sadly, I already tried it with no luck, the product of the processing always has no data values at ocean’s pixels. Down below I’ll add the .xml, the parameters I use with snap.geocode and a picture with the resulting product.

S1A__IW___D_20181026T125803_Cal_NR_Orb_TF_TC_dB_proc.txt
RP_S1A__IW___D_20181026T125803_VH_gamma0-rtc_db

resolution = 10
extra_list = ['localIncidenceAngle', 'layoverShadowMask', 'scatteringArea']

geocode(infile=s1_scene, outdir=output, spacing=resolution, polarizations='all', scaling='db', demName='Copernicus 30m Global DEM', export_extra=extra_list, terrainFlattening=True, groupsize=60, tmpdir='/Sentinel_1/temp', returnWF=True, nodataValueAtSea=False)

As I said in my first post, I’m guessing that the problem lies in the DEM which assigns 0 to all ocean’s pixels and the no data value configured to 0, probably at some point SNAP classifies the ocean’s pixels as no data. Please correct me if I’m wrong, I’m not an expert in the field.

I really appreciate all your help.

Saludos.
Alexis A.

from pyrosar.

johntruckenbrodt avatar johntruckenbrodt commented on July 17, 2024

Hi @alexisahedo. In this case I suggest you search in the STEP Forum as this seems to be a SNAP issue. If it turns out that SNAP is somehow not handling the Copernicus DEM well, you can create your own DEM file with pyroSAR and pass it to snap.geocode as externalDEMFile.

from pyrosar.

alexisahedo avatar alexisahedo commented on July 17, 2024

Hello @johntruckenbrodt,
Thanks a lot for the information, I really appreciate the answer, I’ll investigate it in more detail. A possible way around would be to simple use de SRTM 1sec HGT, I made some tests and it constructed the raster correctly, but well, Copernicus 30m Global DEM is newer so I thought it would be better, plus the DEA applications.

I’ll in the future ask some questions I have had in mind for a while regarding the processing step’s order used in snap.geocode, see you in Discussions.

Saludos.
Alexis A.

from pyrosar.

johntruckenbrodt avatar johntruckenbrodt commented on July 17, 2024

I am closing this for now as I expect this to be fixed with this issue in S1TBX 9.0.1:
https://senbox.atlassian.net/browse/SITBX-925

from pyrosar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.