diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:43:16 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:43:16 +0000 |
| commit | a875a5b3a2ebeebea45566bb140b49ddb12a23c4 (patch) | |
| tree | 25402b1ed37b9212ad3aa00947c416967e70c8e9 | |
| parent | 3c1b72eb70809e6681d4607dcc2f4c84925768f4 (diff) | |
automatic import of python-esmvalcore
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-esmvalcore.spec | 339 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 341 insertions, 0 deletions
@@ -0,0 +1 @@ +/ESMValCore-2.8.0.tar.gz diff --git a/python-esmvalcore.spec b/python-esmvalcore.spec new file mode 100644 index 0000000..f044564 --- /dev/null +++ b/python-esmvalcore.spec @@ -0,0 +1,339 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ESMValCore +Version: 2.8.0 +Release: 1 +Summary: ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts. +License: Apache License, Version 2.0 +URL: https://www.esmvaltool.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/06/01/57a7be535bc86fbf713fca79feae980d2ed1ac010498a1c3eb77811f9178/ESMValCore-2.8.0.tar.gz +BuildArch: noarch + +Requires: python3-cartopy +Requires: python3-cf-units +Requires: python3-dask[array] +Requires: python3-esgf-pyclient +Requires: python3-esmf-regrid +Requires: python3-esmpy +Requires: python3-filelock +Requires: python3-fiona +Requires: python3-fire +Requires: python3-geopy +Requires: python3-humanfriendly +Requires: python3-isodate +Requires: python3-jinja2 +Requires: python3-nc-time-axis +Requires: python3-nested-lookup +Requires: python3-netCDF4 +Requires: python3-numpy +Requires: python3-packaging +Requires: python3-pandas +Requires: python3-pillow +Requires: python3-prov +Requires: python3-psutil +Requires: python3-py-cordex +Requires: python3-pybtex +Requires: python3-pyyaml +Requires: python3-requests +Requires: python3-scipy +Requires: python3-scitools-iris +Requires: python3-shapely[vectorized] +Requires: python3-stratify +Requires: python3-yamale +Requires: python3-importlib-resources +Requires: python3-codespell +Requires: python3-docformatter +Requires: python3-isort +Requires: python3-pre-commit +Requires: python3-prospector[with_mypy,with_pyroma] +Requires: python3-vprof +Requires: python3-yamllint +Requires: python3-yapf +Requires: python3-flake8 +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-env +Requires: python3-pytest-html +Requires: python3-pytest-metadata +Requires: python3-pytest-mypy +Requires: python3-pytest-mock +Requires: python3-pytest-xdist +Requires: python3-ESMValTool-sample-data +Requires: python3-mypy +Requires: python3-types-requests +Requires: python3-types-pkg-resources +Requires: python3-types-PyYAML +Requires: python3-autodocsumm +Requires: python3-ipython +Requires: python3-nbsphinx +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-autodocsumm +Requires: python3-ipython +Requires: python3-nbsphinx +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-flake8 +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-env +Requires: python3-pytest-html +Requires: python3-pytest-metadata +Requires: python3-pytest-mypy +Requires: python3-pytest-mock +Requires: python3-pytest-xdist +Requires: python3-ESMValTool-sample-data +Requires: python3-mypy +Requires: python3-types-requests +Requires: python3-types-pkg-resources +Requires: python3-types-PyYAML + +%description +# ESMValCore package + +[](https://esmvaltool.readthedocs.io/en/latest/?badge=latest) +[](https://doi.org/10.5281/zenodo.3387139) +[](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main) +[](https://codecov.io/gh/ESMValGroup/ESMValCore) +[](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&utm_medium=referral&utm_content=ESMValGroup/ESMValCore&utm_campaign=Badge_Grade) +[](https://hub.docker.com/r/esmvalgroup/esmvalcore/) +[](https://anaconda.org/conda-forge/esmvalcore) +[](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml) +[](https://meercode.io) + + + +ESMValCore: core functionalities for the ESMValTool, a community diagnostic +and performance metrics tool for routine evaluation of Earth System Models +in the Climate Model Intercomparison Project (CMIP). + +# Getting started + +Please have a look at the +[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html) +to get started. + +## Using the ESMValCore package to run recipes + +The ESMValCore package provides the `esmvaltool` command, which can be used to run +[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html) +for working with CMIP-like data. +A large collection of ready to use +[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html) +is provided by the +[ESMValTool](https://github.com/ESMValGroup/ESMValTool) +package. + +## Using ESMValCore as a Python library + +The ESMValCore package provides various functions for: + +- Finding data in a directory structure typically used for CMIP data. + +- Reading CMIP/CMOR tables and using those to check model and observational data. + +- ESMValTool preprocessor functions based on + [iris](https://scitools-iris.readthedocs.io) for e.g. regridding, + vertical interpolation, statistics, correcting (meta)data errors, extracting + a time range, etcetera. + +read all about it in the +[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html). + +## Getting help + +The easiest way to get help if you cannot find the answer in the documentation +on [readthedocs](https://docs.esmvaltool.org), is to open an +[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues). + +## Contributing + +Contributions are very welcome, please read our +[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html) +to get started. + + +%package -n python3-ESMValCore +Summary: ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts. +Provides: python-ESMValCore +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ESMValCore +# ESMValCore package + +[](https://esmvaltool.readthedocs.io/en/latest/?badge=latest) +[](https://doi.org/10.5281/zenodo.3387139) +[](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main) +[](https://codecov.io/gh/ESMValGroup/ESMValCore) +[](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&utm_medium=referral&utm_content=ESMValGroup/ESMValCore&utm_campaign=Badge_Grade) +[](https://hub.docker.com/r/esmvalgroup/esmvalcore/) +[](https://anaconda.org/conda-forge/esmvalcore) +[](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml) +[](https://meercode.io) + + + +ESMValCore: core functionalities for the ESMValTool, a community diagnostic +and performance metrics tool for routine evaluation of Earth System Models +in the Climate Model Intercomparison Project (CMIP). + +# Getting started + +Please have a look at the +[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html) +to get started. + +## Using the ESMValCore package to run recipes + +The ESMValCore package provides the `esmvaltool` command, which can be used to run +[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html) +for working with CMIP-like data. +A large collection of ready to use +[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html) +is provided by the +[ESMValTool](https://github.com/ESMValGroup/ESMValTool) +package. + +## Using ESMValCore as a Python library + +The ESMValCore package provides various functions for: + +- Finding data in a directory structure typically used for CMIP data. + +- Reading CMIP/CMOR tables and using those to check model and observational data. + +- ESMValTool preprocessor functions based on + [iris](https://scitools-iris.readthedocs.io) for e.g. regridding, + vertical interpolation, statistics, correcting (meta)data errors, extracting + a time range, etcetera. + +read all about it in the +[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html). + +## Getting help + +The easiest way to get help if you cannot find the answer in the documentation +on [readthedocs](https://docs.esmvaltool.org), is to open an +[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues). + +## Contributing + +Contributions are very welcome, please read our +[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html) +to get started. + + +%package help +Summary: Development documents and examples for ESMValCore +Provides: python3-ESMValCore-doc +%description help +# ESMValCore package + +[](https://esmvaltool.readthedocs.io/en/latest/?badge=latest) +[](https://doi.org/10.5281/zenodo.3387139) +[](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main) +[](https://codecov.io/gh/ESMValGroup/ESMValCore) +[](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&utm_medium=referral&utm_content=ESMValGroup/ESMValCore&utm_campaign=Badge_Grade) +[](https://hub.docker.com/r/esmvalgroup/esmvalcore/) +[](https://anaconda.org/conda-forge/esmvalcore) +[](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml) +[](https://meercode.io) + + + +ESMValCore: core functionalities for the ESMValTool, a community diagnostic +and performance metrics tool for routine evaluation of Earth System Models +in the Climate Model Intercomparison Project (CMIP). + +# Getting started + +Please have a look at the +[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html) +to get started. + +## Using the ESMValCore package to run recipes + +The ESMValCore package provides the `esmvaltool` command, which can be used to run +[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html) +for working with CMIP-like data. +A large collection of ready to use +[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html) +is provided by the +[ESMValTool](https://github.com/ESMValGroup/ESMValTool) +package. + +## Using ESMValCore as a Python library + +The ESMValCore package provides various functions for: + +- Finding data in a directory structure typically used for CMIP data. + +- Reading CMIP/CMOR tables and using those to check model and observational data. + +- ESMValTool preprocessor functions based on + [iris](https://scitools-iris.readthedocs.io) for e.g. regridding, + vertical interpolation, statistics, correcting (meta)data errors, extracting + a time range, etcetera. + +read all about it in the +[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html). + +## Getting help + +The easiest way to get help if you cannot find the answer in the documentation +on [readthedocs](https://docs.esmvaltool.org), is to open an +[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues). + +## Contributing + +Contributions are very welcome, please read our +[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html) +to get started. + + +%prep +%autosetup -n ESMValCore-2.8.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-ESMValCore -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.0-1 +- Package Spec generated @@ -0,0 +1 @@ +0826d63196bf70c3e98aad69465805fc ESMValCore-2.8.0.tar.gz |
