From patchwork Mon Nov 28 23:27:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 44901 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2938927BBEC; Mon, 28 Nov 2022 23:28:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 36DD327BBE9 for ; Mon, 28 Nov 2022 23:28:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oznXi-00082T-PT; Mon, 28 Nov 2022 18:28:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oznXe-0007zV-Oa for guix-patches@gnu.org; Mon, 28 Nov 2022 18:28:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oznXe-0007KO-GD for guix-patches@gnu.org; Mon, 28 Nov 2022 18:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oznXe-0008Np-CN for guix-patches@gnu.org; Mon, 28 Nov 2022 18:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59665] [PATCH 2/2] gnu: python-sgp4: Move to astronomy. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Nov 2022 23:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59665 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59665@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 59665-submit@debbugs.gnu.org id=B59665.166967805932209 (code B ref 59665); Mon, 28 Nov 2022 23:28:02 +0000 Received: (at 59665) by debbugs.gnu.org; 28 Nov 2022 23:27:39 +0000 Received: from localhost ([127.0.0.1]:51611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oznXA-0008NQ-9Q for submit@debbugs.gnu.org; Mon, 28 Nov 2022 18:27:39 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:44631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oznX7-0008N7-6m for 59665@debbugs.gnu.org; Mon, 28 Nov 2022 18:27:29 -0500 Received: by mail-wm1-f50.google.com with SMTP id j5-20020a05600c410500b003cfa9c0ea76so9556264wmi.3 for <59665@debbugs.gnu.org>; Mon, 28 Nov 2022 15:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w4KXe4qQXxrzpMCAZaS17DexTsNO7kPaZWVJmXhj/zc=; b=Joal9AN4GN+vWF1bzrwt1togFH6nBqgQakpEjAsNOPheAuYuNBT4MnN2kR6MHibc4c lUqqOOPYkRhPOH1FQCeOnirh4icWke2uLfuKCkX5W4bCntsolNJwg+NWXZZE+nyepGaB Z/eW4JuVMfg5+vgRCZG30rEQZoxmgymToh90GsjCqeKx263Yy+cQ8mJrkFpsWj68i8Dh XTTPgE7ltcJWlbYF1x/kksWI/oHGEQ8qxqFuxTyahZiujA6pzFIlT6etLQVD4bFtjsxz +UxXRrTIWZMG5d40cWr+Lx1RdscDBLoKF/GHPhrL1cnwO1HOkkPn+PxWMfTjwIIkOwwb QDkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w4KXe4qQXxrzpMCAZaS17DexTsNO7kPaZWVJmXhj/zc=; b=wYxeWP+d0njUjaaKOc1+3uaISQ/vHbx9ysFEu4B22/F2EaL5uJhvVfP8MNMQ0W+R5c CR69haocxp5XARljMlthLOrsqrG5BOkWe/nDZr9rAJ45uxsWLDastbLB5NDBek/opiey ZbUTr7B7z29txRJzgnrmE5ufwUvRKzbIRGVePhSf6ZY0g9NwX0PJoTZtd3RC+FdUDG+H uirUf9JETlOt2Hc/zQqfj3SO+vT4LdaBoOF4CF+O17KJWCsUNDJeUNmhKu21dVKrMm7K uGjeGd0PikuC/OqNWcJWxaK+mKLO+Uf39oNyWChnNYXiAE15TCoE0L3vp3rZB/+p+hsm unJw== X-Gm-Message-State: ANoB5pmF1GaOhuPHBbE/GbYgjWDEFaue2IGgyCxIniJoAGw0/pN5QFol f/1Ai1yRJAFW0WxCeuQ+PKYjQGRWS8U= X-Google-Smtp-Source: AA0mqf7M+oit3lOPPpqWJB2KkVPwaHoW7jYSOEkoGqnU6pyDbdyFUvu7o2Dg+ulsmjtuc2A9/plxzg== X-Received: by 2002:a05:600c:34d5:b0:3cf:7016:d401 with SMTP id d21-20020a05600c34d500b003cf7016d401mr42545369wmq.154.1669678043331; Mon, 28 Nov 2022 15:27:23 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id e9-20020adff349000000b0023657e1b980sm12091135wrp.53.2022.11.28.15.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 15:27:23 -0800 (PST) From: Sharlatan Hellseher Date: Mon, 28 Nov 2022 23:27:18 +0000 Message-Id: <20221128232718.10428-2-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221128232718.10428-1-sharlatanus@gmail.com> References: <20221128232718.10428-1-sharlatanus@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm: (python-sgp4): Move here from python-science.scm. [description]: Expand description, annotate acronyms, add link to CelesTrak. --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++++ gnu/packages/python-science.scm | 20 -------------------- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 439fdf72a8..0fb3efff0a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1412,6 +1412,35 @@ (define-public python-reproject changing the pixel resolution, orientation, coordinate system.") (license license:bsd-3))) +(define-public python-sgp4 + (package + (name "python-sgp4") + (version "2.21") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sgp4" version)) + (sha256 + (base32 "1vzcrlrlzmhbycdz16m8v241l8zx49vsy81wcd0yjxs80isvhyb1")))) + (build-system python-build-system) + (propagated-inputs + (list python-numpy)) + (home-page "https://github.com/brandon-rhodes/python-sgp4") + (synopsis "Track earth satellite TLE orbits using SGP4") + (description + "This package provides a Python implementation for computations of the +position and velocity of an earth-orbiting satellite, given the satellite’s +@acronym{TLE, Two-line element set} orbital elements from a source like +@url{CelesTrak, https://celestrak.org/}. + +It implements the most recent version of @acronym{SGP4, Simplified General +Perturbation models}, and is regularly run against the SGP4 test suite to make +sure that its satellite position predictions agree to within 0.1 mm with the +predictions of the standard distribution of the algorithm. This error is far +less than the 1–3 km/day by which satellites themselves deviate from the ideal +orbits described in TLE files.") + (license license:expat))) + (define-public python-sunpy (package (name "python-sunpy") diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 7af3f8202a..4e9582191c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -290,26 +290,6 @@ (define-public python-scikit-allel genetic variation data.") (license license:expat))) -(define-public python-sgp4 - (package - (name "python-sgp4") - (version "2.21") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sgp4" version)) - (sha256 - (base32 "1vzcrlrlzmhbycdz16m8v241l8zx49vsy81wcd0yjxs80isvhyb1")))) - (build-system python-build-system) - (propagated-inputs - (list python-numpy)) - (home-page "https://github.com/brandon-rhodes/python-sgp4") - (synopsis "Track earth satellite TLE orbits using SGP4") - (description - "This package provides a Python implementation of the most recent version -of the SGP4 satellite tracking algorithm.") - (license license:expat))) - (define-public python-trimesh (package (name "python-trimesh")