https://github.com/ESMValGroup/ESMValTool
Tip revision: 99e419d4e5f1cac9c0e656f2447e8aacde1683a9 authored by Eunice Lo on 05 August 2021, 16:33:18 UTC
cmorize added
cmorize added
Tip revision: 99e419d
meta.yaml
# Conda build recipe
---
# Build command:
# conda build package -c conda-forge -c esmvalgroup
# Package version number
{% set version = "2.3.0" %}
package:
name: esmvaltool
version: {{ version }}
source:
# Use these two lines to build a release:
# git_rev: v{{ version }}
# git_url: https://github.com/ESMValGroup/ESMValTool.git
# Use this line instead of the above to test building without a release:
path: ..
build:
# Increment the build number when building a new conda package of the same
# esmvaltool version, reset to 0 when building a new version.
number: 0
noarch: python
requirements:
run:
- python>=3.7
- iris>=3.0.2,<3.0.4 # iris=3.0.4 dropped support for Python 3.6 but we haven't just yet
- {{ pin_subpackage('esmvaltool-julia', exact=True) }}
- {{ pin_subpackage('esmvaltool-ncl', exact=True) }}
- {{ pin_subpackage('esmvaltool-python', exact=True) }}
- {{ pin_subpackage('esmvaltool-r', exact=True) }}
test:
source_files:
- tests
- setup.cfg
requires:
- pytest>=3.9,!=6.0.0rc1,!=6.0.0
- pytest-cov
- pytest-env
- pytest-flake8
- pytest-html!=2.1.0
- pytest-metadata>=1.5.1
- pytest-xdist
imports:
- esmvaltool
commands:
- pytest -n 2 --ignore="run_test.py" --ignore="tests/unit/test_docs.py"
- cmorize_obs --help
- nclcodestyle --help
- esmvaltool colortables --help
- test_recipe --help
- ncl -V
- cdo -V
outputs:
- name: esmvaltool-python
build:
noarch: python
script: install.sh
requirements:
build:
- git
- python>=3.7
- setuptools_scm
run:
- cartopy>=0.18
- cdo>=1.9.7
- eccodes!=2.19.0 # cdo dependency; something messed up with libeccodes.so
- cdsapi
- cf-units
- cftime
- cmocean
- dask>=2.12
- ecmwf-api-client # in esmvalgroup channel
- eofs
- esmpy
- esmvalcore>=2.3.0,<2.4 # in esmvalgroup channel
- fiona
- gdal
- iris>=3.0.2,<3.0.4 # iris=3.0.4 dropped support for Python 3.6 but we haven't just yet
- jinja2
- joblib
- lime
- matplotlib>3.3.1,<3.4 # bug in 3.3.1, issue with nc-time-axis for >=3.4
- mpich<3.4 # issues with 3.4.1 and 3.4.2 that install external_0 build
- natsort
- nc-time-axis<1.3.1
- netCDF4
- numpy
- pandas
- pyproj>=2.1
- python>=3.7
- python-cdo
- pyyaml
- ruamel.yaml
- rasterio # replaces pynio
- scikit-image
- scikit-learn
- seaborn
- seawater
- shapely
- xarray>=0.12.0
- xesmf
- xgboost
- xlsxwriter
- name: esmvaltool-julia
build:
noarch: generic
post-link: install-julia-deps
requirements:
run:
- esmvaltool-python
- name: esmvaltool-ncl
build:
noarch: generic
requirements:
run:
- cdo>=1.9.7
- esmvaltool-python
- imagemagick
- ncl>=6.6
- nco
- name: esmvaltool-r
build:
noarch: generic
post-link: install-r-deps
requirements:
run:
- cdo>=1.9.7
- compilers
- esmvaltool-python
- nco
- r-base>=3.5
about:
home: https://www.esmvaltool.org
license: Apache License, Version 2.0
license_file: LICENSE
summary: "A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP."
description: "A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP."