Comments (6)
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.
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.
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
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.
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.
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.
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)
- `archive.insert` wrongly registers scenes as duplicate because of non-unique `ID.outname_base` HOT 2
- proper handling of database duplicates HOT 1
- TypeError: _GISType.__init__() got an unexpected keyword argument 'management'
- offline mode for auxdata functions
- Error reading Tandem-X HOT 6
- 'utf-8' codec can't decode byte 0xe9 in position 662: invalid continuation byte HOT 5
- Replacing SciHub URLs? HOT 4
- CDSE zipfiles with implicit directories fail to identify
- sqlite3.OperationalError: no such function: spatialite_version
- Geocode function stopped working: requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 1
- S1 OSV download from CDSE
- Error when running pyroSAR.snap.geocode HOT 1
- Issue with RuntimeError: data format not supported HOT 3
- S1 OSV download from ASF HOT 2
- fix one cause for GammaUnknownError: calloc_2d: memory allocation error for data values HOT 2
- Issue with GeoCode in last version of pyroSAR HOT 4
- Additional workflow on ENVI file output from geocode HOT 2
- Problem with orbit files HOT 5
- [Archive] use geometry instead of bounding box HOT 6
- Support for scenes from CDSE
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.