Skip to content

Conversation

@peanutfun
Copy link
Member

@peanutfun peanutfun commented May 12, 2023

Changes proposed in this PR:

  • Deprecate Centroids.from_geodataframe and Centroids.from_pix_bounds
  • Delete Centroids.set_raster_from_pix_bounds

Prepares for #698

PR Author Checklist

PR Reviewer Checklist

@peanutfun peanutfun marked this pull request as ready for review May 12, 2023 12:14
@chahank
Copy link
Member

chahank commented May 12, 2023

Good idea for simplifying the code. I would maybe just note somewhere that only regular grids will be supported (from_pix_bounds did also support grids with different x/y resolutions).

@peanutfun
Copy link
Member Author

@chahank Done!

@chahank chahank merged commit 76d6d36 into develop May 15, 2023
@emanuel-schmid emanuel-schmid deleted the deprecate-centroids-classmethods branch May 25, 2023 08:41
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.

3 participants