Skip to main content

Functions and algorithms for analysing Digital Earth Australia data.

Project 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)

Installation

Install the package from the source on any system with pip:

pip install dea-tools

To work with this module on the DEA Sandbox or National Computational Infrastructure environments without installing it, you can add the Tools directory to the system path from within the dea-notebooks repository:

import sys
sys.path.insert(1, '../Tools/')
import dea_tools.datahandling  # or some other submodule

You can also pip install the module directly from the local Tools directory. To do this on the DEA Sandbox, run pip from the terminal:

pip install -e Tools/

Importing functions in Python

To use functions from dea-tools, import them using:

from dea_tools.datahandling import load_ard
from dea_tools.plotting import rgb

Citing DEA Tools

If you use any of the notebooks, code or tools in this repository in your work, please reference them using the following citation:

Krause, C., Dunn, B., Bishop-Taylor, R., Adams, C., Burton, C., Alger, M., Chua, S., Phillips, C., Newey, V., Kouzoubov, K., Leith, A., Ayers, D., Hicks, A., DEA Notebooks contributors 2021. Digital Earth Australia notebooks and tools repository. Geoscience Australia, Canberra. https://doi.org/10.26186/145234

Building and Releasing

This section is only relevant to you if you are a developer of this package.

Building and releasing dea-tools requires that the package is built in-place. Either build with an editable pip installation or with pip>=21.2 and --use-feature=in-tree-build. Building will generate a file, dea_tools/__version__.py, that is dynamic on release. It should not be committed. setup.py will detect if __version__.py exists and change its behaviour accordingly.

Build instructions:

cd Tools
rm dea_tools/__version__.py  # if necessary
pip install . --use-feature=in-tree-build
python -m build

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dea-tools-0.2.8.dev13.tar.gz (135.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dea_tools-0.2.8.dev13-py3-none-any.whl (144.2 kB view details)

Uploaded Python 3

File details

Details for the file dea-tools-0.2.8.dev13.tar.gz.

File metadata

  • Download URL: dea-tools-0.2.8.dev13.tar.gz
  • Upload date:
  • Size: 135.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for dea-tools-0.2.8.dev13.tar.gz
Algorithm Hash digest
SHA256 39aa374d279b51bc4588798cfc1844adc0490e270a59016eb76b4df0bde2a596
MD5 96c1b299a8508b1704cc9d6866907927
BLAKE2b-256 407e66e3ec135ef935e8bc2a04c89fadc1faeb6b3b60f2cfea67c2a833a5e54c

See more details on using hashes here.

File details

Details for the file dea_tools-0.2.8.dev13-py3-none-any.whl.

File metadata

File hashes

Hashes for dea_tools-0.2.8.dev13-py3-none-any.whl
Algorithm Hash digest
SHA256 abc6bd56da432294fe93d3882fceaa2b4c299f20716e5e8d0745a0076956b751
MD5 d081ae91273f34cb0cf0ed1436125bb2
BLAKE2b-256 73e946848a4ebf53e599603dde207dc9b1907bf9a0c9889d8e76cee449a2134b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page