Landslide Science
Rule · centroid_lat
centroid_lat
→ writes centroid_lat
This is read live from inventory/derived.py via
inspect.getsource(); what you see is exactly what runs.
def compute_centroid_lat():
"""Centroid latitude in WGS84 (decimal degrees, 6 d.p. ≈ 11 cm)."""
return """
SELECT l.id, ROUND(ST_Y(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 | 63.62 | 63.62 | ≈0% |
Sign in as an editor to apply this rule.