From patchwork Sun May 21 05:37:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 50201 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4C35427BBE9; Sun, 21 May 2023 06:38:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 241F927BBE2 for ; Sun, 21 May 2023 06:38:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0bld-0004kO-1V; Sun, 21 May 2023 01:38: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 1q0blc-0004kE-2h for guix-patches@gnu.org; Sun, 21 May 2023 01:38:04 -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 1q0blb-0002CT-QA for guix-patches@gnu.org; Sun, 21 May 2023 01:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0blb-0005l2-MK for guix-patches@gnu.org; Sun, 21 May 2023 01:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63623] [PATCH 4/4] gnu: Add python-metpy. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 05:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63623@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 63623-submit@debbugs.gnu.org id=B63623.168464748122103 (code B ref 63623); Sun, 21 May 2023 05:38:03 +0000 Received: (at 63623) by debbugs.gnu.org; 21 May 2023 05:38:01 +0000 Received: from localhost ([127.0.0.1]:59852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0blY-0005kR-Jo for submit@debbugs.gnu.org; Sun, 21 May 2023 01:38:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0blW-0005jr-K6 for 63623@debbugs.gnu.org; Sun, 21 May 2023 01:37:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 19A9A240027 for <63623@debbugs.gnu.org>; Sun, 21 May 2023 07:37:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684647473; bh=7lPwHVFtBRlPLANcPTcRX2HjzXMdE4Fzmg16FY2Aflk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=TtZjXXRBbrzuxEDH6q8ix1Sr3m3yKWALA3HDSf5VXWeWFtgp6AP0wz9dyILfCHXBO Wnj/Ey3a1NvEf614dMBttK+2pkwZb0IzoMU4e6NaaLa4w51Rpg5Q7igGJINu0Y1O0k gkaic7DpNvsXkLNv+K27ne8CHEfb69Wu83mGsMYs+zPIopicY+5a2IxKC5tBvONJDT uPUS7as1vluEG4ircmcsHUmiAHZoakveNi5mhj9Dy34o1POXKHo4cTAMFAj+sWct6U klDELcYkxi7i7rFd+Q9tgnhgheu07npkPSfo8POR/c48a7VdzZ8h/A0vLHAOAoovkj qUat70r6HCZdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QP8Vl5LmHz9rxF; Sun, 21 May 2023 07:37:51 +0200 (CEST) From: Vinicius Monego Date: Sun, 21 May 2023 05:37:26 +0000 Message-Id: <20230521053726.1507055-4-monego@posteo.net> In-Reply-To: <20230521053726.1507055-1-monego@posteo.net> References: <20230521053726.1507055-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (python-metpy): New variable. --- gnu/packages/geo.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 345f9dfcf5..df898e462a 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1483,6 +1483,57 @@ (define-public imposm3 license:bsd-2 license:bsd-3)))) +(define-public python-metpy + (package + (name "python-metpy") + (version "1.5.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "MetPy" version)) + (sha256 + (base32 + "0g9m8qb920mvi0kqw7vbagj08xvv96zj6gjyc7dawlvh15vb55qq")))) + (build-system pyproject-build-system) + (arguments + ;; Too many of the tests in the files below require online data. + (list + #:test-flags + #~(list "--ignore" "tests/io/test_nexrad.py" + "--ignore" "tests/plots/test_declarative.py" + "--ignore" "tests/io/test_gempak.py" + "--ignore" "tests/io/test_gini.py" + "--ignore" "tests/io/test_metar.py" + "--ignore" "tests/io/test_station_data.py" + "--ignore" "tests/interpolate/test_grid.py" + "--ignore" "tests/interpolate/test_points.py" + "--ignore" "tests/test_xarray.py" + "--ignore" "tests/calc/test_indices.py" + "--ignore" "tests/calc/test_kinematics.py" + "-k" (string-append ; more tests that require online data + "not test_parse_grid_arguments_xarray" + " and not test_absolute_momentum_xarray_units_attr" + " and not test_zoom_xarray" + " and not test_parse_wpc_surface_bulletin" + " and not test_add_timestamp_xarray" + " and not test_parse_wpc_surface_bulletin_highres")))) + (propagated-inputs (list python-importlib-resources + python-matplotlib + python-numpy + python-pandas + python-pint + python-pooch + python-pyproj + python-scipy + python-traitlets + python-xarray)) + (native-inputs (list python-cartopy python-netcdf4 python-pytest + python-pytest-mpl python-shapely)) + (home-page "https://github.com/Unidata/MetPy") + (synopsis "Collection of tools to deal with weather data") + (description "MetPy is a collection of tools in Python for reading, +visualizing and performing calculations with weather data.") + (license license:bsd-3))) + (define-public libosmium (package (name "libosmium")