From 0d18668414750b8782f39767fc8c17f4670bc44f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 07:27:10 +0000 Subject: automatic import of python-cloudnetpy --- .gitignore | 1 + python-cloudnetpy.spec | 320 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 322 insertions(+) create mode 100644 python-cloudnetpy.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c1c7dd5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cloudnetpy-1.46.5.tar.gz diff --git a/python-cloudnetpy.spec b/python-cloudnetpy.spec new file mode 100644 index 0000000..15788f6 --- /dev/null +++ b/python-cloudnetpy.spec @@ -0,0 +1,320 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cloudnetpy +Version: 1.46.5 +Release: 1 +Summary: Python package for Cloudnet processing +License: MIT License +URL: https://github.com/actris-cloudnet/cloudnetpy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/88/8d2bc00e52f1f8ed97e9658b9280171e54bc72e35a45c2518693f74b3e45/cloudnetpy-1.46.5.tar.gz +BuildArch: noarch + +Requires: python3-scipy +Requires: python3-netCDF4 +Requires: python3-matplotlib +Requires: python3-requests +Requires: python3-cloudnetpy-qc +Requires: python3-scikit-image +Requires: python3-rpgpy +Requires: python3-pre-commit +Requires: python3-voodoonet +Requires: python3-pytest +Requires: python3-pytest-flakefinder +Requires: python3-pylint +Requires: python3-mypy +Requires: python3-types-requests + +%description +# CloudnetPy + +[![CloudnetPy CI](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml/badge.svg)](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml) +[![Documentation Status](https://readthedocs.org/projects/cloudnetpy/badge/?version=latest)](https://cloudnetpy.readthedocs.io/en/latest/?badge=latest) +[![PyPI version](https://badge.fury.io/py/cloudnetpy.svg)](https://badge.fury.io/py/cloudnetpy) +[![DOI](https://zenodo.org/badge/233602651.svg)](https://zenodo.org/badge/latestdoi/233602651) +[![status](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7/status.svg)](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7) + +CloudnetPy is a Python software for producing vertical profiles of cloud properties from ground-based +remote sensing measurements. The Cloudnet processing combines cloud radar, optical lidar, microwave +radiometer and model data. Measurements and model data are brought into common grid and +classified as ice, liquid, aerosol, insects, and so on. +Then, geophysical products such as ice water content can be +retrieved in the further processing steps. See [Illingworth et. al. (2007)](https://doi.org/10.1175/BAMS-88-6-883) for more details about the concept. + +CloudnetPy is a rewritten version of the original Cloudnet Matlab code. CloudnetPy features several revised methods, extensive documentation, and more. + +* CloudnetPy documentation: https://cloudnetpy.readthedocs.io/en/latest/ +* Cloudnet data portal: https://cloudnet.fmi.fi + +![CloudnetPy example output](https://raw.githubusercontent.com/actris-cloudnet/cloudnetpy/main/docs/source/_static/20190423_mace-head_classification.png) + +## Installation + +### From PyPI +``` +python3 -m pip install cloudnetpy +``` + +### From the source +```sh +git clone https://github.com/actris-cloudnet/cloudnetpy +cd cloudnetpy/ +python3 -m venv venv +source venv/bin/activate +python3 -m pip install --upgrade pip +python3 -m pip install . +``` + +## Citing +If you wish to acknowledge CloudnetPy in your publication, please cite: +>Tukiainen et al., (2020). CloudnetPy: A Python package for processing cloud remote sensing data. Journal of Open Source Software, 5(53), 2123, https://doi.org/10.21105/joss.02123 + +## Contributing + +We encourage you to contribute to CloudnetPy! Please check out the [contribution guidelines](CONTRIBUTING.md) about how to proceed. + +## Development + +Follow the installation instructions from the source above but install with the test-dependencies and [pre-commit](https://pre-commit.com/) hooks: +```sh +python3 -m pip install -e .[test,dev] +pre-commit install +``` + +Run unit tests: +```sh +pytest --flake-finder --flake-runs=2 +``` + +Run end-to-end tests: +```sh +python3 tests/e2e_test.py +``` +```sh +for f in cloudnetpy/model_evaluation/tests/e2e/*/main.py; do $f; done +``` + +Force `pre-commit` checks (`pylint`, `mypy`, etc.) for all files: +```sh +pre-commit run --all +``` + +## License + +MIT + + + + +%package -n python3-cloudnetpy +Summary: Python package for Cloudnet processing +Provides: python-cloudnetpy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cloudnetpy +# CloudnetPy + +[![CloudnetPy CI](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml/badge.svg)](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml) +[![Documentation Status](https://readthedocs.org/projects/cloudnetpy/badge/?version=latest)](https://cloudnetpy.readthedocs.io/en/latest/?badge=latest) +[![PyPI version](https://badge.fury.io/py/cloudnetpy.svg)](https://badge.fury.io/py/cloudnetpy) +[![DOI](https://zenodo.org/badge/233602651.svg)](https://zenodo.org/badge/latestdoi/233602651) +[![status](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7/status.svg)](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7) + +CloudnetPy is a Python software for producing vertical profiles of cloud properties from ground-based +remote sensing measurements. The Cloudnet processing combines cloud radar, optical lidar, microwave +radiometer and model data. Measurements and model data are brought into common grid and +classified as ice, liquid, aerosol, insects, and so on. +Then, geophysical products such as ice water content can be +retrieved in the further processing steps. See [Illingworth et. al. (2007)](https://doi.org/10.1175/BAMS-88-6-883) for more details about the concept. + +CloudnetPy is a rewritten version of the original Cloudnet Matlab code. CloudnetPy features several revised methods, extensive documentation, and more. + +* CloudnetPy documentation: https://cloudnetpy.readthedocs.io/en/latest/ +* Cloudnet data portal: https://cloudnet.fmi.fi + +![CloudnetPy example output](https://raw.githubusercontent.com/actris-cloudnet/cloudnetpy/main/docs/source/_static/20190423_mace-head_classification.png) + +## Installation + +### From PyPI +``` +python3 -m pip install cloudnetpy +``` + +### From the source +```sh +git clone https://github.com/actris-cloudnet/cloudnetpy +cd cloudnetpy/ +python3 -m venv venv +source venv/bin/activate +python3 -m pip install --upgrade pip +python3 -m pip install . +``` + +## Citing +If you wish to acknowledge CloudnetPy in your publication, please cite: +>Tukiainen et al., (2020). CloudnetPy: A Python package for processing cloud remote sensing data. Journal of Open Source Software, 5(53), 2123, https://doi.org/10.21105/joss.02123 + +## Contributing + +We encourage you to contribute to CloudnetPy! Please check out the [contribution guidelines](CONTRIBUTING.md) about how to proceed. + +## Development + +Follow the installation instructions from the source above but install with the test-dependencies and [pre-commit](https://pre-commit.com/) hooks: +```sh +python3 -m pip install -e .[test,dev] +pre-commit install +``` + +Run unit tests: +```sh +pytest --flake-finder --flake-runs=2 +``` + +Run end-to-end tests: +```sh +python3 tests/e2e_test.py +``` +```sh +for f in cloudnetpy/model_evaluation/tests/e2e/*/main.py; do $f; done +``` + +Force `pre-commit` checks (`pylint`, `mypy`, etc.) for all files: +```sh +pre-commit run --all +``` + +## License + +MIT + + + + +%package help +Summary: Development documents and examples for cloudnetpy +Provides: python3-cloudnetpy-doc +%description help +# CloudnetPy + +[![CloudnetPy CI](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml/badge.svg)](https://github.com/actris-cloudnet/cloudnetpy/actions/workflows/test.yml) +[![Documentation Status](https://readthedocs.org/projects/cloudnetpy/badge/?version=latest)](https://cloudnetpy.readthedocs.io/en/latest/?badge=latest) +[![PyPI version](https://badge.fury.io/py/cloudnetpy.svg)](https://badge.fury.io/py/cloudnetpy) +[![DOI](https://zenodo.org/badge/233602651.svg)](https://zenodo.org/badge/latestdoi/233602651) +[![status](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7/status.svg)](https://joss.theoj.org/papers/959971f196f617dddc0e7d8333ff22b7) + +CloudnetPy is a Python software for producing vertical profiles of cloud properties from ground-based +remote sensing measurements. The Cloudnet processing combines cloud radar, optical lidar, microwave +radiometer and model data. Measurements and model data are brought into common grid and +classified as ice, liquid, aerosol, insects, and so on. +Then, geophysical products such as ice water content can be +retrieved in the further processing steps. See [Illingworth et. al. (2007)](https://doi.org/10.1175/BAMS-88-6-883) for more details about the concept. + +CloudnetPy is a rewritten version of the original Cloudnet Matlab code. CloudnetPy features several revised methods, extensive documentation, and more. + +* CloudnetPy documentation: https://cloudnetpy.readthedocs.io/en/latest/ +* Cloudnet data portal: https://cloudnet.fmi.fi + +![CloudnetPy example output](https://raw.githubusercontent.com/actris-cloudnet/cloudnetpy/main/docs/source/_static/20190423_mace-head_classification.png) + +## Installation + +### From PyPI +``` +python3 -m pip install cloudnetpy +``` + +### From the source +```sh +git clone https://github.com/actris-cloudnet/cloudnetpy +cd cloudnetpy/ +python3 -m venv venv +source venv/bin/activate +python3 -m pip install --upgrade pip +python3 -m pip install . +``` + +## Citing +If you wish to acknowledge CloudnetPy in your publication, please cite: +>Tukiainen et al., (2020). CloudnetPy: A Python package for processing cloud remote sensing data. Journal of Open Source Software, 5(53), 2123, https://doi.org/10.21105/joss.02123 + +## Contributing + +We encourage you to contribute to CloudnetPy! Please check out the [contribution guidelines](CONTRIBUTING.md) about how to proceed. + +## Development + +Follow the installation instructions from the source above but install with the test-dependencies and [pre-commit](https://pre-commit.com/) hooks: +```sh +python3 -m pip install -e .[test,dev] +pre-commit install +``` + +Run unit tests: +```sh +pytest --flake-finder --flake-runs=2 +``` + +Run end-to-end tests: +```sh +python3 tests/e2e_test.py +``` +```sh +for f in cloudnetpy/model_evaluation/tests/e2e/*/main.py; do $f; done +``` + +Force `pre-commit` checks (`pylint`, `mypy`, etc.) for all files: +```sh +pre-commit run --all +``` + +## License + +MIT + + + + +%prep +%autosetup -n cloudnetpy-1.46.5 + +%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-cloudnetpy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 1.46.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..7727d2a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +829c0545e156eadf9e5338cdbecae5bc cloudnetpy-1.46.5.tar.gz -- cgit v1.2.3