Testing RRINGG¶
This section provides a step-by-step guide to test RRINGG using two prepared datasets. The goal is to ensure that your installation is working correctly and that you can reproduce the expected results.
All required data and reference outputs can be downloaded here:
After download, extract the archive and place the contents into your project folder.
Overview of the tests¶
We provide two test cases:
EPOS TCS dataset - Demonstrates how to preprocess EPOS CSV data into raster format. - Runs a correction of the InSAR velocity field.
FlatSim dataset - Already provided in raster format (no preprocessing required). - Directly runs velocity-field correction.
For both tests, the corrected outputs can be compared against the provided reference solutions.
—
Test 1 — EPOS TCS dataset¶
The EPOS TCS dataset comes in CSV format and must be converted to raster before processing. This step ensures that RRINGG can ingest the data.
Convert CSV to raster:
python ./tools/csv2raster.py \
-ts ./data/raw/ics/DTSLOS_CNRIREA_20160714_20231030_ZII6.csv \
-op ./data/raw/ics/
This generates several raster layers (mean velocity, LOS vector, etc.) in ./data/raw/ics.
Run velocity-field correction:
python ./rringg.py \
-po correction \
-vr ./data/raw/ics/CNRIREA_MV-LOS_geo_5rlks.tiff \
-lo ./data/raw/ics/CNRIREA_CosNEU_geo_5rlks.tiff \
-ou ./data/output/ics \
-rs BLGN00ITA COL100ITA AULL00ITA MODE00ITA MOPS00ITA \
-hm simple -iv
-rsremoves specific GNSS stations to test robustness.-hm simplespecifies the convex hull method.-ivforces LOS vector inversion.
The corrected velocity raster is written to ./data/output/ics.
—
Test 2 — FlatSim dataset¶
The FlatSim dataset is already in GeoTIFF raster format. This means you can directly run the correction without any preprocessing.
Run correction:
python ./rringg.py \
-po correction \
-vr ./data/raw/flatsim/CNES_MV-LOS_geo_16rlks.tiff \
-lo ./data/raw/flatsim/CNES_CosENU_geo_16rlks.tiff \
-ou ./data/output/flatsim \
-rs MTHO00GRC KRYO00GRC ANKY00GRC KITH00GRC \
VASS00GRC KORO00GRC SKYR00GRC PAT000GRC
Outputs are stored in ./data/output/flatsim.
—
Expected outputs¶
Each test produces corrected rasters that can be validated against the provided reference files.
Test case |
Output directory |
Key output files |
|---|---|---|
EPOS TCS |
|
|
FlatSim |
|
|
—
Validation¶
To validate your run:
Check file generation Ensure the corrected rasters (
RRINGG_*_MV-LOS_geo_*rlks.tiff) and metadata file (RRINGG_*_MV-LOS_geo_*rlks.meta) are created in the output folders.Visual inspection Open the outputs in QGIS or another GIS software and compare them with the reference rasters included in the dataset archive.
Numerical comparison Use
gdalinfoorgdal_calc.pyto check that statistical properties (mean, min, max) match the reference outputs within tolerance.
If your results are consistent, your RRINGG installation and configuration are working as expected.