🔒 Everything runs locally in your browser. No file, coordinate or measurement is uploaded to a server.
Align ascending and descending InSAR dates, then solve each epoch
Ascending and descending Sentinel-1 passes over the same site are typically six days apart.
That is convenient for coverage and inconvenient for anyone who wants to combine the two
line-of-sight displacement series epoch by epoch. The standard tools in the ecosystem were
built around velocity maps, not cumulative time series: MintPy's
asc_desc2horz_vert.py takes velocity.h5, and a July 2025 forum answer
states plainly that it is "not possible to use cumulative data". As of March 2026 users were
still asking for a notebook that would do it.
This tool addresses that gap at the level of the series, not the raster. It registers the two
date sequences, marks which values were interpolated, and then solves the two-look geometry at
every epoch inside the shared window. It is deliberately explicit about its limits: no
extrapolation, no reference-point unification, no north–south component, no atmospheric or
orbital correction. What it produces is a dated, auditable table of east–west and vertical
displacement with a provenance flag on every row.
Ascending series — one "date;value" row per epoch, dot decimals
Descending series — deliberately offset by six days
Semicolons or commas separate fields; decimal commas are rejected. Dates are YYYY-MM-DD or YYYYMMDD. Duplicate dates are refused.
Geometry and registration
Per-epoch decomposition
Why the dates never line up
Sentinel-1 has a 12-day repeat cycle for a given orbit direction. Ascending and descending
acquisitions over the same footprint are offset, commonly by about six days, and the exact
pattern changes after a gap, a manoeuvre or a change in the observation scenario. A naive
spreadsheet join on date therefore returns almost nothing, and a nearest-date join without a gap
check quietly pairs epochs that are weeks apart. Both are common ways to manufacture a
horizontal-motion signal that is really a timing artifact.
Date registration means choosing one series as the base grid, then evaluating the other at
each base date using interpolation. The kernel accepts dates as YYYY-MM-DD or
YYYYMMDD, validates real calendar days, sorts ascending, and refuses duplicate
dates. Rows are date;value or date,value, with dot decimals only: a
decimal comma returns COMMA_DECIMAL rather than being silently reinterpreted.
The overlap rule and the three interpolation strategies
Output is produced only inside the intersection of the two date ranges. Epochs of the base
series that fall outside the other series' range are counted as
skippedOutside and dropped. There is no extrapolation branch: an attempt to
evaluate beyond the last observation returns OUT_OF_RANGE and the row is skipped.
This is a deliberate design choice, because extrapolating a deformation series forward in time
is the easiest way to invent an acceleration.
Strategy
Behaviour
When to use it
linear
Straight line between the two bracketing observations
Default; stable for a near-linear trend
nearest
Takes the closer observation unchanged
When you must avoid creating values that were never measured
cubic (PCHIP)
Shape-preserving cubic with Fritsch–Carlson slopes
Curved series where a cubic must not overshoot between epochs
Every interpolated result carries interpolated = true and a
nearestGap in days. A configurable maxGapDays (default 24) marks rows
where the nearest bracketing observation is too distant; the CSV column
gap_exceeded makes those epochs filterable. The columns
ascInterpolated and descInterpolated in the internal result identify
which of the two inputs was synthesised. Interpolated values are never presented as
observations.
The two-look geometry
For a look vector from ground to satellite defined by incidence angle θ (from vertical) and
satellite heading α (clockwise from north), the unit vector components are
u = cos θ, e = sin θ·cos α and n = −sin θ·sin α. With
v_LOS > 0 meaning motion toward the satellite, the two equations are
v_asc = e_a·vE + n_a·vN + u_a·vU and the descending equivalent. Declaring a
north velocity vN (default zero) lets you subtract
b = v_LOS − n·vN before solving:
det = e_a·u_d − e_d·u_a
vE = (b_a·u_d − b_d·u_a)/det
vU = (e_a·b_d − e_d·b_a)/det
If the determinant is below 10−6 the system is singular and the run is refused;
below 0.05 the result is marked well_posed = no. Amplification factors
ampE and ampU quantify how much a unit of input noise is magnified by
the geometry. Both are written into the CSV so a reviewer can see the conditioning of the solve
without re-running it.
North–south is not solved, and the leak is reported
Polar-orbiting radar looks mostly east or west. The two look vectors are nearly coplanar in
the east–up plane, so the north component cannot be recovered from one ascending and one
descending pass. The kernel does not pretend otherwise. It returns
leakU = (e_d·n_a − e_a·n_d)/det and an analogous leakE, exported as
leakU_per_1mmN: the bias in the vertical estimate caused by a 1 mm north error.
That is the number to quote when a reviewer asks how sensitive the vertical result is to an
unmeasured north component. With the documented Sentinel-1 example geometry (θ = 38°, headings
348° and 190°) the determinant is about 0.95 and the leakage is a fraction of a millimetre per
millimetre of north motion.
This is also why the tool asks for a declared vn instead of solving for it. A
GNSS station or an independent azimuth estimate can supply one; if you have neither, state
vn = 0 explicitly and carry the leak coefficient into the uncertainty discussion
in the error budget.
What the MintPy ecosystem does, and does not, offer
MintPy's asc_desc2horz_vert.py is the reference implementation for combining
two geometries, but it consumes velocity.h5 files. A July 2025 forum response says
cumulative displacement data cannot be used with it; in March 2026 users were still requesting
a notebook for a per-epoch workflow. GitHub Discussion #1467 describes the geometry handling as
"hardcoded". The manpage documents --max-ref-yx-diff with a default of 3 and an
azimuth of −90°, both of which matter when the two stacks' reference areas differ by a few
pixels.
Those are real, documented constraints, not criticisms. A velocity-level tool answers a
different question. What this tool adds is the calendar: it produces a dated table with one row
per epoch, with the interpolation provenance preserved, so a time-varying horizontal component
can be examined rather than averaged away.
Limits that belong in the method section
No reference-point unification. Both stacks must be explicitly declared to be on
the same reference point and datum; otherwise the run returns
REF_NOT_DECLARED. The tool does not move a reference area or align datums.
No extrapolation. Only the common overlap is solved. Epochs outside it are
counted and skipped.
No raster resampling. This operates on two point time series, not on grids.
No atmospheric, orbital or unwrapping correction. Those belong upstream.
No north–south solution. The leak coefficient quantifies the sensitivity instead.
No sign guessing. Both series must use the same convention — run the
sign convention audit first if in doubt.
Reading the exported table
The CSV has thirteen columns: date, asc_los_mm, desc_los_mm, interpolated,
nearest_gap_days, gap_exceeded, vE_mm, vU_mm, det, ampE, ampU, leakU_per_1mmN,
well_posed. Filter on interpolated = yes to see exactly which rows depend
on the registration, and on gap_exceeded = yes to find epochs whose nearest
observation was too far away. In a formal deliverable, report both counts alongside the
decomposition. A vertical time series built mostly from interpolated epochs with wide gaps is a
different quality of evidence from one built on coincident acquisitions, and a reviewer should
be able to see that without re-running the analysis.
Frequently asked questions
Why can I not just join the two series on their acquisition dates?
Sentinel-1 ascending and descending passes over one site are typically offset by about six days, so an exact date join returns almost nothing. A nearest-date join without a gap check pairs epochs that may be weeks apart and can manufacture a false horizontal signal. The tool registers one series onto the other's calendar by interpolation and records the nearest-observation gap for every epoch.
Does the tool extrapolate beyond the end of one series?
No. Output is produced only inside the intersection of the two date ranges. Base epochs outside the other series' range are counted as skipped and dropped, and any attempt to evaluate beyond an observation returns OUT_OF_RANGE. Extrapolating a deformation series is the easiest way to invent an acceleration.
How do I know which values were interpolated?
Every synthesised value carries interpolated = true internally, and the exported CSV has an interpolated column with yes or no, plus asc_los_mm, desc_los_mm and nearest_gap_days. A gap_exceeded column marks rows where the nearest observation was farther away than the configured maximum, which defaults to 24 days.
What is the difference between the linear, nearest and cubic options?
Linear draws a straight line between bracketing observations and is the default. Nearest takes the closer observation unchanged, which avoids creating a value that was never measured. Cubic uses a PCHIP shape-preserving interpolant with Fritsch–Carlson slopes, so a curved series does not acquire a false overshoot between epochs.
Can I recover north–south motion from one ascending and one descending pass?
No. Polar-orbiting radar looks mostly east or west, so the two look vectors are nearly coplanar in the east–up plane and the north component is not solvable. The tool returns leakU_per_1mmN, the bias a 1 mm north error would introduce into the vertical estimate, and lets you declare a known vn from GNSS rather than pretending to solve it.
Why does the tool refuse to run until I tick the reference-point declaration?
Because combining two LOS series is meaningless unless they share a reference point and datum. The tool does not unify reference areas or re-reference either stack; it requires an explicit declaration that you have already done so. Without it the run returns REF_NOT_DECLARED rather than producing a plausible but invalid decomposition.
How does this relate to MintPy's asc_desc2horz_vert.py?
That script works at the velocity level and takes velocity.h5 as input. A July 2025 forum answer states it is not possible to use cumulative data with it, and as of March 2026 users were still asking for a notebook for a per-epoch workflow. GitHub Discussion #1467 describes its geometry as hardcoded, and the manpage documents --max-ref-yx-diff with a default of 3 and an azimuth of -90 degrees. This tool instead produces a dated epoch table with interpolation provenance.
This toolkit provides preliminary geotechnical interpretation only. Results cannot replace licensed site investigation or official geohazard assessment reports. Field verification by qualified professionals is required for all engineering decisions.