forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#19516 from boegel/20240106172021_new_…
…pr_wrf-python1341 {geo}[foss/2023a] wrf-python v1.3.4.1, basemap v1.3.9
- Loading branch information
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
easybuild/easyconfigs/b/basemap/basemap-1.3.9-foss-2023a.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# The newer version require also the installation of basemap-data. | ||
# Conveniently, the tarball contains that too, so that is the one | ||
# being used here. | ||
# Based on basemap-1.2.2-foss-2020a-Python-3.8.2.eb | ||
# Author: J. Sassmannshausen (Imperial College London/UK) | ||
|
||
easyblock = 'PythonBundle' | ||
|
||
name = 'basemap' | ||
version = '1.3.9' | ||
|
||
homepage = 'https://matplotlib.org/basemap/' | ||
description = """The matplotlib basemap toolkit is a library for plotting | ||
2D data on maps in Python""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('matplotlib', '3.7.2'), | ||
('GEOS', '3.12.0'), | ||
('Pillow', '10.0.0'), | ||
('pyproj', '3.6.0'), | ||
] | ||
|
||
use_pip = True | ||
sanity_pip_check = True | ||
|
||
exts_list = [ | ||
('pyshp', '2.3.1', { | ||
'modulename': 'shapefile', | ||
'checksums': ['4caec82fd8dd096feba8217858068bacb2a3b5950f43c048c6dc32a3489d5af1'], | ||
}), | ||
('basemap_data', version, { | ||
'modulename': 'mpl_toolkits.basemap_data', | ||
'preinstallopts': "cd packages/%(name)s && GEOS_DIR=$EBROOTGEOS", | ||
'source_urls': ['https://github.com/matplotlib/basemap/archive/'], | ||
'sources': ['v%(version)s.tar.gz'], | ||
'checksums': ['44ae3764595778077d4bc40b0756c90f483b816927e82206e9f376e31a2dc533'], | ||
}), | ||
(name, version, { | ||
'modulename': 'mpl_toolkits.basemap', | ||
'preinstallopts': "cd packages/%(name)s && GEOS_DIR=$EBROOTGEOS", | ||
'source_urls': ['https://github.com/matplotlib/basemap/archive/'], | ||
'sources': ['v%(version)s.tar.gz'], | ||
'checksums': ['44ae3764595778077d4bc40b0756c90f483b816927e82206e9f376e31a2dc533'], | ||
}), | ||
] | ||
|
||
moduleclass = 'vis' |
36 changes: 36 additions & 0 deletions
36
easybuild/easyconfigs/w/wrf-python/wrf-python-1.3.4.1-foss-2023a.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'wrf-python' | ||
version = '1.3.4.1' | ||
|
||
homepage = 'https://wrf-python.readthedocs.io' | ||
description = """A collection of diagnostic and interpolation routines for use with output from | ||
the Weather Research and Forecasting (WRF-ARW) Model.""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
toolchainopts = {'pic': True} | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('netcdf4-python', '1.6.4'), | ||
('xarray', '2023.9.0'), | ||
('matplotlib', '3.7.2'), | ||
('Cartopy', '0.22.0'), | ||
('basemap', '1.3.9'), | ||
] | ||
|
||
use_pip = True | ||
|
||
exts_list = [ | ||
('wrapt', '1.16.0', { | ||
'checksums': ['5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d'], | ||
}), | ||
(name, version, { | ||
'modulename': 'wrf', | ||
'checksums': ['e349578da8c3f108b8169c19d2186e72d79f610561f2e11c59fbf6eda3f9a2e7'], | ||
}), | ||
] | ||
|
||
sanity_pip_check = True | ||
|
||
moduleclass = 'geo' |