Skip to content
New issue

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

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

Already on GitHub? # to your account

chore(deps): Bump rio-tiler from 7.2.2 to 7.4.0 in /flooding/sentinel2_water_extraction #409

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2025

Bumps rio-tiler from 7.2.2 to 7.4.0.

Release notes

Sourced from rio-tiler's releases.

7.4.0

What's Changed

Full Changelog: cogeotiff/rio-tiler@7.3.0...7.4.0

7.3.0

What's Changed

New Contributors

Full Changelog: cogeotiff/rio-tiler@7.2.2...7.3.0

Changelog

Sourced from rio-tiler's changelog.

7.4.0 (2025-01-28)

  • update rasterio dependency to >=1.4.0

  • add reproject method for ImageData objects (author @​emmanuelmathot, cogeotiff/rio-tiler#782)

    from rio_tiler.models import ImageData
    img = ImageData(numpy.zeros((3, 256, 256), crs=CRS.from_epsg(4326), dtype="uint8"))
    img_3857 = img.reproject("epsg:3857")

  • add indexes parameter for XarrayReader methods. As for Rasterio, the indexes values start at 1.

    data = ... # DataArray of shape (2, x, y)
    before
    with XarrayReader(data) as dst:
    img = dst.tile(0, 0, 0)
    assert img.count == 2
    now
    with XarrayReader(data) as dst:
    # Select the first band within the data array
    img = dst.tile(0, 0, 0, indexes=1)
    assert img.count == 1

  • better define band names for XarrayReader objects

    • band_name for 2D dataset is extracted form the first non-geo coordinates value

      data = xarray.DataArray(
          numpy.arange(0.0, 33 * 35 * 2).reshape(2, 33, 35),
          dims=("time", "y", "x"),
          coords={
              "x": numpy.arange(-170, 180, 10),
              "y": numpy.arange(-80, 85, 5),
              "time": [datetime(2022, 1, 1), datetime(2022, 1, 2)],
          },
      )
      da = data[0]
      print(da.coords["time"].data)
      >> array('2022-01-01T00:00:00.000000000', dtype='datetime64[ns]'))
      before

... (truncated)

Commits
  • 7db311c Bump version: 7.3.0 → 7.4.0
  • 3fc6e48 remove useless <3.9 dependencies
  • ec83f59 update changelog
  • 8a47991 Reproject method for ImageData (#782)
  • 3fbeaf3 add tests for stac projection extension 2.0 (#783)
  • 4c1b2a6 make sure transform is an Affine object [backport 7.3.1]
  • b570b26 Xarray: add indexes options and better define band names (#764)
  • acab661 Bump version: 7.2.2 → 7.3.0
  • 6fbfb91 update changelog
  • 0b4aa5a update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rio-tiler](https://github.com/cogeotiff/rio-tiler) from 7.2.2 to 7.4.0.
- [Release notes](https://github.com/cogeotiff/rio-tiler/releases)
- [Changelog](https://github.com/cogeotiff/rio-tiler/blob/main/CHANGES.md)
- [Commits](cogeotiff/rio-tiler@7.2.2...7.4.0)

---
updated-dependencies:
- dependency-name: rio-tiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 29, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Development

Successfully merging this pull request may close these issues.

0 participants