8000 Build a CollectionExtractor class to download all items in a (optionally filtered) collection · Issue #40 · water3d/eedl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Build a CollectionExtractor class to download all items in a (optionally filtered) collection #40

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

Open
3 tasks
nickrsan opened this issue Oct 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nickrsan
Copy link
Contributor

We have GroupedCollectionExtractor which iterates through a set of AOIs and downloads all the items in a collection for that AOI. It'd be nice to build out a simpler version that just extracts the collection, and takes care to avoid regridding when possible, by not clipping the bounds either to the bounding box or the strict boundaries of a geometry. If we just export the image as is (possibly extracting its footprint to use as our boundary, if necessary), then we should be able to align the grid closely to the source, or skip a regridding.

This should then run an EEDLImage extract for each item in the collection. I'd personally love the following features, but some of them might need to wait:

  • Optionally, remerge the downloaded images from the collection after the fact - that is, run a second mosaicking operation on the final images. OpenET's imagery has multiple images for the same date that are spatially segmented, and others will too. We could use mosaic_by_date (which should remain an optional flag) to force Earth Engine to merge them, but that seems like it could introduce other problems, or at the very least, additional cloud compute. By default, it should dump each image as a separate item.
  • Allow for specifying additional GDAL flags - this may be a broader feature. I'd like to process them into COGs at the same time as I mosaic them to skip a later step.
  • Allow for similar sets of features to the GroupedCollectionExtractor in terms of running mosaicking and zonal stats - I anticipate that this may become a parent class of GroupedCollectionExtractor, but they might have different entry points. They'll share a few core pieces of code, as well as most of the attribute definitions. Some thought and care here will help.
@nickrsan nickrsan added the enhancement New feature or request label Oct 26, 2023
@nickrsan nickrsan self-assigned this Oct 26, 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
Projects
None yet
Development

No branches or pull requests

1 participant
0