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

Source pixels #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

DanielJDufour
Copy link
Contributor

Hello, again. This pull request adds the pixels attribute to the NamedTuple Source. This allows people to fetch the data for their source outside of marblecutter and hold it in memory. Although this isn't often the case, there are a couple use cases I came across:

  • Programmatically creating a source when different bands are split among multiple files
  • Creating a source from a file with a format or protocol that isn't supported by rasterio

I'll also be submitting a pull request to marblecutter-virtual, which uses pixels and supports creating tiles from a SpatioTemporal Asset Catalog, including with band arithmetic.

Happy to receive feedback and re-submit if you have any changes that you would like to see.

Thank you for your consideration.

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