https://github.com/ESMValGroup/ESMValTool
Tip revision: 787242faca50e5752fdacd0e311845fa674f9e97 authored by Valeriu Predoi on 23 March 2022, 16:32:37 UTC
test put
test put
Tip revision: 787242f
meta.yaml
# Conda build recipe
---
# Build command:
# conda build package -c conda-forge -c esmvalgroup
# Package version number
{% set version = "2.4.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.8
- iris>=3.0.2
- {{ 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:
- flake8<4
- 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"
- esmvaltool data --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.8
- 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.1,<2.4 # in esmvalgroup channel
- fiona
- gdal
- iris>=3.0.2
- jinja2
- joblib
- lime
- matplotlib>3.3.1,<3.4 # bug in 3.3.1, issue with nc-time-axis for >=3.4
- natsort
- nc-time-axis<1.3.1
- netCDF4
- numpy
- openpyxl
- pandas
- progressbar2
- pyproj>=2.1
- python>=3.8
- 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."