Snap2stamps error

Dear ABraun,

While processing all the steps before StaMPS Export, CPU utilization is almost 10-70% but while running the StaMPS Export step, CPU utilization is 1-10% only. I given 100GB for SNAP in sanp.config file.

May i know what is the reason for this?

the stamps export currently “hangs” because it wants to access SRTM data. It will not even start writing the data, which explains the low CPU usage. We have created a ticket for this here and let you know once it has been resolved: https://senbox.atlassian.net/jira/software/c/projects/SITBX/issues/SITBX-834

1 Like

Hello,
I will appreciate it if you kindly helo me to solve this problem in stamps.
I can not plot V-DSO and export to qgis.
Thank you

please don’t cross-post your question over various topics. I already replied to you in the other topic.

I am so sorry,
I can not find the response. Is it possible to send me a link
Thanks

please let’s all try to keep this forum clean. Here is the link to your question Error in StaMPS patch merging (Step 5)

Dear ABraun,

I processed successfully Stamps Export, After that i used below command, Here i found that mean amplitude is zero.

root@DESKTOP-4HUO8B9:/mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps# mt_prep_snap 20180929 /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps/ 0.4
mt_prep_snap Andy Hooper, August 2017

Amplitude Dispersion Threshold: 0.4
Processing 1 patch(es) in range and 1 in azimuth

STAMPS: Undefined variable.
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171121.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171121.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171203.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171203.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171215.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171215.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171227.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20171227.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180108.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180108.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180120.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180120.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180201.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180201.rslchas ZERO mean amplitude
Mean amplitude = 0
Number of pixels with zero amplitude = 171058992
Number of pixels with amplitude different than zero = 0
opening /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180213.rslc…
WARNING : SLC /mnt/f/Ahmedabad_zip/processing_steps/8_PSi_Stamps//rslc/20180213.rslchas ZERO mean amplitude
Mean amplitude = 0

And also i’m getting matlab error.

SNAP7 Stamps Export is running fine compared to SNAP8. Because i check the SNAP7 output in STAMPS, it was running fine.
Please give me some solution for this.

Looks like all your data is empty. Some zero amplitude pixels are okay, but not the entire image.
How do the interferograms look?

Up to Back-Geocoding step all the intensity plots showing intensity values. After ESD step except master image all slave images are showing zero amplitude.

But all the steps are processing smoothly. I don’t know why it is?

if the ESD produces blank images, you should not proceed with the processing.

Have you updated SNAP to the latest version and update (8.0.3)?

Yes I’m using SNAP8 and wherever updates will come, I install instantly. May be at the time of my ESD step SNAP8 not updatenewsnap d to SNAP8.0.3.

the screenshot indicates that you are using 8.0.3, so the ESD should work as expected.
I cannot think of a reason then…

#####################################################################

Coregistration and Interferogram computation started:

#####################################################################

/mnt/f/Ahmedabad_zip/split/20171121/20171121_IW3.dim
[1] Processing slave file :20171121_IW3.dim

SNAP STDOUT:INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: GDAL not found on system. Internal GDAL 3.0.0 from distribution will be used. (f1)
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
done.

Error: [NodeId: Enhanced-Spectral-Diversity] Operator ‘SpectralDiversityOp’: Unknown element ‘useSuppliedShifts’
– org.jblas INFO Deleting /tmp/jblas6437803665133480695/libjblas_arch_flavor.so
– org.jblas INFO Deleting /tmp/jblas6437803665133480695/libjblas.so
– org.jblas INFO Deleting /tmp/jblas6437803665133480695/libgfortran-4.so
– org.jblas INFO Deleting /tmp/jblas6437803665133480695/libquadmath-0.so
– org.jblas INFO Deleting /tmp/jblas6437803665133480695

[1] Finished process in 5.18868207932 seconds.

#####################################################################

**Here I’m using around 52 interferograms, 5 brusts. **
Please tell me the solution.

please use the search function, the solution is provided here:

1 Like

#####################################################################

Coregistration and Interferogram computation started:

#####################################################################

/mnt/f/Ahmedabad_zip/split/20171121/20171121_IW3.dim
[1] Processing slave file :20171121_IW3.dim

SNAP STDOUT:INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: GDAL not found on system. Internal GDAL 3.0.0 from distribution will be used. (f1)
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Internal GDAL 3.0.0 set to be used by SNAP.
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
done.

Error: [NodeId: Enhanced-Spectral-Diversity] Operator ‘SpectralDiversityOp’: Unknown element ‘useSuppliedShifts’
– org.jblas INFO Deleting /tmp/jblas8272950549844079550/libjblas_arch_flavor.so
– org.jblas INFO Deleting /tmp/jblas8272950549844079550/libjblas.so
– org.jblas INFO Deleting /tmp/jblas8272950549844079550/libgfortran-4.so
– org.jblas INFO Deleting /tmp/jblas8272950549844079550/libquadmath-0.so
– org.jblas INFO Deleting /tmp/jblas8272950549844079550

[1] Finished process in 15.3953671455 seconds.

I changed those two lines, whatever you suggested but still i’m getting this error.

then the changes were not applied or in the wrong file.
Are you using the latest version of SNAP?

I’m using latest version SNAP8.0.3

Please check it once.

and the snap2stamps scripts make use of the xmls in this folder or is there another instance of the folder elsewhere?

While running this Snap2stamps python script in Ubuntu, I just copied graphs and bin folder to my working directory. Then i processed

  1. python2 slaves_prep.py project.conf
  2. python2 splitting_slaves.py project.conf
    the above two ran successfully,
    but while running the below step is is creating error,
    3.python coreg_ifg_topsar.py project.conf

Is there any path I have to set or no need?

Sorry i forwarded wrong image, below one is the correct one.