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

Proposal: function to create a raster from a bounding box #276

Closed
phargogh opened this issue Sep 15, 2022 · 0 comments · Fixed by #296
Closed

Proposal: function to create a raster from a bounding box #276

phargogh opened this issue Sep 15, 2022 · 0 comments · Fixed by #296
Assignees
Labels
enhancement New feature or request in progress Working on it!
Milestone

Comments

@phargogh
Copy link
Member

In the HRA rewrite, it was helpful to be able to create a raster directly from a bounding box (function implementation and where it's used) rather than by creating a vector of the bbox for the more circuitous pygeoprocessing.create_raster_from_vector_extents.

I propose creating a new function that derives from the HRA implementation with the following modifications:

  • The raster driver and creation options are exposed as a function parameter, defaulting to the standard GTiff driver and creation options
  • target_nodata will be a required parameter, to match create_raster_from_vector_extents.
  • The function signature will be updated to be more consistent with pygeoprocessing's existing apis.
@phargogh phargogh added the enhancement New feature or request label Sep 15, 2022
@phargogh phargogh self-assigned this Sep 15, 2022
@phargogh phargogh modified the milestones: 2.3.5, 2.4.0 Dec 2, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 20, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 20, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 20, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 20, 2022
@phargogh phargogh added the in progress Working on it! label Dec 20, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 21, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 21, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 21, 2022
phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Dec 21, 2022
@emlys emlys closed this as completed in #296 Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Working on it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant