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 ms5.migadu.com with LMTPS id EIAiJUW9mGPCewAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 18:58:29 +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 EA41JUW9mGONbQAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 18:58:29 +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 2AD0E28B75 for ; Tue, 13 Dec 2022 18:58:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p59XZ-0005wj-JR; Tue, 13 Dec 2022 12:58:05 -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 1p59XX-0005w7-4r for guix-patches@gnu.org; Tue, 13 Dec 2022 12:58:03 -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 1p59XW-0008DJ-TM for guix-patches@gnu.org; Tue, 13 Dec 2022 12:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p59XW-0000tr-D0 for guix-patches@gnu.org; Tue, 13 Dec 2022 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60037] Update CDO to 2.1.0 and add libaec and eccodes Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Dec 2022 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 60037@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16709542263436 (code B ref -1); Tue, 13 Dec 2022 17:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2022 17:57:06 +0000 Received: from localhost ([127.0.0.1]:33674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59Wb-0000tM-RW for submit@debbugs.gnu.org; Tue, 13 Dec 2022 12:57:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:35060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59WZ-0000tG-M3 for submit@debbugs.gnu.org; Tue, 13 Dec 2022 12:57:04 -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 1p59WZ-0005ra-DO for guix-patches@gnu.org; Tue, 13 Dec 2022 12:57:03 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p59WW-000869-Se for guix-patches@gnu.org; Tue, 13 Dec 2022 12:57:03 -0500 Received: by mail-ej1-x631.google.com with SMTP id vv4so38460970ejc.2 for ; Tue, 13 Dec 2022 09:56:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=n0ynuyOsm1RqlmnHFR/J4N4AktQfUJnkXvJE8cqPF4I=; b=DNH/h/Rm3ugW/gzXDTIYyLotzUKAFHoSTHOb+qthXV05y9w0bp/RLb7hPJRuGWHdQ3 6AWFwCNiNDrpiigZ6WUW1YCuHUb4oJaj1cFUWe5BUvXtMNRoSAPXpvhg1r1MDWA+HMeI lUAuVVvuNecUgCygwoH4GI7M2aL0eILRvjHFaePU/85pN6s1ORNjDcK0tEpXDr0A74E2 3wd2r2HncLexR/AARwOKyheVovj7lvlG9NobLcDYk5/FenBXgQI4VsSWE8FZCvsaEQZY 6eNRYxADmvoo0SIWACoBjYceF77wHOnwTxxv5ak0yGIH8PW+bgOa+aVp+bfPoBU4PyLL pOWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n0ynuyOsm1RqlmnHFR/J4N4AktQfUJnkXvJE8cqPF4I=; b=5B+kK6Y4p5heXorE86ZcO+II8H7LPGFO+QgrENJxKGJR1rBbXgnon8PjTx8to0Skbe qJ9pwhQN19Iazil/32HTI1tuCNzNFCy8AuVufLCh7WMspKFr6uiOhozKQHmpBOcpOdFz dBa9lZ+trsyNrgQv08WhThn/SUHjM6HSr2ianSelPetMEaM/QE6LP6Cf/b+syzUibyDm Z2b5hU+m3fCg+4fEHP0/svH+ONcnkdY+27KkRMqBXP9cUHt0UHlSCjBMG5q1bqVxqTC9 5HJWS3m88/29jW8NwLqy32cvDO81mTkfcXeP+wQR0pT2BO2Qb+R9EZZrPBTYBGAQHC3L texQ== X-Gm-Message-State: ANoB5pkUdPykqoYJ3Obo/HatQ12+l5JwXEo4UM2nb15cxGig0lZS1EjC h+PaOCZC2zcaTLnXvIRn5HsaA8qcZzBE0dvOCJA= X-Google-Smtp-Source: AA0mqf4cvHNKw4cKezt78YUexD2k84F1tx1rQUdtNEg/2cCEKugwoXIN1B/jReLHkf+uxZc6WLvaNA== X-Received: by 2002:a17:906:7c4f:b0:7c1:6344:843 with SMTP id g15-20020a1709067c4f00b007c163440843mr10413725ejp.6.1670954215385; Tue, 13 Dec 2022 09:56:55 -0800 (PST) Received: from precision (tmo-117-8.customers.d1-online.com. [80.187.117.8]) by smtp.gmail.com with ESMTPSA id y1-20020a170906914100b007bf71053d97sm4791386ejw.40.2022.12.13.09.56.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 09:56:54 -0800 (PST) User-agent: mu4e 1.8.11; emacs 29.0.50 From: Roman Scherer Date: Tue, 13 Dec 2022 18:52:08 +0100 Message-ID: <86r0x3p4pq.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::631; envelope-from=roman.scherer@burningswell.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670954309; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=n0ynuyOsm1RqlmnHFR/J4N4AktQfUJnkXvJE8cqPF4I=; b=d2ChZs2ohodM+MIVNBlZsONUZpjelnj/Ogg/eyw8u8qp291O44trB+GbCqCSCOFCLaYR1n nVzb5F21+qGgUxxeOavNUQImuNJzjMd1hBhENvqU/0Zrcsj6snfbnIOztAxBgqCE/9FtC5 9DtBYFAjGMoNITRfdz02yevOSaXioerZJZKvMT59tCILoxUpsbOUAeLjfnzJIYXQ6RIO9J Ijhj2yahuW/GAhd1ZkYZE0ivNAOT1Kq3WieBQ6kvNOyPzpCPo/F0uwXM9nATi27NLMkOLn RpYWV0kQ0Gxhq3/iG/J/ALV1ATkBYVItv5XEokNLQggZ7sgahsXahqJhfoPvfQ== 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="DNH/h/Rm"; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670954309; a=rsa-sha256; cv=none; b=gTSvkqB0hMu21TAWdzgAl++qRnTDO0OKma0/Dfe/IKUR+HvO3Enr7QxViyCaPrTeuHC7EI lVpBYsbxoBlI7EWgi45PJ2gVJLwnu2eFByG+M2pxAZ2QvHtzdgDBh9+PtHuNXg1BPB9rtf tqNL+kshbYbakfNrzKZbgnCQjqyIMwhDRvaSxeeS+55gFQY5WwnitiR04kxK8tVtt4MBDn dVmcOgbciG//z+u846Wj9dV+xfSZDrkXEoBA+F9J/mNBSBAtAtx0hZikrawqhmr9KP0NNM 0HPD8oUnpR5Me7Br7KChmO8VFxgSdArQI+RKOSXMHRmG5OgGszBhOFDgHDw5Gg== X-Migadu-Spam-Score: -0.57 X-Spam-Score: -0.57 X-Migadu-Queue-Id: 2AD0E28B75 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b="DNH/h/Rm"; 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"; dmarc=none X-TUID: fuVTEO4lk+eS --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Guix, this patch series updates the Climate Data Operators package to version 2.1.0 and adds support for reading GRIB files by adding the libaec and eccodes packages. Could you please review the patches? Thanks, Roman. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-libaec.patch Content-Transfer-Encoding: quoted-printable From=202becf2885f612579ac2b8e09c5b42c719abe3d1f Mon Sep 17 00:00:00 2001 From: r0man Date: Sat, 3 Dec 2022 12:14:53 +0100 Subject: [PATCH 1/3] gnu: Add libaec. * gnu/packages/geo.scm (libaec): New variable. =2D-- gnu/packages/geo.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b3a5c0df3f..d2836b0358 100644 =2D-- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -128,6 +128,29 @@ (define-module (gnu packages geo) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) =20 +(define-public libaec + (package + (name "libaec") + (version "1.0.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://gitlab.dkrz.de/k202009/libaec/-/archive/v" ve= rsion + "/libaec-v" version ".tar.bz2")) + (sha256 + (base32 + "1252jn3l6jcmlhng9fz5gr0f9djp16968bb87c7ilpl33srnbyri")))) + (build-system cmake-build-system) + (home-page "https://gitlab.dkrz.de/k202009/libaec") + (synopsis "Adaptive Entropy Coding library") + (description "Libaec provides fast lossless compression of 1 up to 32 = bit +wide signed or unsigned integers (samples). The library achieves best resu= lts +for low entropy data as often encountered in space imaging instrument data= or +numerical model output from weather or climate simulations. While floating +point representations are not directly supported, they can also be efficie= ntly +coded by grouping exponents and mantissa.") + (license (list (license:non-copyleft "file://LICENSE.txt"))))) + (define-public cdo (package (name "cdo") =2D-=20 2.38.1 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-eccodes.patch Content-Transfer-Encoding: quoted-printable From=20a8c693aa62cf4d5adf088493eaa95a1e9d9a06b6 Mon Sep 17 00:00:00 2001 From: r0man Date: Sat, 3 Dec 2022 13:16:02 +0100 Subject: [PATCH 2/3] gnu: Add eccodes. * gnu/packages/geo.scm (eccodes): New variable. =2D-- gnu/packages/geo.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index d2836b0358..63fbfccab9 100644 =2D-- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -65,6 +65,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) + #:use-module (gnu packages c) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) @@ -79,6 +80,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -122,6 +124,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) @@ -151,6 +154,35 @@ (define-public libaec coded by grouping exponents and mantissa.") (license (list (license:non-copyleft "file://LICENSE.txt"))))) =20 +(define-public eccodes + (package + (name "eccodes") + (version "2.27.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://confluence.ecmwf.int/download/attachments/457= 57960/eccodes-" + version "-Source.tar.gz")) + (sha256 + (base32 + "16cw4v2d0kjq6gq04paqny0sh5jymn70w449mig7m5h3spzv7rgd")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DENABLE_MEMFS=3DON" "-DENABLE_PNG=3DON") + #:validate-runpath? #f)) + (inputs + (list git jasper libaec libjpeg-turbo libpng netcdf openjpeg)) + (native-inputs + (list gfortran pkg-config perl python)) + (home-page "https://confluence.ecmwf.int/display/ECC") + (synopsis "Library for handling the GRIB, BUFR and GTS file formats") + (description "ecCodes is a package developed by @acronym{ECMWF, Europe= an +Centre for Medium-Range Weather Forecasts} which provides an application +programming interface and a set of tools for decoding and encoding message= s in +the @acronym{WMO, World Meteorological Organization} FM-92 GRIB, WMO FM-94 +BUFR and WMO GTS abbreviated header formats.") + (license license:asl2.0))) + (define-public cdo (package (name "cdo") =2D-=20 2.38.1 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0003-gnu-cdo-Update-to-2.1.0.patch Content-Transfer-Encoding: quoted-printable From=200e293f2ac917f6256c86ebe95155e6432197ed18 Mon Sep 17 00:00:00 2001 From: r0man Date: Sat, 3 Dec 2022 13:17:57 +0100 Subject: [PATCH 3/3] gnu: cdo: Update to 2.1.0. * gnu/packages/geo.scm (cdo): Update to 2.1.0. =2D-- gnu/packages/geo.scm | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 63fbfccab9..abfa5963b9 100644 =2D-- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -186,22 +186,36 @@ (define-public eccodes (define-public cdo (package (name "cdo") =2D (version "2.0.5") + (version "2.1.0") (source (origin (method url-fetch) (uri (string-append =2D "https://code.mpimet.mpg.de/attachments/download/268= 23/cdo-" + "https://code.mpimet.mpg.de/attachments/download/27481= /cdo-" version ".tar.gz")) (sha256 (base32 =2D "1khdbd5cmnn7qm6hcqg4md5wbq14fs6brrns8b3g18diqgqvpvpd"))= )) + "1k18llghpf3jnjn0xcnhmbg7arb1fiy854qqn9m5c1abjin38wdq")))) (build-system gnu-build-system) (arguments (list #:configure-flags =2D #~(list (string-append "--with-netcdf=3D" =2D #$(this-package-input "netcdf"))))) + #~(list (string-append "--with-curl=3D" + #$(this-package-input "curl")) + (string-append "--with-eccodes=3D" + #$(this-package-input "eccodes")) + (string-append "--with-fftw3=3D" + #$(this-package-input "fftw")) + (string-append "--with-hdf5=3D" + #$(this-package-input "hdf5")) + (string-append "--with-netcdf=3D" + #$(this-package-input "netcdf")) + (string-append "--with-proj=3D" + #$(this-package-input "proj")) + (string-append "--with-udunits2=3D" + #$(this-package-input "udunits")) + (string-append "--with-libxml2=3D" + #$(this-package-input "libxml2"))))) (inputs =2D (list netcdf)) + (list curl eccodes fftw hdf5 libxml2 netcdf proj udunits)) (native-inputs (list pkg-config)) (home-page "https://code.mpimet.mpg.de/projects/cdo") =2D-=20 2.38.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmOYvOUfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmToVB/oD/7UCk1kbQroT at+N7De/PA1wjmshtd0kQORzptPhjFfqmo75uSC89s9A1IXoa6/s+c7Q6dytDy01 96DCfFL6gPbN7EWOIYrl9N3gvOoNvp79giCmZpo3UfPTnSR0lProDsaztnrh542B MsODUSaC7BxrSpqK5/vA28vDo2RpKGX3u8Y/rmRdr6rle9y7gsNiHB/djVHuZeCE aUVBod1Mlz0dVFH0/3lx8ncChxAn07pIFQvp3hQwwHM6YyW6lqKT/zY07L6NTqCb Y0+wI4EY1ut6og0oP2JGfUViYyNBPWfKGJ/fsrWeSpqILo1z+3pmoLpfxNvz07kY Ja3Fje7y =AIAQ -----END PGP SIGNATURE----- --==-=-=--