0.4.0
What's Changed
This PR makes major changes to DEA Tools Python packaging, aimed at making the package easier to install by making difficult dependencies like datacube optional extras. All Python code has been formatted for consistency using ruff, and Python packaging and publication has been updated to a more modern approach using pyproject.toml and uv.
You can now install DEA Tools more easily into any environment from PyPI. By only minimal dependencies will be installed:
pip install dea-tools
To install with optional dependencies:
# Install with datacube dependencies
pip install dea-tools[datacube]
# Install with dependencies required to launch Jupyter Notebooks
pip install dea-tools[jupyter]
# Install with optional dependencies required for DEA Notebooks code examples
pip install dea-tools[jupyter,dask_gateway,hdstats,notebooks]
# Install with all optional dependencies (including difficult to install packages)
pip install dea-tools[all]
Other new features include:
- A new Wetlands Insight Tool interactive notebook for extracting times series plots of wetland dynamics over time
- A new Accessing Gridded Climate Data notebook for accessing Australian-specific climate data and global climate reanalysis data (ERA5)
- A new Generating Continental Scale Animations notebook for generating animations of the entire Australian continent
- Tide modelling notebooks and code updated to use more powerful functions from
eo-tides - Improvements and clean ups of classification tools and machine learning/ML notebooks
Breaking changes:
- Tide modelling functionality in
dea_tools.coastalis now deprecated and roomed in favour ofeo-tides dea_tools.spatial.interpolate_2dandcontours_to_arraysfunctions now deprecated and removed
Pull requests
- markdown edits to landcover and Landsat notebooks by @cbur24 in #1342
- New climate data notebook by @cbur24 in #1335
- typos by @GL-S in #1343
- descriptions-improvements by @GL-S in #1344
- Update USAGE.rst by @cbur24 in #1346
- Reuse workflow on provisioning db connection by @emmaai in #1347
- Fix issue with loading climate data over THREDDS by @cbur24 in #1350
- Add WIT app to README.rst by @LaurenSchenk1 in #1352
- Update classification tools and ML notebooks by @cbur24 in #1351
- Use
uvfor managing Python package, simplify dependencies by @robbibt in #1349 - Simplify package publication using
uvby @robbibt in #1353 - DEA Tools cleanup to improve user experience when datacube is not installed by @robbibt in #1354
- Apply Ruff code formatting and linting to entire DEA Tools by @robbibt in #1356
- Refactor to use
eo-tidestide modelling tools by @robbibt in #1357 - Merge WIT_app.py into wetlands.py in DEA Tools by @LaurenSchenk1 in #1359
- Update
create_local_dask_clusterto work withoutdatacubedependency by @cbur24 in #1360 - Final tidy up before DEA Tools 0.4.0 release by @robbibt in #1358
Full Changelog: 0.3.6...0.4.0