Skip to content

Update sandbox notebooks for sandbox image upgrade to version 0.0.9#569

Merged
vikineema merged 17 commits intomainfrom
sandbox-upgrade
Jan 30, 2025
Merged

Update sandbox notebooks for sandbox image upgrade to version 0.0.9#569
vikineema merged 17 commits intomainfrom
sandbox-upgrade

Conversation

@vikineema
Copy link
Collaborator

@vikineema vikineema commented Jan 17, 2025

Proposed changes

  • Replace datacube.utils.geometry.Geometry with odc.geo.geom.Geometry, datacube.utils.write_cog with odc.geo.xr.write_cog or odc.geo.cog.write_cog and datacube.utils.geometry.CRS with odc.geo.crs.CRS as datacube utils.geometry and datacube.utils.cog will be deprecated in datacube 1.8.9
  • Replace datacube.utils.geometry.CRS with odc.geo.crs.CRS
  • Update frequency strings used in resampling see xarray v2023.11.0 deprecations
  • Replace osmnx.geometries with osmnx.features module see osmnx version 1.5.0 changelog

Checklist (replace [ ] with [x] to check off)

  • Remove any unused Python packages from Load packages
  • Remove any unused/empty code cells
  • Remove any guidance cells (e.g. General advice)
  • Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended)
  • Include relevant tags in the first notebook cell and re-use tags if possible
  • Ensure appropriate colour schemes have been used to maximise accessibility for vision impairment. Test your images or learn more with Coblis or TPGI
  • Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated

Closes issues (optional)

  • Closes Issue #000

@vikineema vikineema marked this pull request as ready for review January 29, 2025 11:01
Copy link
Contributor

@mickwelli mickwelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vikineema I've been through the diffs briefly and noted some of the package changes. Approved.

@vikineema vikineema merged commit 9a8bb47 into main Jan 30, 2025
1 check passed
@vikineema vikineema deleted the sandbox-upgrade branch March 13, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants