[PATCH] gnu: Add python-verde.

  • Done
  • quality assurance status badge
Details
3 participants
  • Christopher Baines
  • Vinicius Monego
  • Nicolas Graves
Owner
unassigned
Submitted by
Vinicius Monego
Severity
normal

Debbugs page

V
V
Vinicius Monego wrote on 11 Apr 02:44 -0700
(address . guix-patches@gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
94a4aafd7c7b303d7a9591ca2fd10f495caa60ee.1712828591.git.monego@posteo.net
* gnu/packages/geo.scm (python-verde): New variable.

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

Toggle diff (59 lines)
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
N
N
Nicolas Graves wrote on 15 Apr 14:59 -0700
QA review for 70337
87y19env86.fsf@ngraves.fr
user guix
usertag 70337 + reviewed-looks-good
thanks

Guix QA review form submission:
The archival checker is complaining, but it's the only one.
Otherwise LGTM.

Items marked as checked: Lint warnings, Package builds, Commit messages, New package licenses, New package tests, New package synopsis and descriptions

--
Best regards,
Nicolas Graves
C
C
Christopher Baines wrote on 16 Apr 15:15 -0700
Re: [bug#70337] [PATCH] gnu: Add python-verde.
(address . 70337-done@debbugs.gnu.org)
87sezlt0m8.fsf@cbaines.net
Vinicius Monego <monego@posteo.net> writes:

Toggle quote (7 lines)
> * gnu/packages/geo.scm (python-verde): New variable.
>
> Change-Id: I0d176a05a993b19224d22489dd3a8eca19e4f2e0
> ---
> gnu/packages/geo.scm | 37 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)

Thanks both, I've pushed this to master as
b0fbb70521ff4f6c7cab0bdb9de33edae02f999c.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmYe+J9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfZRg/9GiDLWdnUk1S3sPM5YgLoxq2L5zZGhWXY
OI9yVd3GthZ+RTG/Z8zgXZiEmOkvPrX7c/sBFhKnz32c6DGTMb//ZSnpMjCkI15S
eN3ixN2Mp+f6GBp63qeuN2KgbwsBE0X9NH8vtoQhUsaf29LFKPo5eh9MqzpgG++R
KZ5fPS5cWHO7XPauon9Dph+RQrs6kN+9QwZ7q7bLJreF81qc8JyD3/fvQp11jUFw
x/6kkzz154S9zsONNHgsNJd7Sfw8igFY09IZO0bvV2wNAb6O7Gfg4db7JiuYuw+J
WwJ4ClteaNaQ4cKEQpAHIqbizNmDmPy5o7/cnGFvkYsSBorZ8NNfLR60eUCzQ7hI
ZhqZdsSbb6NSAIsIukWpD+biJFBO0FwOw6jsbuoLJ9oy2DlcawAVIJify9GhJzjs
FgUUvt7/W67WcYzZ0gl01zyGT0/NVcdgVVGm6bNdWZjeMEIGE0nvNpgumHGg0h0I
BfHVPduwhESyFKiV1PGPxDBFhaJqtqE2P2VFuwmOoahTFym7Ksoq6lLDm7pia0Ba
aP185Rs3WO9clFfLaFWl42L4BUIOUcMhSn5mYLPKXRJpx+r2xYEZuFP/QbePSZkn
lilrcRskRTZAOnjstU0/31sUi5Q6HbzapLRSLBpfwSjeZhIuFw3Css7g/RWqsXEF
ephPo5dKbh4=
=G6kE
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 70337@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70337
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch