podaac / swodlr-ui

User Interface for On-Demand Raster Generation System
2 stars 1 forks source link

Feature/swodlr UI 102 - refactor spatial search validation #111

Closed jbyrne6 closed 1 month ago

jbyrne6 commented 1 month ago

Changes

jbyrne6 commented 1 month ago

image Looks like spacial searches on SIT are unstable and there's still multiple requests occurring for 1 spacial lookup. I'm not sure what the optimization in the PR is if multiple requests are still being launched on a single spacial lookup

I will check this out and see where the extra requests are coming from. The requests should have been reduced to only one to get the footprint polygons for the map.

jbyrne6 commented 1 month ago

image I'm still seeing multiple requests per 1 spacial search. Is this the furthest we can optimize this down to at this point?

Were these calls from the granules saved in the url parameters being added on refresh or from the spatial search? If they are from the url parameters that is intended but if it is from spatial search that is a bug. Since there will not be too many saved in url parameters I decided not to optimize that yet and only optimize spatial search for the sake of time.