Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

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

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.

1 participant