diff options
| author | r0man <roman@burningswell.com> | 2022-06-25 12:10:00 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-07-03 16:04:23 +0200 |
| commit | b4815e570d90239f06f2d6cdebee125d5efb1809 (patch) | |
| tree | bc3dc69365ff4a7b4a145df1fb21d56cb46f1362 /gnu | |
| parent | 486251d4400fead42c3570ad63d98a10786e8dbb (diff) | |
gnu: Add Climate Data Operators.
* gnu/packages/geo.scm (cdo): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/geo.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 2e737373a8f..d8e642f3497 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm | |||
| @@ -46,6 +46,7 @@ | |||
| 46 | #:use-module (guix build-system qt) | 46 | #:use-module (guix build-system qt) |
| 47 | #:use-module (guix build-system scons) | 47 | #:use-module (guix build-system scons) |
| 48 | #:use-module (guix build-system r) | 48 | #:use-module (guix build-system r) |
| 49 | #:use-module (guix gexp) | ||
| 49 | #:use-module (guix download) | 50 | #:use-module (guix download) |
| 50 | #:use-module (guix git-download) | 51 | #:use-module (guix git-download) |
| 51 | #:use-module (guix svn-download) | 52 | #:use-module (guix svn-download) |
| @@ -121,6 +122,35 @@ | |||
| 121 | #:use-module (gnu packages xml) | 122 | #:use-module (gnu packages xml) |
| 122 | #:use-module (gnu packages xorg)) | 123 | #:use-module (gnu packages xorg)) |
| 123 | 124 | ||
| 125 | (define-public cdo | ||
| 126 | (package | ||
| 127 | (name "cdo") | ||
| 128 | (version "2.0.5") | ||
| 129 | (source (origin | ||
| 130 | (method url-fetch) | ||
| 131 | (uri (string-append | ||
| 132 | "https://code.mpimet.mpg.de/attachments/download/26823/cdo-" | ||
| 133 | version ".tar.gz")) | ||
| 134 | (sha256 | ||
| 135 | (base32 | ||
| 136 | "1khdbd5cmnn7qm6hcqg4md5wbq14fs6brrns8b3g18diqgqvpvpd")))) | ||
| 137 | (build-system gnu-build-system) | ||
| 138 | (arguments | ||
| 139 | (list #:configure-flags | ||
| 140 | #~(list (string-append "--with-netcdf=" | ||
| 141 | #$(this-package-input "netcdf"))))) | ||
| 142 | (inputs | ||
| 143 | (list netcdf)) | ||
| 144 | (native-inputs | ||
| 145 | (list pkg-config)) | ||
| 146 | (home-page "https://code.mpimet.mpg.de/projects/cdo") | ||
| 147 | (synopsis "Climate data operators") | ||
| 148 | (description "@acronym{CDO, Climate Data Operators} is a collection of command-line | ||
| 149 | operators to manipulate and analyse climate and NWP model data. Supported | ||
| 150 | data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more | ||
| 151 | than 600 operators available.") | ||
| 152 | (license license:bsd-3))) | ||
| 153 | |||
| 124 | (define-public memphis | 154 | (define-public memphis |
| 125 | (package | 155 | (package |
| 126 | (name "memphis") | 156 | (name "memphis") |
