From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UEUUFQbjtmJFtgAAbAwnHQ (envelope-from ) for ; Sat, 25 Jun 2022 12:27:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aMDqFAbjtmIKQgEAauVa8A (envelope-from ) for ; Sat, 25 Jun 2022 12:27:18 +0200 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 86B101D09F for ; Sat, 25 Jun 2022 12:27:17 +0200 (CEST) Received: from localhost ([::1]:34974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o530W-0007zU-13 for larch@yhetil.org; Sat, 25 Jun 2022 06:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o530I-0007wj-RG for guix-patches@gnu.org; Sat, 25 Jun 2022 06:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o530I-0006ZP-IU for guix-patches@gnu.org; Sat, 25 Jun 2022 06:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o530I-0008An-FQ for guix-patches@gnu.org; Sat, 25 Jun 2022 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56193] [PATCH] Add Climate Data Operators package References: <87a6a26sai.fsf@burningswell.com> In-Reply-To: <87a6a26sai.fsf@burningswell.com> Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jun 2022 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 56193@debbugs.gnu.org Received: via spool by 56193-submit@debbugs.gnu.org id=B56193.165615277531330 (code B ref 56193); Sat, 25 Jun 2022 10:27:02 +0000 Received: (at 56193) by debbugs.gnu.org; 25 Jun 2022 10:26:15 +0000 Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o52zW-00089G-Ot for submit@debbugs.gnu.org; Sat, 25 Jun 2022 06:26:15 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:37704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o52zS-00088z-F5 for 56193@debbugs.gnu.org; Sat, 25 Jun 2022 06:26:13 -0400 Received: by mail-ej1-f42.google.com with SMTP id lw20so9492459ejb.4 for <56193@debbugs.gnu.org>; Sat, 25 Jun 2022 03:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=S0TNF9L0UoaB1MdPGlYDLgevY85BpUnPzAU7ePtJluU=; b=2UlE0pqm96uliagXYQgmdGrooZtwnz3rX9EI/oHAHHqb/ygUOP9dNzoAt+o+DjPAsH nPPdvF052iBbaQ72aGlOQx0LiglTJIgaww60jEDmGjOCyi7dnMxxfLue9Peqom/dYHek +g58ANeaWP1CJSQrl+1PHsy6R0bsHe2a2dUQ2Xzm9mhnPqwPi9ksRfIjmelTTm0oI34E r4BZtPiWmCZ4rLoRrBlt3CLOKcJbZ4isfd+fSvlVQt7c3b6LNUk95/nICeTQf+UUOoWq rUhNlKQlzbR1o0JQ+tsbaA6ZNr2marpAlJCMgHOrWF40if7Dk3UvYomeEQcjkmljlXc7 ijsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=S0TNF9L0UoaB1MdPGlYDLgevY85BpUnPzAU7ePtJluU=; b=62aK4nLQ/+mQV0WOp5UOPyd/WrG6piuC63ZQ3SZ17J6SLSZECyAfmnC6BGt4yyyJjC 8CoKnjX9NYxMHzDGum0mJ7YWF44NRLykEcx7W9SGc4QSUNSfCZYvtjM6ygxcaWcNmN9n 4xZXnY+uqGcpnQh26Mni83Pa89L0TAi7S7Wpu/ikkuj+DcUG4MkPe0mQEM3gTkaY/O8g 3FylxVinkXE4eEmKKqICoqGNKpE7itqmchswS/CK8mubPitM6BaTDca4DD+Ggw+LZ6bP KRvHI0Dn36zVH0Sa+GfNeBWFop2Zi6plhL82wG9kGS4j8iVRncB++XEoUGtimovz616R x9hQ== X-Gm-Message-State: AJIora9QBllHeV8gC+hTBjKgPpbWmxDSnbbps1i8u6dzP/uVeqmjvQP8 cDDWtto6rbxP6ya7udlRcg1gqi1ieJpc0V7w X-Google-Smtp-Source: AGRyM1sYzvMhF1q7oDBP1QSCuNz42noAlq8LEh63b9R82kXbyCBUcr1IKP8Up/OCcBPNxTtUUF+aag== X-Received: by 2002:a17:906:530b:b0:715:7867:1033 with SMTP id h11-20020a170906530b00b0071578671033mr3014414ejo.683.1656152763985; Sat, 25 Jun 2022 03:26:03 -0700 (PDT) Received: from thinkpad (tmo-117-18.customers.d1-online.com. [80.187.117.18]) by smtp.gmail.com with ESMTPSA id j7-20020a17090643c700b00722e0b1fa8esm2432763ejn.164.2022.06.25.03.26.02 for <56193@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 03:26:03 -0700 (PDT) User-agent: mu4e 1.6.11; emacs 28.1.50 From: Roman Scherer Date: Sat, 25 Jun 2022 12:18:24 +0200 Message-ID: <87mte1vy30.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656152837; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=S0TNF9L0UoaB1MdPGlYDLgevY85BpUnPzAU7ePtJluU=; b=QY1b2boDjQ28YaVxmWMzFf0mIz65oIXZ9rBWf39hmgqpIUjJnVxFFJvx+RSMQoyqM+H9SU TwFgL31JmCOsgdyoV/K1kSVs9O3Gn+IAe6zPFazoDWKB4NWzdci0l5ILODUUAs1IlUncMb VgesPQD35ZRHvrKvE6GfGruUUWNjBibuIcesRlvdE1lB1Wlcc8zXeQZxRRiVd5foK0PC80 72EmVZYmYpKvTBn+oQ69uB7nz2meIJIELvLnzvDTe54lCmUVf4hjDp8vUR2Qqk6h7L8j0j Yws5LHpB0n/KIRe/Q7cyJXK4KEMReOQGEOSnaY/lCzdl2qPPTG+k6Z+XfagWSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656152837; a=rsa-sha256; cv=none; b=FnYVBr0TOjXU2hpmtcqW/xT2BiE5kcmZyBCymk1HFBfCyxJAtw9Gx1xq/hPw1n3uELVWi6 uAqcCGlOc3h5HjonX6HO72uuk/nR/hQTLukMdCGSs/QWRAkDdzMeux4eUzrDGyTVJCy8Lx KiPoKzWnEkdi+bwJHHy4C7uyLPao5ZG3drcepUkieBlY5i0+0Fo5anl/xbKJfiBLwhiW05 noNhIcSrj28r0yS+0huvdzQprmmFzD+Gc0BAnFJmPTU5Zb55pIFp92P73qakzLGVK8GWJi vuj3k1RAXxwIgUItXpMcNlEG4bwwqLjJRA0I4GavybeRLLUNHPSUQgMaXh2lFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=2UlE0pqm; dmarc=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.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=2UlE0pqm; dmarc=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: 86B101D09F X-Spam-Score: -2.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4zzLHJWa2bD5 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Antero, thanks for your review! Here's an updated version of the patch. I added =2D-with-netcdf to the configure flags, removed the build utils, added spaces between sentences and don't use a list for the licence field anymore. Could you have another look please? I'm not sure if I addressed all lint issues, since this command is failing on my machine recently. Any idea what this could be? Here's the backtrace of the lint command: ``` [roman@thinkpad guix]$ ./pre-inst-env guix lint cdo ;;; note: source file /home/roman/workspace/guix/gnu/packages/geo.scm ;;; newer than compiled /home/roman/workspace/guix/gnu/packages/geo.go ;;; note: source file /home/roman/workspace/guix/gnu/packages/geo.scm ;;; newer than compiled /home/roman/.cache/guile/ccache/3.0-LE-8-4.5/= home/roman/workspace/guix/gnu/packages/geo.scm.go ;;; Failed to autoload html->sxml in (htmlprag): ;;; no code for module (htmlprag) Backtrace: In ice-9/boot-9.scm: 1752:10 18 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 17 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 16 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 15 (_ #(#(#))) In guix/ui.scm: 2238:7 14 (run-guix . _) 2201:10 13 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 659:37 10 (thunk) In srfi/srfi-1.scm: 634:9 9 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 65:4 8 (run-checkers _ _ #:store _) In srfi/srfi-1.scm: 634:9 7 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 74:21 6 (_ _) In guix/lint.scm: 1476:5 5 (check-for-updates #) 811:2 4 (call-with-networking-fail-safe _ _ _) In ice-9/boot-9.scm: 1752:10 3 (with-exception-handler _ _ #:unwind? _ # _) 1685:16 2 (raise-exception _ #:continuable? _) 1683:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: html->sxml: unbound variable ``` Thanks, Roman. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-Add-Climate-Data-Operators-package.patch Content-Transfer-Encoding: quoted-printable From=20d003fb5a519341a23973e8565ac7bc3195742808 Mon Sep 17 00:00:00 2001 From: r0man Date: Sat, 25 Jun 2022 12:10:00 +0200 Subject: [PATCH] Add Climate Data Operators package This patch adds CDO, a collection of command line Operators to manipulate a= nd analyse Climate and NWP model Data to Guix's geo module. =2D-- gnu/packages/geo.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 7b29c55088..7ce1d2bda2 100644 =2D-- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -119,6 +119,33 @@ (define-module (gnu packages geo) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) =20 +(define-public cdo + (package + (name "cdo") + (version "2.0.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://code.mpimet.mpg.de/attachments/download/26823= /cdo-" + version ".tar.gz")) + (sha256 + (base32 + "1khdbd5cmnn7qm6hcqg4md5wbq14fs6brrns8b3g18diqgqvpvpd")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-netcdf=3D" (assoc-ref %build-inputs "n= etcdf"))))) + (inputs + (list netcdf)) + (native-inputs + (list pkg-config)) + (home-page "https://code.mpimet.mpg.de/projects/cdo") + (synopsis "Climate Data Operators") + (description "CDO is a collection of command line Operators to manipul= ate and analyse +Climate and NWP model Data. Supported data formats are GRIB 1/2, netCDF 3= /4, +SERVICE, EXTRA and IEG. There are more than 600 operators available.") + (license license:bsd-3))) + (define-public memphis (package (name "memphis") =2D-=20 2.36.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmK24rgfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmXkMB/9NQKAgmkRs0b58 ZlZvKsz6wCTUDgsigmcXEonU15pXRu+gmSmxNEkSAoVwpro2lzR8d5q7PDB8riuB leNXXcJvfbjsL4+qw0aKoLNjuI6Rxi4Y6apCNLlMNCO/m70qEvxrkhoCVCutQeiO CWCZRwvqbZ46ld71NNWceXcniwZwEZS4otehgqdEcnG9UdCBBHgZf/EKPGlTgzfY WfVcTjJHTfTNPnJpiG85yWiEyM7qtvTxWLlQUQDek3Rvmsyz7DIAdbYwD+uXnoRl 5lo+MEG4bYpw0dUymt3PDDZDCuo5o6kHHoNVDzFdVG2yVGYV9WSF2FrhFpIclDj2 L96mj0Z6 =YFgF -----END PGP SIGNATURE----- --==-=-=--