🔒 Everything runs locally in your browser. No file, coordinate or measurement is uploaded to a server.
Convert and audit an InSAR sign convention before the report goes out
Two teams can process the same Sentinel-1 stack, produce the same physical ground motion,
and hand over velocity maps whose signs are opposite. Nothing is wrong with either product. The
phase domain and the displacement domain simply grew up with different habits, and the software
you use determines which habit you inherit. The trouble starts when a number from one domain is
pasted into a report written in the language of the other.
This tool does two things. It converts a single value — phase, displacement or velocity —
into one canonical form, uplift-positive, in mm or mm/yr. And it audits an entire column,
flagging rows whose declared convention conflicts with their processor's documented default and
rejecting rows whose convention was never declared. It is designed for the moment before a
subsidence assessment goes to a state DOT, a mining regulator or a client's peer reviewer, when
a sign error is still cheap to fix.
Single value
Column audit
One row per value: label,value,unit,software,convention — convention may be blank to use a documented default.
Result
What a sign convention is
A sign convention is the mapping between a signed number and a physical direction. In the
phase domain, the common convention is that a positive phase difference means the slant range
increased: the ground moved away from the satellite. In the displacement and velocity domains,
the common convention is that a positive value means motion toward the satellite, which for
purely vertical motion is uplift. Both are internally consistent. Neither is universal.
The relationship between them is the standard phase-to-displacement expression
d = −λ·φ/(4π). With λ = 5.55 cm for C-band Sentinel-1, one radian of unwrapped
phase corresponds to about 4.42 mm of LOS displacement, and a full 2π fringe corresponds to
λ/2, about 27.7 mm. The minus sign is the whole issue: a positive phase under the
range-increase convention becomes a negative displacement under the uplift-positive convention.
The kernel makes that flip explicit rather than hiding it in a UI label.
The four documented defaults
The kernel only registers a default where a public, checkable document states one. Four
processors qualify. This is deliberately a short list: an unverified default is exactly the kind
of silent assumption that produces a wrong report.
Processor
Phase
Displacement / velocity
Source
MintPy
positive = away
positive = toward
MintPy FAQ
dolphin
positive = away
positive = toward
dolphin FAQ
ISCE2
positive = away
not registered
ISCE2 Discussion #523
ASF HyP3
positive = away
positive = toward
ASF HyP3 InSAR Product Guide
SNAP / GMTSAR / LiCSAR / SARscape / EGMS
no verified default — declare it yourself
—
The MintPy FAQ states that ifgramStack.h5 unwrapped phase in radians is positive
away from the satellite, while timeseries in metres and velocity in
metres per year are positive toward it — the same product family, two opposite habits. The
dolphin FAQ describes the same split between interferograms/ and
timeseries/, noting that without a wavelength the values remain in radians but the
sign is unchanged. ISCE2 Discussion #523 gives
Δφ1,2 = 4π(r2 − r1), so an increasing range is
positive. The ASF HyP3 Sentinel-1 InSAR Product Guide writes
ΔΩ* = −ΔΨ*·λ/(4π) and calls out the counter-intuitive consequence: a positive
phase difference represents subsidence, and the negative sign is what makes a positive
displacement mean uplift.
Units, stages and the refusal to guess
The unit determines the stage. Radians and fringes are phase; m, cm and mm are displacement;
m/yr, cm/yr and mm/yr are velocity. Scales to the canonical form are 1000 for metres, 10 for
centimetres and 1 for millimetres. A fringe is multiplied by 2π before the phase conversion. If
you declare a stage that contradicts the unit, the row is rejected with
BAD_STAGE_UNIT — the tool will not quietly reinterpret a velocity as a
displacement.
The convention logic has three outcomes. If you declare nothing and the processor has a
documented default, that default is used. If you declare nothing and the processor is not in the
table — SNAP, GMTSAR, LiCSAR, SARscape, EGMS or anything custom — the row is rejected with
UNDECLARED_CONVENTION. If you do declare a convention that contradicts a documented
default, the conversion proceeds but the row carries a CONVENTION_CONFLICT warning,
because that combination is precisely how mixed-sign datasets get built. This is the core of the
audit: it does not decide who is right, it makes the disagreement visible.
Reading the column audit
Each audited row returns an index, its label, the original value and unit, the processor, the
stage, the source convention, the canonical value in mm or mm/yr, a direction code
(TOWARD, AWAY or ZERO), any warning, and a reason code if
the row was rejected. The summary counts rows, conflicts and rejections. The exported CSV uses
language-neutral headers — index, label, original, unit, software, stage,
source_convention, canonical_mm, canonical_unit, direction, warning, reason — so it can
be attached to a submission without translation.
A separate claim check compares a canonical value against a written assertion of uplift or
subsidence. A negative canonical value with a claim of subsidence returns
CONSISTENT; the same value with a claim of uplift returns
CONTRADICTION. A zero returns INDETERMINATE, because no direction can
be asserted from zero. It is a small feature with an outsized payoff: most sign errors in
deliverables are not in the numbers, they are in the sentence beside the numbers.
Reproducing one conversion by hand
Take one full fringe of unwrapped phase, φ = 2π ≈ 6.2832 rad, from an ASF HyP3 product.
The phase-domain convention is range-increase-positive. With λ = 5.55 cm,
d = −λ·φ/(4π) = −(0.0555 m × 6.2832)/(4π) ≈ −0.02775 m = −27.75 mm
# in the kernel, lambdaCm = 5.55 and the result is returned in mm:
# −5.55 × 6.2832 × 10 / (4π) ≈ −27.75 mm
# canonical direction: AWAY → the narrative claim should be subsidence
The result is negative in the uplift-positive canonical form, so the physical motion is away
from the satellite. Calling it uplift in the report would be a contradiction. Note that a purely
LOS statement is not the same as a vertical one: LOS motion can include an east–west component,
and separating the two needs the
ascending–descending decomposition as well as a sign audit.
Limits
The tool cannot infer a sign convention from the data. A distribution of velocities looks
the same whichever way it is signed; only the processor documentation or your declaration
can settle it.
A default is registered only for MintPy, dolphin, ISCE2 (phase only) and ASF HyP3.
Everything else requires an explicit declaration and is otherwise refused.
Conversion between cumulative displacement and rate needs a positive time span. Without
one the kernel returns NO_TIME_SPAN rather than assuming a year.
No atmospheric, orbital, DEM or unwrapping correction is applied. A consistent sign is
necessary but not sufficient for a correct velocity.
Line-of-sight sign is not vertical sign. Geometry projection is a separate step.
Where this belongs in a QA workflow
Run the audit after the stack is finalised and before any threshold or classification is
applied. Export the audit CSV and keep it with the delivery: it documents, row by row, which
convention each input used and which rows were refused. If a reviewer later asks why a cluster
was excluded, the answer is in a file rather than in somebody's memory. Then re-check the
narrative sentences against the canonical direction codes. In practice this takes minutes and
catches the single most embarrassing class of InSAR reporting error.
Frequently asked questions
What is an InSAR sign convention, in one sentence?
It is the rule that says what a positive number means. In the phase domain a positive value usually means the slant range increased, so the ground moved away from the satellite. In displacement and velocity products a positive value usually means motion toward the satellite, which is uplift when the motion is purely vertical. Both rules are valid and they are opposite.
Which processors have a documented default in this tool?
MintPy, dolphin, ISCE2 and ASF HyP3. The MintPy FAQ and dolphin FAQ document the phase-versus-displacement split; ISCE2 Discussion #523 defines the interferometric phase with range increase positive; the ASF HyP3 Sentinel-1 InSAR Product Guide gives the negative-signed displacement relation. ISCE2 has a documented default for phase only, so a displacement value from ISCE2 still needs an explicit declaration.
Why does the tool reject SNAP, GMTSAR or LiCSAR values by default?
Because no verified public default convention is registered for them in the kernel. Rather than assume one, the row is returned with UNDECLARED_CONVENTION. Declare the convention explicitly in the form and the conversion proceeds normally. A guess here would silently flip half a dataset, which is far more damaging than a refused row.
How many millimetres is one radian or one fringe at C-band?
With lambda = 5.55 cm, one radian of unwrapped phase corresponds to about 4.42 mm of line-of-sight displacement under d = −lambda·phi/(4pi), and a full 2pi fringe corresponds to half a wavelength, about 27.7 mm. The sign depends on the convention: under range-increase-positive, a positive phase maps to a negative canonical displacement.
What does a CONVENTION_CONFLICT warning mean?
You declared a convention that differs from the documented default for that processor and stage. The conversion still runs, but the row is flagged because this exact combination is how mixed-sign datasets are created. Either the processor was configured unusually or the declaration is a mistake; check the processing configuration before accepting the result.
Can the tool convert a cumulative displacement into a rate?
Yes, but only when you supply a positive time span in years. Without one it returns NO_TIME_SPAN instead of assuming a convenient duration. The reverse, rate to cumulative displacement, has the same requirement. Any seasonal or non-linear behaviour in the series is not modelled by that simple division.
Does a consistent sign mean my velocity is correct?
No. It means the number and the narrative agree about direction. Atmospheric phase screens, orbital ramps, unwrapping errors, DEM residuals and a drifting reference point can all produce a confidently signed but wrong velocity. Use the error budget and ground-truth validation for that layer, and remember that line-of-sight motion is not automatically vertical.
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.