Config should now include SHOW_DATASET_LOCATION, which is a dict that maps an s3 bucket to its browseable url. For now, that is just dea-public-data mapping to data.dea.ga.gov.au. The first 'location' link for the dataset links to the browseable folder, and all offsets to their respective links from that page.
Added test to test_resolved_uris to verify functionality, including that other links or s3 buckets are unaffected by this change.
Also took the chance to clean up thumbnail work a little: made filter code more pythonic, and updated css to make image width unset so that image ratio is conserved, allowing for proper overlay even if the dataset is irregularly-shaped.
Ex:
vs
As per issue #480
Config should now include
SHOW_DATASET_LOCATION
, which is a dict that maps an s3 bucket to its browseable url. For now, that is justdea-public-data
mapping todata.dea.ga.gov.au
. The first 'location' link for the dataset links to the browseable folder, and all offsets to their respective links from that page.Added test to
test_resolved_uris
to verify functionality, including that other links or s3 buckets are unaffected by this change.Also took the chance to clean up thumbnail work a little: made filter code more pythonic, and updated css to make image width unset so that image ratio is conserved, allowing for proper overlay even if the dataset is irregularly-shaped. Ex:
vs
![image](https://user-images.githubusercontent.com/40238244/202956692-50014e1a-f050-41b6-8090-2862111ba1b0.png)
:books: Documentation preview :books:: https://datacube-explorer--488.org.readthedocs.build/en/488/