Skip to content

Source pixels#109

Open
DanielJDufour wants to merge 2 commits into
sethfitz:masterfrom
DanielJDufour:SourcePixels
Open

Source pixels#109
DanielJDufour wants to merge 2 commits into
sethfitz:masterfrom
DanielJDufour:SourcePixels

Conversation

@DanielJDufour
Copy link
Copy Markdown
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