From 0e3825d5bab3d6ec356c038049e460ff970821ff Mon Sep 17 00:00:00 2001 From: starainrt Date: Fri, 16 Oct 2026 07:52:20 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E6=AD=A3=E6=97=A5=E9=A3=9F?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E9=98=B4=E5=BD=B1=E8=BE=B9=E7=95=8C=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=9A=84=E6=97=B6=E6=A0=87=E6=8D=A2=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将日下点计算由 TT2UTC 改为 TT2UT1,使测试与地球自转几何口径一致 --- geojson/solar_eclipse_central_shadow_region_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geojson/solar_eclipse_central_shadow_region_test.go b/geojson/solar_eclipse_central_shadow_region_test.go index cf2ecda..7510c63 100644 --- a/geojson/solar_eclipse_central_shadow_region_test.go +++ b/geojson/solar_eclipse_central_shadow_region_test.go @@ -169,7 +169,7 @@ func centralShadowBoundaryLines(t *testing.T, feature decodedFeature) [][][2]flo func centralShadowSubsolarPoint(value time.Time) (float64, float64) { ttJDE := basic.UTC2TT(basic.Date2JD(value.UTC())) ra, dec := basic.HSunApparentRaDec(ttJDE) - utJDE := basic.TT2UTC(ttJDE) + utJDE := basic.TT2UT1(ttJDE) longitude := ra - basic.ApparentSiderealTime(utJDE)*15 for longitude > 180 { longitude -= 360