summaryrefslogtreecommitdiff
path: root/python-dea-tools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-dea-tools.spec')
-rw-r--r--python-dea-tools.spec160
1 files changed, 160 insertions, 0 deletions
diff --git a/python-dea-tools.spec b/python-dea-tools.spec
new file mode 100644
index 0000000..d51d480
--- /dev/null
+++ b/python-dea-tools.spec
@@ -0,0 +1,160 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dea-tools
+Version: 0.2.7
+Release: 1
+Summary: Functions and algorithms for analysing Digital Earth Australia data.
+License: Apache License 2.0
+URL: https://github.com/GeoscienceAustralia/dea-notebooks
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f8/da/65a13d5b636e50899cba894a0773812a8af3868b8d231155d1586299f879/dea-tools-0.2.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-ciso8601
+Requires: python3-pytz
+Requires: python3-requests
+Requires: python3-lxml
+Requires: python3-numpy
+Requires: python3-xarray
+Requires: python3-geopandas
+Requires: python3-datacube
+Requires: python3-tqdm
+Requires: python3-dask
+Requires: python3-rasterio
+Requires: python3-scikit-learn
+Requires: python3-rasterstats
+Requires: python3-geopy
+Requires: python3-pandas
+Requires: python3-scipy
+Requires: python3-GDAL
+Requires: python3-odc-ui
+Requires: python3-numexpr
+Requires: python3-matplotlib
+Requires: python3-folium
+Requires: python3-pyproj
+Requires: python3-branca
+Requires: python3-shapely
+Requires: python3-scikit-image
+Requires: python3-dateutil
+Requires: python3-OWSLib
+Requires: python3-boto3
+Requires: python3-IPython
+Requires: python3-ipywidgets
+Requires: python3-ipyleaflet
+
+%description
+Python functions and algorithms developed to assist in analysing Digital Earth Australia (DEA) data (e.g. loading data, plotting, spatial analysis, machine learning). This includes the following modules:
+**Loading data**
+- ``dea_tools.datahandling``: Loading and handling DEA data (e.g. combining multiple products, handling CRSs, pansharpening)
+**Plotting and transforming data**
+- ``dea_tools.plotting``: Plotting DEA data (e.g. RGB plots, animations, interactive maps)
+- ``dea_tools.bandindices.py``: Calculating remote sensing band indices (e.g. NDVI, NDWI)
+**Spatial and temporal analysis**
+- ``dea_tools.spatial``: Spatial analysis tools (e.g. rasterising, vectorising, contour extraction, image processing)
+- ``dea_tools.temporal``: Temporal analysis tools (e.g. phenology, temporal statistics, multi-dimensional regression)
+**Classification and segmentation**
+- ``dea_tools.classification.py``: Machine learning classification (e.g. training and applying machine learning models on satellite data)
+- ``dea_tools.segmentation.py``: Image segmentation tools (e.g. applying image segementation with RSGISLIB)
+**Parallel processing**
+- ``dea_tools.dask``: Parallel processing with Dask (e.g. creating Dask clusters for scalable analysis)
+**Domain-specific analysis**
+- ``dea_tools.land_cover``: Functions for plotting Digital Earth Australia Land Cover data.
+- ``dea_tools.coastal``: Coastal and intertidal analysis tools (e.g. tidal tagging, coastal change timeseries)
+- ``dea_tools.bom``: Loading Bureau of Meteorology water data service data (e.g. guage data, discharge data)
+- ``dea_tools.climate``: Retrieving and manipulating gridded climate data (e.g. ERA5)
+- ``dea_tools.waterbodies``: Loading and processing DEA Waterbodies data (e.g. finding and loading waterbody timeseries data)
+
+%package -n python3-dea-tools
+Summary: Functions and algorithms for analysing Digital Earth Australia data.
+Provides: python-dea-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dea-tools
+Python functions and algorithms developed to assist in analysing Digital Earth Australia (DEA) data (e.g. loading data, plotting, spatial analysis, machine learning). This includes the following modules:
+**Loading data**
+- ``dea_tools.datahandling``: Loading and handling DEA data (e.g. combining multiple products, handling CRSs, pansharpening)
+**Plotting and transforming data**
+- ``dea_tools.plotting``: Plotting DEA data (e.g. RGB plots, animations, interactive maps)
+- ``dea_tools.bandindices.py``: Calculating remote sensing band indices (e.g. NDVI, NDWI)
+**Spatial and temporal analysis**
+- ``dea_tools.spatial``: Spatial analysis tools (e.g. rasterising, vectorising, contour extraction, image processing)
+- ``dea_tools.temporal``: Temporal analysis tools (e.g. phenology, temporal statistics, multi-dimensional regression)
+**Classification and segmentation**
+- ``dea_tools.classification.py``: Machine learning classification (e.g. training and applying machine learning models on satellite data)
+- ``dea_tools.segmentation.py``: Image segmentation tools (e.g. applying image segementation with RSGISLIB)
+**Parallel processing**
+- ``dea_tools.dask``: Parallel processing with Dask (e.g. creating Dask clusters for scalable analysis)
+**Domain-specific analysis**
+- ``dea_tools.land_cover``: Functions for plotting Digital Earth Australia Land Cover data.
+- ``dea_tools.coastal``: Coastal and intertidal analysis tools (e.g. tidal tagging, coastal change timeseries)
+- ``dea_tools.bom``: Loading Bureau of Meteorology water data service data (e.g. guage data, discharge data)
+- ``dea_tools.climate``: Retrieving and manipulating gridded climate data (e.g. ERA5)
+- ``dea_tools.waterbodies``: Loading and processing DEA Waterbodies data (e.g. finding and loading waterbody timeseries data)
+
+%package help
+Summary: Development documents and examples for dea-tools
+Provides: python3-dea-tools-doc
+%description help
+Python functions and algorithms developed to assist in analysing Digital Earth Australia (DEA) data (e.g. loading data, plotting, spatial analysis, machine learning). This includes the following modules:
+**Loading data**
+- ``dea_tools.datahandling``: Loading and handling DEA data (e.g. combining multiple products, handling CRSs, pansharpening)
+**Plotting and transforming data**
+- ``dea_tools.plotting``: Plotting DEA data (e.g. RGB plots, animations, interactive maps)
+- ``dea_tools.bandindices.py``: Calculating remote sensing band indices (e.g. NDVI, NDWI)
+**Spatial and temporal analysis**
+- ``dea_tools.spatial``: Spatial analysis tools (e.g. rasterising, vectorising, contour extraction, image processing)
+- ``dea_tools.temporal``: Temporal analysis tools (e.g. phenology, temporal statistics, multi-dimensional regression)
+**Classification and segmentation**
+- ``dea_tools.classification.py``: Machine learning classification (e.g. training and applying machine learning models on satellite data)
+- ``dea_tools.segmentation.py``: Image segmentation tools (e.g. applying image segementation with RSGISLIB)
+**Parallel processing**
+- ``dea_tools.dask``: Parallel processing with Dask (e.g. creating Dask clusters for scalable analysis)
+**Domain-specific analysis**
+- ``dea_tools.land_cover``: Functions for plotting Digital Earth Australia Land Cover data.
+- ``dea_tools.coastal``: Coastal and intertidal analysis tools (e.g. tidal tagging, coastal change timeseries)
+- ``dea_tools.bom``: Loading Bureau of Meteorology water data service data (e.g. guage data, discharge data)
+- ``dea_tools.climate``: Retrieving and manipulating gridded climate data (e.g. ERA5)
+- ``dea_tools.waterbodies``: Loading and processing DEA Waterbodies data (e.g. finding and loading waterbody timeseries data)
+
+%prep
+%autosetup -n dea-tools-0.2.7
+
+%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-dea-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.7-1
+- Package Spec generated