From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 8MRzCYtTJGbHiwAA62LTzQ:P1 (envelope-from ) for ; Sun, 21 Apr 2024 01:45:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8MRzCYtTJGbHiwAA62LTzQ (envelope-from ) for ; Sun, 21 Apr 2024 01:45:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HoRMvuAq; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713656714; 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=YfSXAwnQcfIxWRZ+tlP41tfb/zQLDEYDJIhxiWLKgNA=; b=IPnKZlD3Mrosby9JyxQvm8sebZxdDImo9pm7iaNJKWBqBptiTyv+OaD/nOXtVv/mMMzBpR tYhkXzYNWFG8JzZLlEN3xxz7VcmrotV/2L7HIzafkYj0yS/fqp+7gRRYNdMRbhvJChmpTc 9J5DgipWZmd/oIJXc8zGATLdZJBS+OiLTLlBvyNucmkcgSbJXQBZcuy9lKSkmAF455WTEI tHWLr/TfVKDexi6MnCrDsHlDNbXW7aEbrROTe69+aqI3QumYPn0rMdx9mX+CuDu2TzMpmA Oy54JeI7G9pyRhA9WBTklsHOe7MazLN83XWdodUfJa4TixHlI82Gznc/6XcNIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HoRMvuAq; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713656714; a=rsa-sha256; cv=none; b=cGtmnI0ATW5/JRl0BN0R67rXzfXlNvxnYqmmVH/gWaHIl2JDQdrQzRUGfqo1E/WxPXb2ud rNAJ6/gxcy/HTN+mxHLMZ5q7fY6tfHrLsi21055eimbMvscX9j3vgbuU6vGVettEusMR1I X6uMgtE5pKvgkg79ll5YiTIUkDYtMbqHTHKwW0SxzlJJJepxIyHSQXucASmIS2YH9NrVfP ywENw95lhzuESrFRGS+luivgLkZ0RcoR2yMZ2vhPswOWRifRNgutLlWMZ+m6t5VHRo4rEP 6uY68Bg907aXOHfolZ98aK9jsLBWWbUMA29PZrfw4QAiMU8weEMrE8+IB9pRuQ== 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 C7FDD77051 for ; Sun, 21 Apr 2024 01:45:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryK6N-0004uf-IT; Sat, 20 Apr 2024 19:26:35 -0400 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 1ryK6C-0004nJ-Ry for guix-patches@gnu.org; Sat, 20 Apr 2024 19:26:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryK6C-0002zv-K0 for guix-patches@gnu.org; Sat, 20 Apr 2024 19:26:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryK6R-0000a5-EW; Sat, 20 Apr 2024 19:26:39 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70489] [PATCH 46/47] gnu: Add scamp. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 20 Apr 2024 23:26:39 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70489 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70489@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 70489-submit@debbugs.gnu.org id=B70489.17136555801944 (code B ref 70489); Sat, 20 Apr 2024 23:26:39 +0000 Received: (at 70489) by debbugs.gnu.org; 20 Apr 2024 23:26:20 +0000 Received: from localhost ([127.0.0.1]:39111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryK65-0000Ua-EX for submit@debbugs.gnu.org; Sat, 20 Apr 2024 19:26:19 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:51491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryK3Z-0008TI-66 for 70489@debbugs.gnu.org; Sat, 20 Apr 2024 19:23:43 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-41a2a43c800so535895e9.3 for <70489@debbugs.gnu.org>; Sat, 20 Apr 2024 16:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713655400; x=1714260200; darn=debbugs.gnu.org; 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=YfSXAwnQcfIxWRZ+tlP41tfb/zQLDEYDJIhxiWLKgNA=; b=HoRMvuAqibr81Zgt6T9YOdOUk812C+VzcFjqZe4IfWTGwCIRQ9HuwSBZ4OMNOVrk5P dvMbiPoNMDvsejiwXGn9v8bazJdp8BafviG8dadd22Il8SLHDcnq4p1k+LQtZTvwXnPJ ra2HZSucx0VD6Imrd8oWtoZwjjZ16mlrUPOaikeh8eIXWNxxGeX/L0e459+eRHNuJpK7 JFLX+nTN0n/qqYj+ZZyFBISO4YzdliLoai/LZ2inVFt3v9RGR4e6/nxkHz38ENGYnfc/ EJnQFneiiFC9NDHUC/FnTAE/JMxUrgUVKxSu60qAfdqjxJVchSi7/7T+U8aJRtGtLpuh bzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713655400; x=1714260200; 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=YfSXAwnQcfIxWRZ+tlP41tfb/zQLDEYDJIhxiWLKgNA=; b=DYCIPTvpnTZsbycP9k/M9992hWIB4p3r/yW3/agRKssyycyOTUJ8gg6sAghwCQwiqR mh5gi0QmOq8o1k7slobFKNqUuBcVeue7T0KCZUQnsiqZuol5fu3IgT28TVJ/2E457vHN voNuiH63l2AzkEwLiUemKT210Aory+7up1HsIaLk2DTYUQPcoN8kKjIz0Jkp4jjSQJQ/ yqyDQP6LAYVOhmQRlEFN/kEdPF6Obfpy1dzzYC7ekRajOoDEqJpaDiXiRAgxhLiE6SUl ienbjjRFX9L/F0UcqvALVbv54s8oKqqLt+tuvz3RpWNwEhVOLIiupea/GwZ9fj88Sfpq NoBg== X-Gm-Message-State: AOJu0YwPpmVCzqdk9/6dlOuftQX8P5uXqtMm+zLtr2AxzUlMx754NjwE iPFyGVxmpe8zvj8NS1YcZ19MsILrTMgoTOcmJkwZwVSNUld0CVbCnv0PIcaq X-Google-Smtp-Source: AGHT+IEreklAXJfxbD1kMtw/koadXtXr4x7ae51LY4CXaHvjBSHqN+ZVqR0qQ1UxZ11G/edWQfPJdA== X-Received: by 2002:a05:600c:3b10:b0:418:7028:f4d1 with SMTP id m16-20020a05600c3b1000b004187028f4d1mr3327766wms.29.1713655400476; Sat, 20 Apr 2024 16:23:20 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id g13-20020a05600c310d00b004196c93da22sm6474751wmo.2.2024.04.20.16.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 16:23:20 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 21 Apr 2024 00:22:35 +0100 Message-ID: <9125dd9398bc532b2048a8575927011b33199199.1713654571.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.78 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -3.78 X-Migadu-Queue-Id: C7FDD77051 X-TUID: cPYmeeoRXXZp * gnu/packages/astronomy.scm (scamp): New variable. Change-Id: If32adb281017858b0e7d5816cecb509af3cec835 --- gnu/packages/astronomy.scm | 80 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9d82bd4c89..a9e0583f39 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -69,6 +69,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages plotutils) #:use-module (gnu packages pretty-print) #:use-module (gnu packages python) #:use-module (gnu packages python-build) @@ -3771,6 +3772,85 @@ (define-public gpredict @end itemize") (license license:gpl2+))) +(define-public scamp + (package + (name "scamp") + (version "2.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/astromatic/scamp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qic52mzw9avf1a1fsr85mlh63b7hq6d4wj2d00zgdllmclj5l9q")))) + (build-system gnu-build-system) + (arguments + (list + #:configure-flags + #~(list "CPPFLAGS=-fcommon" + "--enable-openblas" + "--enable-plplot" + (string-append "--with-curl-incdir=" + #$(this-package-input "curl") "/include") + (string-append "--with-curl-libdir=" + #$(this-package-input "curl") "/lib") + (string-append "--with-fftw-incdir=" + #$(this-package-input "fftwf") "/include") + (string-append "--with-fftw-libdir=" + #$(this-package-input "fftwf") "/lib") + (string-append "--with-openblas-incdir=" + #$(this-package-input "openblas") "/include") + (string-append "--with-openblas-libdir=" + #$(this-package-input "openblas") "/lib") + (string-append "--with-plplot-incdir=" + #$(this-package-input "plplot") "/include") + (string-append "--with-plplot-libdir=" + #$(this-package-input "plplot") "/lib")))) + (native-inputs + (list autoconf + automake + libtool + pkg-config + python-astropy + python-numpy + python-wrapper)) + (inputs + (list curl fftwf openblas plplot)) + (home-page "https://www.astromatic.net/software/scamp/") + (synopsis "Compute astrometric solutions") + (description + "@acronym{Software for Calibrating AstroMetry and Photometry,SCAMP} is a +software that computes astrometric projection parameters from source catalogues +derived from @url{http://fits.gsfc.nasa.gov/,FITS} images. The computed solution +is expressed according to the +@url{http://www.atnf.csiro.au/people/mcalabre/WCS/index.html,WCS} standard. The +main features of SCAMP are: + +@itemize +@item compatibility with @code{SExtractor} FITS or Multi-Extension FITS +catalogue format in input +@item generation of WCS-compliant and @code{SWarp}-compatible FITS image headers +in output +@item automatic grouping of catalogues on the sky +@item selectable on-line astrometric reference catalogue +@item automatic determination of scale, position angle, flipping and coordinate +shift using fast pattern-matching +@item various astrometric calibration modes for single detectors and detector +arrays +@item combined astrometric solutions for multi-channel/instrument surveys +@item highly configurable astrometric distortion polynomials +@item correction for differential chromatic refraction +@item proper motion measurements +@item multi-threaded code that takes advantage of multiple processors +@item @url{http://www.ivoa.net/documents/VOTable,VOTable}-compliant XML output +of meta-data +@item @url{http://en.wikipedia.org/wiki/XSLT,XSLT} filter sheet provided for +convenient access to metadata from a regular web browser +@end itemize") + (license license:gpl3+))) + (define-public sgp4 ;; Version tag v1.0 is dated to <2021-01-11>, use the lates commit instead. (let ((commit "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91") -- 2.41.0