gnu: Add python-verde.
* gnu/packages/geo.scm (python-verde): New variable. Change-Id: I0d176a05a993b19224d22489dd3a8eca19e4f2e0 Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
		
							parent
							
								
									e5e8b4e52d
								
							
						
					
					
						commit
						b0fbb70521
					
				
					 1 changed files with 37 additions and 0 deletions
				
			
		|  | @ -105,6 +105,7 @@ | ||||||
|   #:use-module (gnu packages libusb) |   #:use-module (gnu packages libusb) | ||||||
|   #:use-module (gnu packages linux) |   #:use-module (gnu packages linux) | ||||||
|   #:use-module (gnu packages lua) |   #:use-module (gnu packages lua) | ||||||
|  |   #:use-module (gnu packages machine-learning) | ||||||
|   #:use-module (gnu packages maths) |   #:use-module (gnu packages maths) | ||||||
|   #:use-module (gnu packages multiprecision) |   #:use-module (gnu packages multiprecision) | ||||||
|   #:use-module (gnu packages pcre) |   #:use-module (gnu packages pcre) | ||||||
|  | @ -1388,6 +1389,42 @@ utilities for data translation and processing.") | ||||||
|       "The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.") |       "The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.") | ||||||
|     (license license:expat))) |     (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 | (define-public python-cartopy | ||||||
|   (package |   (package | ||||||
|     (name "python-cartopy") |     (name "python-cartopy") | ||||||
|  |  | ||||||
		Reference in a new issue