nasa-gibs / worldview

Interactive interface for browsing global, full-resolution satellite imagery
https://worldview.earthdata.nasa.gov/
Other
702 stars 187 forks source link

WV-3220 Smaller Extent BBox For Finding High-Resolution Imagery #5347

Closed christof-wittreich closed 3 months ago

christof-wittreich commented 3 months ago

Description

This change modifies the bounding box used when searching for high-resolution imagery to be smaller than currently. This is to prevent situations where imagery is found, but only exists in the very corner of the extent. The new bounding box is 60% of the window width and 80% of the window height, centered on the middle of the window.

How To Test

  1. git checkout wv-3220-smaller-extent-bbox
  2. npm ci
  3. npm run watch
  4. Open a fresh instance of Worldview
  5. Add a layer that uses the imagery-search feature, like HLS_S30_Nadir_BRDF_Adjusted_Reflectance
  6. Zoom in and position the screen so that imagery is sometimes in the center of the screen, but sometimes on the edges
  7. Open the imagery-search feature and click to various other dates, ensuring that no dates shown in the search have imagery only on the edges of the screen and none towards the center