From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KChNNfg+g2QuAQAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 17:02:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YAg1Nfg+g2SSRgEA9RJhRA (envelope-from ) for ; Fri, 09 Jun 2023 17:02:16 +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 8BF5C3F8AC for ; Fri, 9 Jun 2023 17:02:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7dcr-0005tu-7V; Fri, 09 Jun 2023 11:02:05 -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 1q7dco-0005sY-7H for guix-patches@gnu.org; Fri, 09 Jun 2023 11:02:02 -0400 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 1q7dcn-0002ye-UP for guix-patches@gnu.org; Fri, 09 Jun 2023 11:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7dcn-0004ic-OR for guix-patches@gnu.org; Fri, 09 Jun 2023 11:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49207] [PATCH v2 5/5] gnu: Add python-scitools-iris. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49207 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49207@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 49207-submit@debbugs.gnu.org id=B49207.168632286518072 (code B ref 49207); Fri, 09 Jun 2023 15:02:01 +0000 Received: (at 49207) by debbugs.gnu.org; 9 Jun 2023 15:01:05 +0000 Received: from localhost ([127.0.0.1]:60050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7dbs-0004hP-Ta for submit@debbugs.gnu.org; Fri, 09 Jun 2023 11:01:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7dbq-0004gK-46 for 49207@debbugs.gnu.org; Fri, 09 Jun 2023 11:01:03 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5AE1A240101 for <49207@debbugs.gnu.org>; Fri, 9 Jun 2023 17:00:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686322856; bh=42Nk2Kma1UjG/eJ/DQucoT8gdU4yQgiBiqwBNqcOeNQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=Q3SQp2ZyUbYBC3GqPbJWGiDvVtnV9YowhnBnh5KuUV0wxpe0yGW/cFZ4kPwY1ld15 4hgrXpLGXWoX2fBWTbjdgS/fJWosJaB3iOhAGFwGUKovEgQf7bUD3VUzBaoSJh/SHW arnyfBExmWFTT5rVygaXh9aDJSKGUsTUcV1dU7ZY5FpwZtyPOfLCd2dwu/SPm36/ef h2fNuxU5/nmrlK3i1Fg2VZaYru+zH7HVasK+VhR9+K8HL5izSGDHgFlClzTFSsKVJl Q/omPG9RbtmG6r+4cNu1Gg7SHk/m7/yRFGZKKK5pZlUwkdtZXICRwpF0ZfDAnzmBy6 4RTayMudT2qCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qd45f3Czxz9rxB; Fri, 9 Jun 2023 17:00:54 +0200 (CEST) From: Vinicius Monego Date: Fri, 9 Jun 2023 14:58:54 +0000 Message-Id: <20230609145854.2581045-5-monego@posteo.net> In-Reply-To: <20230609145854.2581045-1-monego@posteo.net> References: <20230609145854.2581045-1-monego@posteo.net> 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686322936; a=rsa-sha256; cv=none; b=ptimu+FmaBNCTAHeQMxNV6NQhtZWXbapmtLF90zkgHSf7yvJD8hlznpN12aHjyV/kAWrS4 NETa11Kg38Vw+xfGoeWmzqxWxZYCGA0BiWJgmJIMlVrfUCKSjcj+8vEQNfz1HKxBUqOCYZ a6B6t/XRIxgLfyy61TiP0xHwq9vShs0SeQK/YYxi3Jkv3o+QqsfXXKm6ImJedAjrjj4x3c xoQeStkLpJhxlbXursoNjH3SkbtQ3xHWYnOc242kkPsdTc73E1pYPbfwtkm56sCrAYJEu/ xYibV0v2n7RqlVS6gAQd0wm/TlsZgikNHhsa7k6DmWTt3UWd0qaPmRKvNtJJ9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Q3SQp2Zy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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=1686322936; 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=+80Qk17deNiKg3gabty6SDqr6NC875y2pCL91L0/nmM=; b=f7UNCybt5yRPfz0mdtuTYsfNwu9Cvly6OrTChFHrONpvbimyEgnoOSBin0xiGsxWKbAY7t FySn7yJusz10mDxzH4eq0S9pf1iKIvLAIVyvZrwTpJxVlq1cU+lpLc3Gr/NOXXS9TQ1nMR QmxXBWDcl4II3UDtG2T3DbAC58mW4xlOXUsZNjKl5007KFoeoFPHtUr0e+3p7+tN01ocvA t6P+rMYgs00lF7jVtQGXVxD+lmmXDUDkqyXOiMy+rN7aZBhHGzcMm95jwQTcWXp80ikS2q skToSky4gNa93RTRRyQ34o/dY+ud2bAAWqCRKEbx22kOU5ONzc+yLHBXOxrF5Q== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Q3SQp2Zy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: 8BF5C3F8AC X-TUID: d7QVsatWssfD * gnu/packages/geo.scm (python-scitools-iris): New variable. --- gnu/packages/geo.scm | 69 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index c1b028104c..eb58781591 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -73,6 +73,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages datastructures) + #:use-module (gnu packages digest) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) @@ -1428,6 +1429,74 @@ (define-public python-cf-units Climate and Forecast (CF) metadata conventions.") (license license:lgpl3+))) +(define-public python-scitools-iris + (package + (name "python-scitools-iris") + (version "3.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "scitools-iris" version)) + (sha256 + (base32 + "08r13aans17qgv93m0hwzwmiqvbgkn5rhp9r5szyv4i99xz62igj")))) + (build-system pyproject-build-system) + (arguments + ;; Tests below fail because of URL open errors and missing data (which is + ;; probably being downloaded). + (list #:test-flags + #~(list "--ignore" "lib/iris/tests/test_cf.py" + "--ignore" "lib/iris/tests/integration/netcdf/test_delayed_save.py" + "--ignore" "lib/iris/tests/integration/netcdf/test_thread_safety.py" + "--ignore" "lib/iris/tests/integration/plot/test_vector_plots.py" + "--ignore" "lib/iris/tests/unit/analysis/regrid/test__CurvilinearRegridder.py" + "-k" (string-append "not test_python_versions" + " and not test_2d_coords_contour" + " and not test_grouped_dim" + " and not test_ungrouped_dim")) + #:phases #~(modify-phases %standard-phases + (add-before 'check 'build-std-names + (lambda _ + ;; Need to build lib/iris/std_names.py before + ;; running the tests. + (invoke "python" "setup.py" "std_names") + ;; Replace some executable paths. + (let ((nc #$(this-package-native-input "netcdf"))) + (substitute* "lib/iris/tests/stock/netcdf.py" + (("env_bin_path\\(\"ncgen\"\\)") + (format #f "\"~a/bin/ncgen\"" nc))) + (substitute* "lib/iris/tests/__init__.py" + (("env_bin_path\\(\"ncdump\"\\)") + (format #f "\"~a/bin/ncdump\"" nc)))))) + ;; To avoid the antlr4 error from cf-units. + (delete 'sanity-check)))) + (native-inputs (list netcdf + python-click + python-filelock + python-imagehash + python-pytest + python-setuptools-scm + python-wheel)) + (propagated-inputs (list python-cartopy + python-cf-units + python-cftime + python-dask + python-distributed + python-matplotlib + python-netcdf4 + python-numpy + python-pyproj + python-scipy + python-shapely + python-xxhash)) + (home-page "https://github.com/SciTools/iris") + (synopsis "Library for analysing and visualising Earth science data") + (description + "Iris is a Python library for analysing and visualising Earth ++science data. It excels when working with multi-dimensional Earth Science ++data, where tabular representations become unwieldy and inefficient. Iris ++implements a data model based on the CF conventions.") + (license license:lgpl3+))) + (define-public tegola (package (name "tegola") -- 2.34.1