MAAP-Project / stac_ipyleaflet

Apache License 2.0
29 stars 2 forks source link

Agnostic loading of BROWSER and CATALOG urls #117

Closed wildintellect closed 1 year ago

wildintellect commented 1 year ago

116

Always just sub BROWSER url for STAC url. Can better describe in docs what values are expected. See also https://github.com/MAAP-Project/stac_ipyleaflet/issues/116

Summary:

Old code handled MAAP and VEDA STAC_BROWSER_URL differently, this assumed that the ENV variables were quite different. By standardizing how the ENV is supplied agnostic code can be used, and a fallback in the event of missing variable can also be handled.

Fixes or Addresses Issue #: [ticket number & link]

116

Checklist before requesting a review: