From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QENLMYUK4mH+ZQAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 00:43:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kD6oLoUK4mH70gAA9RJhRA (envelope-from ) for ; Sat, 15 Jan 2022 00:43:01 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D57F22BDD for ; Sat, 15 Jan 2022 00:43:01 +0100 (CET) Received: from localhost ([::1]:57576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8WDk-0004LP-Hf for larch@yhetil.org; Fri, 14 Jan 2022 18:43:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8WBu-0002f3-06 for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8WBs-00077X-Dh for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8WBs-0003aJ-Cq for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51765] [PATCH 6/6] gnu: Add gwcs Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 23:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51765@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 51765-submit@debbugs.gnu.org id=B51765.164220364413700 (code B ref 51765); Fri, 14 Jan 2022 23:41:04 +0000 Received: (at 51765) by debbugs.gnu.org; 14 Jan 2022 23:40:44 +0000 Received: from localhost ([127.0.0.1]:38569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8WBX-0003Yo-RY for submit@debbugs.gnu.org; Fri, 14 Jan 2022 18:40:44 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:44875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8WBQ-0003Xa-Jf for 51765@debbugs.gnu.org; Fri, 14 Jan 2022 18:40:37 -0500 Received: by mail-wm1-f53.google.com with SMTP id f141-20020a1c1f93000000b003497aec3f86so8412528wmf.3 for <51765@debbugs.gnu.org>; Fri, 14 Jan 2022 15:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ueTot1MQSG6MiZZR59pDgIoOceI2A+RvOQNHgwKomig=; b=mxQVNcR2Gr5aApZvydMEQLCFs6TWMiGhBbaWNUc0ZSD6u5Ic+svFE0lYvuakBNc422 b+xfFdX+fyagkAjBGVkHKLmD2CkGTCEbOav2NLcHDZFKQmOUHaCOt9iuMlw9xcT+a6Gz 3U+mtRSemt9oabh5jw2+5RK2aN1cfp/gc6pU6qDWP0kOcFcOq6kMw6zaOWeQBbKA5buk 3bECvTIOmMQ2ecsX+5OjrTjWrpQbOgqTuk6A6IkzR8BLIAeUrH/Gi4FrBT5EYVsc1j3Q B2S/cOxscXuebhfEUGgCTHAhgXmADBM3hZ4G469TphIknKlDxzWV0sCpXS0+pjQu0hRx FCvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ueTot1MQSG6MiZZR59pDgIoOceI2A+RvOQNHgwKomig=; b=yvro1aYgaN/TbhKFNuzidSLsZhGaa8tf4QTfTrekh4y1TypR0gPCwo6xUJSRFnLx6j HeqsEQa7OGoZvzXShQ1qWvUKuzA0dMqe8ceTDdbtwVmd0K2Hkd52Ueud7InQr2TffTTD SQvOFMfH5yKA/pa5BBphrFVCZGnvu4MRHnsk9nfmTbphjtSzoTuI7YAXs7wVakKMl8Eu EUUnpmiXmV9cT0LcBV46u6D/DnrAhNcL/r3UDMB/GcRx6yGRZ1Oy6CALbofigzomhhTG 81zZkqZPr5k1PJDFiJ3PAgQINY7F3QZ1ZwTg+b8qiQCjdZr1ckNnXpS5m3+8+EkJC5FQ ggbA== X-Gm-Message-State: AOAM5335zPgQ32mgcZZPw13RW7YED7ou6Bt4cCtDGS47zOmCVuxNkTol zSscr1sKO3tRp3nKr03Hd7jTSWmOq/I= X-Google-Smtp-Source: ABdhPJxcaSIHB+b5HfcV9hooK6nLi/r1aZq+Fe6aexW4h3NR43uj7+U5RFt5ZCslE+9EtMt8wcri4w== X-Received: by 2002:adf:d1c2:: with SMTP id b2mr4996413wrd.365.1642203631060; Fri, 14 Jan 2022 15:40:31 -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 e13sm6576965wrw.3.2022.01.14.15.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 15:40:30 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 14 Jan 2022 23:40:25 +0000 Message-Id: <20220114234025.18817-6-sharlatanus@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220114234025.18817-1-sharlatanus@gmail.com> References: <20220114234025.18817-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642203781; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ueTot1MQSG6MiZZR59pDgIoOceI2A+RvOQNHgwKomig=; b=oVJizKXJ3SSRSIEbrhupNDsMlFDhSGlbfsHGQiR11uw40i6puCwnevKkDfd6AOneX144fV nkaeeOSDDwAReXX6s/23G17dg7fFHNMlDttnilKTxffD+CMD8K+ZszL9/hudovU5qKcSID 9UG6PU4NQeD78jaNxXXZQDqD53Vt3oC2/VbUlXnnwoow9k0N0Lm3+NsVXGDqEttzFustow RIh+lJIB1hSVP6RR6XzEy5rr7A4ULZK7M4D88fj9lx7KbQvxFP433ou9kLK8gjEz98LbzC WiHHN2To2i9wILKRPyTp7MCzRqPP3lcnShyQxM2FY6xbqpH3dGex2VHG9UZ1Nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642203781; a=rsa-sha256; cv=none; b=Bfujz10RSzrT7afwShBcRMx7ZVYIEThgh0Vmn4n78VP+ZLi6icwe10Kx5aMldGDvJB/Oy1 nu8sF1wMpIb0gh0d1Q3vWbEmBxDDyOMPApHwgerSmYGeBi0WIlQCcr5i3KiGPJw5afvcl4 4w59NAaLy1K0bJmlhaCwepCT3MeZOHjDuv0IY2ySjCBfBOktuW8AWMXpMd5ov7S7zF85K4 5SfQ8TknKJVUmxaCPW9/3+ZHr+2iTr6UyXMQthC/ZBjpatX9+iwumQYYblG6vHaj5Bix+9 gVS77QR5ak8DawrV1r+wr/usMzBFVRobQb3tRbyMMvPb31wJsyaJva4b2v60TQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mxQVNcR2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mxQVNcR2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6D57F22BDD X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0YKDWf4z4KOy * gnu/packages/astronomy.scm: (python-gwcs): New variable. --- gnu/packages/astronomy.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b025b86736..60dd968838 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1487,3 +1487,49 @@ (define-public python-skyfield "Skyfield computes positions for the stars, planets, and satellites in orbit around the Earth.") (license license:expat))) + +(define-public python-gwcs + (package + (name "python-gwcs") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gwcs" version)) + (sha256 + (base32 "194j49m8xjjzv9pp8cnj06igz8sdxb0nphyybcc7mhigw0f0kr30")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (native-inputs + (list python-jsonschema + python-jmespath + python-pytest + python-pytest-doctestplus + python-pyyaml + python-semantic-version + python-setuptools-scm)) + (propagated-inputs + (list python-asdf + python-asdf-astropy + python-astropy + python-asdf-wcs-schemas + python-numpy + python-scipy)) + (home-page "https://gwcs.readthedocs.io/en/latest/") + (synopsis "Generalized World Coordinate System") + (description + "Generalized World Coordinate System (GWCS) is an Astropy affiliated package +providing tools for managing the World Coordinate System of astronomical data. + +GWCS takes a general approach to the problem of expressing transformations +between pixel and world coordinates. It supports a data model which includes the +entire transformation pipeline from input coordinates (detector by default) to +world coordinates. It is tightly integrated with Astropy.") + (license license:bsd-3))) -- 2.34.0