In order to compare the influence of coal mining activity 1nd it’s further impact in city, we conduct a series research both include Xuzhou city and Ruhr valley in Germany, which is known by coal mining history in last century. This post is about using Sentinel 1A SAR data to produce land subsidence LOS velocity by StaMPS-InSAR in LiDO3.
Dataset
135 Sentinel1-A SLC IW arcsending SAR data with path 15 and frame 364 from 2016-09-30 to 2021-12-01 has been acquired from ASF data search vertex1.
Select optimal master in SNAP using Radar/Interfermetric/InSAR Stack Overview -> master: 20200201
Subset whole image using TOPSAR Split via Radar / Sentinel-1 TOPS / S-1 TOPS Split. Set the processing parameters
IW1
VV
5-9
Directory: I:\Data\Ruhr\SAR\SPLIT
Get LAT/LON MIN/MAX (bounding box) for PSI area of interest. This can be obtained e.g. from ROI polygon in QGIS Layer Properties | Metadata | Properties | Extent or ArcGIS.
After subset the SAR data, if it doesn’t cover the whole ROI, extent should be manually picked up in SNAP using copy pixel info to clipboard right click.
Use subset in SNAP to get GeoRegion.
North Lat: 51.058
West Lon: 6.636
South Lat: 51.956
East Lon: 7.26
2. snap2stamps in WSL
Start Xlaunch:
One large window -> Start no client -> Disable access control
# master-slave coregistration and interferometric generation # (this takes some time, approx. 180 seconds per slave) 680+ seconds per slave, around 24 hours to process all python coreg_ifg_topsar.py project.conf
# ouput data generation in StaMPS compatible format # (approx. 30 seconds) # python stamps_export.py project.conf
Output of snap2stamps
Generate folder INSAR_20191109 in work/smyumeng/Sentinel_PS/Ruhr/, delete other files in this location.
Errors during process
Error: / by zero in coreg_ifg_topsar.py
This error is occurred due to wrong polygon input.
#!/bin/bash -l #SBATCH --job-name=StampsRuhr #SBATCH --time=0-48:00:00 #SBATCH --partition=long # ask for ten compute cores on one compute node #SBATCH --nodes=1 --ntasks-per-node=1 --cpus-per-task=10 # memory requirement per core in megabytes #SBATCH --mem-per-cpu=25G #SBATCH --output=/work/smyumeng/tmp/stamps_output/slurm_job #SBATCH --error=/work/smyumeng/tmp/stamps_output/slurm_job # send mail when jobs starts, end, fails, gets requeued etc. #SBATCH --mail-type=ALL #SBATCH --mail-user=yuchi.meng@tu-dortmund.de
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 25217844 long StampsRu smyumeng PD 0:00 1 (Resources)
Check result after every stamps step.
StaMPS Results
1 2 3 4 5
ps_plot('v-do','ts'); Deramping computed on the fly. **** z = ax + by+ c 2582925 ref PS selected Color Range: -9.62199 to 2.94334 mm/yr
Post StaMPS
Generate csv file in MATLAB for further analysis.
Write csv in MATLAB
Set radius to 60000 m.
1 2
Please select a pointon the figure to plot time series (TS) Selected point coordinates (lon,lat):6.9632, 51.4514


metarow = [ref_centre_lonlat NaN transpose(day)-1]; k = 0; export_res = [export_res(1:k,:); metarow; export_res(k+1:end,:)]; export_res = table(export_res); writetable(export_res,'stamps_tsexport_ruhr.csv')
ps_plot
Change background by command ps_plot('v-do',4)
Result analysis
Import csv file in ArcGIS
Insert new Map.
Add stamps_tsexport_ruhr_d2.csv in Standalone tables.
Right click csv file select XY point to Point
Output file stamps_tsexport_ruhr_d2.shp
Dead-end!
Import csv in QGIS
Open QGIS. Click on Layers ‣ Add Delimited Text Layer3.
Select File H:\StaMPS_LiDO_result\Ruhr\stamps_tsexport_ruhr_d2.csv, specific XY field in Geometry Definition, X as Longitude and Y as Latitude, set Geometry CRS to EPSG:4326 - WGS 84.
Add.
Add Basemap. In the browser panel, locate the Tile Server entry and right click it to add a new service, double click Open Street Map.