From 10a5af43293c561888f1d6db6b8b8f6d9ea2ed9a Mon Sep 17 00:00:00 2001 From: Sean Arms <67096+lesserwhirls@users.noreply.github.com> Date: Tue, 21 Jul 2026 06:40:28 -0600 Subject: [PATCH] Projection bug Thanks to another report from SSEC, fix similar bug in VerticalPerspectiveView. --- .../unidata/geoloc/projection/VerticalPerspectiveView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cdm/core/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java b/cdm/core/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java index 4cf0aafc80..43600abd08 100644 --- a/cdm/core/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java +++ b/cdm/core/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java @@ -78,6 +78,9 @@ public VerticalPerspectiveView(double lat0, double lon0, double earthRadius, dou super("VerticalPerspectiveView", false); + this._lat0 = lat0; + this._lon0 = lon0; + this.lat0 = Math.toRadians(lat0); this.lon0 = Math.toRadians(lon0); R = earthRadius;