ecCodes-2.19.1-foss-2020b-Python-3.8.6.eb 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. easyblock = 'CMakeMake'
  2. name = 'ecCodes'
  3. version = '2.19.1'
  4. versionsuffix = '-Python-3.8.6'
  5. homepage = 'https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home'
  6. description = """ecCodes is a package developed by ECMWF which provides an application programming interface and
  7. a set of tools for decoding and encoding messages in the following formats: WMO FM-92 GRIB edition 1 and edition 2,
  8. WMO FM-94 BUFR edition 3 and edition 4, WMO GTS abbreviated header (only decoding)."""
  9. toolchain = {'name': 'foss', 'version': '2020b'}
  10. source_urls = ['https://confluence.ecmwf.int/download/attachments/45757960/']
  11. sources = ['eccodes-%(version)s-Source.tar.gz']
  12. builddependencies = [('CMake', '3.18.4')]
  13. dependencies = [
  14. ('netCDF', '4.7.4'),
  15. ('JasPer', '2.0.14'),
  16. ('Python', '3.8.6'),
  17. ('SciPy-bundle', '2020.11'),
  18. ]
  19. separate_build_dir = True
  20. configopts = "-DENABLE_NETCDF=ON -DENABLE_JPG=ON -DENABLE_PYTHON=ON"
  21. sanity_check_paths = {
  22. 'files': ['bin/%s' % x for x in ['bufr_copy', 'bufr_dump', 'bufr_filter', 'bufr_ls',
  23. 'codes_count', 'codes_info', 'codes_split_file',
  24. 'grib_copy', 'grib_dump', 'grib_filter', 'grib_ls']],
  25. 'dirs': [],
  26. }
  27. moduleclass = 'tools'