unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 70337@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#70337] [PATCH] gnu: Add python-verde.
Date: Thu, 11 Apr 2024 09:44:45 +0000	[thread overview]
Message-ID: <94a4aafd7c7b303d7a9591ca2fd10f495caa60ee.1712828591.git.monego@posteo.net> (raw)

* gnu/packages/geo.scm (python-verde): New variable.

Change-Id: I0d176a05a993b19224d22489dd3a8eca19e4f2e0
---
 gnu/packages/geo.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c30f28d96f..985fa77231 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -105,6 +105,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pcre)
@@ -1388,6 +1389,42 @@ (define-public python-pyshp
       "The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.")
     (license license:expat)))
 
+(define-public python-verde
+  (package
+    (name "python-verde")
+    (version "1.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "verde" version))
+       (sha256
+        (base32 "1hnh91dsk2dxfbk7p2hv3hajaa396139pd6apabgdrp5b7s54k97"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Tests below fetch data remotely.
+     (list #:test-flags #~(list "-k" (string-append
+                                      "not test_minimal_integration_2d_gps"
+                                      " and not test_datasets_locate"
+                                      " and not test_fetch_texas_wind"
+                                      " and not test_fetch_baja_bathymetry"
+                                      " and not test_fetch_rio_magnetic"
+                                      " and not test_fetch_california_gps"))))
+    (native-inputs (list python-cartopy python-distributed))
+    (propagated-inputs (list python-dask
+                             python-numpy
+                             python-pandas
+                             python-pooch
+                             python-scikit-learn
+                             python-scipy
+                             python-xarray))
+    (home-page "https://github.com/fatiando/verde")
+    (synopsis "Processing and gridding spatial data, machine-learning style")
+    (description
+     "Verde is a Python library for processing spatial data (topography, point
+clouds, bathymetry, geophysics surveys, etc) and interpolating them on a 2D
+surface (i.e., gridding) with a hint of machine learning.")
+    (license license:bsd-3)))
+
 (define-public python-cartopy
   (package
     (name "python-cartopy")

base-commit: 51de844a0ff6ea224367a384092896bce6848b9f
-- 
2.39.2





             reply	other threads:[~2024-04-11  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  9:44 Vinicius Monego [this message]
2024-04-15 21:59 ` [bug#70337] QA review for 70337 Nicolas Graves via Guix-patches via
2024-04-16 22:15 ` bug#70337: [PATCH] gnu: Add python-verde Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a4aafd7c7b303d7a9591ca2fd10f495caa60ee.1712828591.git.monego@posteo.net \
    --to=monego@posteo.net \
    --cc=70337@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).