Landslide Science
Rule · centroid_lon
centroid_lon
→ writes centroid_lon
This is read live from inventory/derived.py via
inspect.getsource(); what you see is exactly what runs.
def compute_centroid_lon():
"""Centroid longitude in WGS84 (decimal degrees, 6 d.p. ≈ 11 cm)."""
return """
SELECT l.id, ROUND(ST_X(ST_Transform(c.albers, 4326))::numeric, 6)::float8 AS computed
""" + _CENTROID_LATERAL + " ORDER BY l.id"
The following rows would be updated. Review carefully, then click Apply at the bottom to UPDATE every row in one transaction.
| id | label | stored value | computed value | Δ % |
|---|---|---|---|---|
| 1449 | Yanert Glacier | -147.70 | -147.70 | ≈0% |
Sign in as an editor to apply this rule.