ESMValTool-1.1.0-intel-2018b-Python-2.7.15.eb 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. easyblock = 'Binary'
  2. name = 'ESMValTool'
  3. version = '1.1.0'
  4. versionsuffix = '-Python-%(pyver)s'
  5. hdf5ver = '1.8.19'
  6. homepage = 'https://www.esmvaltool.org/'
  7. description = """The Earth System Model eValuation Tool (ESMValTool)
  8. is a community diagnostics and performance metrics tool
  9. for the evaluation of Earth System Models (ESMs) that
  10. allows for routine comparison of single or multiple models,
  11. either against predecessor versions or against observations."""
  12. toolchain = {'name': 'intel', 'version': '2017b'}
  13. toolchainopts = {'pic': True}
  14. source_urls = ['https://github.com/ESMValGroup/ESMValTool/archive/']
  15. sources = [{'filename': SOURCE_TAR_GZ, 'download_filename': 'v%(version)s.tar.gz'}]
  16. checksums = ['457d5a7e72165a31532b335c42b925abaaa48e959d32b123463df77318c73c36']
  17. dependencies = [
  18. ('Python', '2.7.14'),
  19. ('NCL', '6.4.0'),
  20. ('R', '3.4.3', '-X11-20171023-HDF5-%s' % hdf5ver),
  21. ('CDO', '1.9.1'),
  22. ('GEOS', '3.6.2', versionsuffix),
  23. ('libjpeg-turbo', '1.5.2'),
  24. ('libpng', '1.6.32'),
  25. ('zlib', '1.2.11'),
  26. ('LibTIFF', '4.0.8'),
  27. ('freetype', '2.8'),
  28. ('PROJ', '4.9.3'),
  29. ('netCDF', '4.4.1.1', '-HDF5-%s' % hdf5ver),
  30. ('GDAL', '2.2.2', '-Python-%%(pyver)s-HDF5-%s' % hdf5ver),
  31. ('libmo_unpack', '3.1.2'),
  32. ('ecCodes', '2.7.3', versionsuffix),
  33. ]
  34. exts_defaultclass = 'PythonPackage'
  35. exts_default_options = {
  36. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  37. }
  38. # exts_filter =
  39. # ("python -c 'import %(ext_name)s'", '')
  40. # ("R -q --no-save", "library(%(ext_name)s)"),
  41. exts_classmap = {'ncdf4': 'RPackage'}
  42. exts_list = [
  43. # Python deps, order is important!
  44. ('olefile', '0.45.1', {
  45. 'source_tmpl': '%(name)s-%(version)s.zip',
  46. 'source_urls': ['https://pypi.python.org/packages/source/o/olefile/'],
  47. 'checksums': ['2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385'],
  48. }),
  49. ('Pillow', '4.3.0', {
  50. 'modulename': 'PIL',
  51. 'source_urls': ['https://pypi.python.org/packages/source/p/Pillow/'],
  52. 'checksums': ['a97c715d44efd5b4aa8d739b8fad88b93ed79f1b33fc2822d5802043f3b1b527'],
  53. }),
  54. ('pyproj', '1.9.5.1', {
  55. 'source_urls': ['https://pypi.python.org/packages/source/p/pyproj/'],
  56. 'checksums': ['53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8'],
  57. }),
  58. ('pyshp', '1.2.12', {
  59. 'modulename': 'shapefile',
  60. 'source_urls': ['https://pypi.python.org/packages/source/p/pyshp/'],
  61. 'checksums': ['8dcd65e0aa2aa2951527ddb7339ea6e69023543d8a20a73fc51e2829b9ed6179'],
  62. }),
  63. ('chardet', '3.0.4', {
  64. 'source_urls': ['https://pypi.python.org/packages/source/c/chardet/'],
  65. 'checksums': ['84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae'],
  66. }),
  67. ('urllib3', '1.22', {
  68. 'source_urls': ['https://pypi.python.org/packages/source/u/urllib3/'],
  69. 'checksums': ['cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f'],
  70. }),
  71. ('certifi', '2018.4.16', {
  72. 'source_urls': ['https://pypi.python.org/packages/source/c/certifi/'],
  73. 'checksums': ['13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7'],
  74. }),
  75. ('requests', '2.18.4', {
  76. 'source_urls': ['https://pypi.python.org/packages/source/r/requests/'],
  77. 'checksums': ['9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e'],
  78. }),
  79. ('OWSLib', '0.16.0', {
  80. 'source_urls': ['https://pypi.python.org/packages/source/o/OWSLib/'],
  81. 'checksums': ['ec95a5e93c145a5d84b0074b9ea27570943486552a669151140debf08a100554'],
  82. }),
  83. ('basemap', '1.1.0', {
  84. 'modulename': 'mpl_toolkits.basemap',
  85. 'patches': ['basemap-1.1.0_GEOS.patch'],
  86. 'source_tmpl': 'v%(version)s.tar.gz',
  87. 'source_urls': ['https://github.com/matplotlib/basemap/archive'],
  88. 'checksums': [
  89. '6acdc3a08bfcebf0a1b52a05d73d51b7aa5e7240fedfa95537c92d16f2ef8778', # v1.1.0.tar.gz
  90. '7988beb0c591d7a42e470e0dea360ebbd29a902d0a2f75bb719271ba0710fdd8', # basemap-1.1.0_GEOS.patch
  91. ],
  92. }),
  93. ('netCDF4', '1.3.1', {
  94. 'modulename': 'netCDF4',
  95. 'source_urls': ['https://pypi.python.org/packages/source/n/netCDF4/'],
  96. 'checksums': ['570ea59992aa6d98a9b672c71161d11ba5683f787da53446086077470a869957'],
  97. }),
  98. ('geoval', '0.1.5', {
  99. 'source_urls': ['https://pypi.python.org/packages/source/g/geoval/'],
  100. 'checksums': ['7da4a1879f78bb7aac2d41b5c1ee360ff74087bf857c81c532deb8cc31feb36e'],
  101. }),
  102. ('cdo', '1.3.6', {
  103. 'source_urls': ['https://pypi.python.org/packages/source/c/cdo/'],
  104. 'checksums': ['b167efbbac7d0a6cbf74f5d211255705c73245f7c2590b6d9eb634347d8b2c1f'],
  105. }),
  106. ('Shapely', '1.6.4.post1', {
  107. 'source_urls': ['https://pypi.python.org/packages/source/s/Shapely/'],
  108. 'checksums': ['30df7572d311514802df8dc0e229d1660bc4cbdcf027a8281e79c5fc2fcf02f2'],
  109. }),
  110. ('Cartopy', '0.16.0', {
  111. 'source_urls': ['https://pypi.python.org/packages/source/c/Cartopy/'],
  112. 'checksums': ['f23dffa101f43dd91e866a49ebb5f5048be2a24ab8a921a5c07edabde746d9a4'],
  113. }),
  114. ('dask', '0.17.4', {
  115. 'source_urls': ['https://pypi.python.org/packages/source/d/dask/'],
  116. 'checksums': ['c111475a3d1f8cba41c8094e1fb1831c65015390dcef0308042a11a9606a2f6d'],
  117. }),
  118. ('PyKE', '1.1.1', {
  119. 'source_tmpl': 'pyke-1.1.1.zip',
  120. 'source_urls': ['http://download.sourceforge.net/pyke'],
  121. 'checksums': ['b0b294f435c6e6d2d4a80badf57d92cb66814dfe21e644a521901209e6a3f8ae'],
  122. }),
  123. ('cf_units', '1.2.0', {
  124. 'source_urls': ['https://pypi.python.org/packages/source/c/cf_units/'],
  125. 'checksums': ['abdd2a0937b958322f7ff7ec6866e80f08603c60aa06cef5766b6512c750028a'],
  126. }),
  127. ('pyugrid', '0.3.1', {
  128. 'source_urls': ['https://pypi.python.org/packages/source/p/pyugrid/'],
  129. 'checksums': ['eddadc1e88c0e801f780b1e6f636fbfc00e3d14cdab82b43300fde0918310053'],
  130. }),
  131. ('mo_pack', '0.2.0', {
  132. 'source_tmpl': 'v%(version)s.tar.gz',
  133. 'source_urls': ['https://github.com/SciTools/mo_pack/archive/'],
  134. 'checksums': ['4aa70e1f846b666670843bc2514435dedf7393203e88abaf74d48f8f2717a726'],
  135. }),
  136. ('cycler', '0.10.0', {
  137. 'source_urls': ['https://pypi.python.org/packages/source/c/cycler/'],
  138. 'checksums': ['cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8'],
  139. }),
  140. ('singledispatch', '3.4.0.3', {
  141. 'source_urls': ['https://pypi.python.org/packages/source/s/singledispatch/'],
  142. 'checksums': ['5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c'],
  143. }),
  144. ('backports_abc', '0.5', {
  145. 'source_urls': ['https://pypi.python.org/packages/source/b/backports_abc/'],
  146. 'checksums': ['033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde'],
  147. }),
  148. ('tornado', '4.5.3', {
  149. 'source_urls': ['https://pypi.python.org/packages/source/t/tornado/'],
  150. 'checksums': ['6d14e47eab0e15799cf3cdcc86b0b98279da68522caace2bd7ce644287685f0a'],
  151. }),
  152. ('matplotlib', '1.5.3', {
  153. 'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib/'],
  154. 'checksums': ['a0a5dc39f785014f2088fed2c6d2d129f0444f71afbb9c44f7bdf1b14d86ebbc'],
  155. }),
  156. ('toolz', '0.9.0', {
  157. 'source_urls': ['https://pypi.python.org/packages/source/t/toolz/'],
  158. 'checksums': ['929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9'],
  159. }),
  160. ('scitools-iris', '2.0.0', {
  161. 'modulename': 'iris',
  162. 'source_tmpl': 'v%(version)s.tar.gz',
  163. 'source_urls': ['https://github.com/SciTools/iris/archive/'],
  164. 'checksums': ['8605ab92c67d622e83fff6d7169fe154d9f8610edd8463b697b574884c158ba2'],
  165. }),
  166. ('iris-grib', '0.12.0', {
  167. 'modulename': 'iris_grib',
  168. 'source_tmpl': 'v%(version)s.tar.gz',
  169. 'source_urls': ['https://github.com/SciTools/iris-grib/archive/'],
  170. 'checksums': ['c2e92d25d8bfd2ddff22ae47c4532c884678bac6ea0d935367eced051ae08bb3'],
  171. }),
  172. ('patsy', '0.5.0', {
  173. 'source_urls': ['https://pypi.python.org/packages/source/p/patsy/'],
  174. 'checksums': ['e05f38d5c38c8d216f0cc2b765b1069b433c92d628b954fb2fee68d13e42883b'],
  175. }),
  176. ('statsmodels', '0.9.0', {
  177. 'source_urls': ['https://pypi.python.org/packages/source/s/statsmodels/'],
  178. 'checksums': ['6461f93a842c649922c2c9a9bc9d9c4834110b89de8c4af196a791ab8f42ba3b'],
  179. }),
  180. ('cftime', '1.0.0', {
  181. 'source_urls': ['https://pypi.python.org/packages/source/c/cftime/'],
  182. 'checksums': ['f62fe79ed2ad38f4211477e59f6f045c91278351f4ce7578e33ddf52fb121ea8'],
  183. }),
  184. ('nc-time-axis', '1.1.0', {
  185. 'modulename': 'nc_time_axis',
  186. 'source_urls': ['https://pypi.python.org/packages/source/n/nc-time-axis/'],
  187. 'checksums': ['ea9d4f7f9e9189c96f7d320235ac6c4be7f63dc5aa256b3ee5d5cca5845e6e26'],
  188. }),
  189. # R extension
  190. ('ncdf4', '1.16', {
  191. 'source_tmpl': '%(name)s_%(version)s.tar.gz',
  192. 'source_urls': [
  193. 'http://cran.r-project.org/src/contrib/Archive/ncdf4',
  194. 'http://cran.r-project.org/src/contrib/',
  195. 'http://cran.freestatistics.org/src/contrib',
  196. ],
  197. 'checksums': ['edd5731a805bbece3a8f6132c87c356deafc272351e1dd07256ca00574949253'],
  198. }),
  199. ]
  200. modextrapaths = {
  201. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  202. 'R_LIBS': '',
  203. }
  204. modloadmsg = (
  205. "To install ESMValTool in your directory execute: "
  206. "tar zxf $EBROOTESMVALTOOL/ESMValTool-%(version)s.tar.gz\n"
  207. )
  208. moduleclass = 'geo'