Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Implement SatelliteDataSource.get_locations #611

Open
JackKelly opened this issue Feb 18, 2022 · 0 comments
Open

Implement SatelliteDataSource.get_locations #611

JackKelly opened this issue Feb 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@JackKelly
Copy link
Member

Detailed Description

When we create batches which are just satellite imagery (from the entire extent of the imagery) then SatelliteDataSource.get_locations will need to be implemented.

Possible Implementation

Should be quite simple: Find the set of pixels where, if a region of interest is centered on one of those pixels, non of the pixels will be NaN (i.e. won't be in space!). Then randomly sample from that set of "valid centers".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant